From 003c637ef40e1826b7c829afbfba82ea028e21a5 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 24 Jan 2019 23:09:16 +0800 Subject: Migrated to fluidsynth 2.x. Moved to mxe for Windows build. Fixed default value for CC#8. --- visualization/visualization.pro | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'visualization') 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 } -- cgit v1.2.3