aboutsummaryrefslogtreecommitdiff
path: root/visualization
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-01-24 23:09:16 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-01-24 23:09:16 +0800
commit003c637ef40e1826b7c829afbfba82ea028e21a5 (patch)
treec897f130bd1641f7922c6a476953e7645d60d581 /visualization
parent11bda15b5ecb608686718a8180ff33ff37c673f3 (diff)
downloadQMidiPlayer-003c637ef40e1826b7c829afbfba82ea028e21a5.tar.xz
Migrated to fluidsynth 2.x.
Moved to mxe for Windows build. Fixed default value for CC#8.
Diffstat (limited to 'visualization')
-rw-r--r--visualization/visualization.pro23
1 files changed, 8 insertions, 15 deletions
diff --git a/visualization/visualization.pro b/visualization/visualization.pro
index 5bf08ea..646e301 100644
--- a/visualization/visualization.pro
+++ b/visualization/visualization.pro
@@ -32,30 +32,23 @@ unix {
QMAKE_LFLAGS_RELEASE += -O3
res.path = $$DATADIR/qmidiplayer/img
res.files += ../img/chequerboard.png ../img/particle.png ../img/kb_128.png
- #well...
- SMELTDIR = $$(SMELT_DIR)
isEmpty(SMELTDIR){
INCLUDEPATH += /home/chrisoft/devel/SMELT/include/ /usr/include/freetype2
LIBS += -L/home/chrisoft/devel/SMELT/smelt/glfw/
LIBS += -L/home/chrisoft/devel/SMELT/extensions/
LIBS += -lstdc++ -lfreetype -lz -lsmeltext -lsmelt-dumb -lCxImage -ljpeg -lpng -lglfw -lGLEW -lGL
}else{
- INCLUDEPATH += $$SMELTDIR/include/ /usr/include/freetype2
- LIBS += -L$$SMELTDIR/smelt/glfw/
- LIBS += -L$$SMELTDIR/extensions/
+ INCLUDEPATH += $$(SMELT_DIR)/include/ /usr/include/freetype2
+ LIBS += -L$$(SMELT_DIR)/smelt/glfw/
+ LIBS += -L$$(SMELT_DIR)/extensions/
LIBS += -lstdc++ -lfreetype -lz -lsmeltext -lsmelt-dumb -lCxImage -ljpeg -lpng -lglfw -lGLEW -lGL
}
}
win32 {
#Change these before producing your own build!
- INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\SMELT\include"
- INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\freetype-2.7\include"
- INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\zlib-1.2.8"
- CONFIG(release, debug|release){
- LIBS += -L"C:\Users\Chris Xiong\Documents\devel\SMELT\msvc\libdeps"
- LIBS += -lfreetype27MT -lzlib -lsmeltext -lsmelt -ljpeg-static -llibpng16 -lglfw3 -lglew32s -lopengl32 -luser32 -lgdi32 -lshell32
- }else{
- LIBS += -L"C:\Users\Chris Xiong\Documents\devel\SMELT\msvc\libdepsd"
- LIBS += -lfreetype27MTd -lzlib -lsmeltextd -lsmeltd -ljpeg-static -llibpng16 -lglfw3 -lglew32sd -lopengl32 -luser32 -lgdi32 -lshell32
- }
+ INCLUDEPATH += $$(SMELT_DIR)/include/
+ INCLUDEPATH += /home/chrisoft/devel/mingwlibs/mxe/usr/x86_64-w64-mingw32.shared/include/freetype2/
+ LIBS += -L$$(SMELT_DIR)/smelt/glfw/
+ LIBS += -L$$(SMELT_DIR)/extensions/
+ LIBS += -lz -lsmeltext -lfreetype -lsmelt -lCxImage -ljpeg -lpng16 -lglfw3 -lglew32s -lopengl32 -luser32 -lgdi32 -lshell32
}