aboutsummaryrefslogtreecommitdiff
path: root/visualization/visualization.pro
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-12-27 23:15:15 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-12-27 23:15:15 +0800
commitb79c4b7e3cab3711e87ba9e28fa8423a84ea7efa (patch)
treee9a98458ab26d7fb776e39a7d600f2a1b032065e /visualization/visualization.pro
parent717067493346bd51dc6f13a6f1ea307ca35bcc2c (diff)
downloadQMidiPlayer-b79c4b7e3cab3711e87ba9e28fa8423a84ea7efa.tar.xz
First official version with experimental support for the visualization plugin on Windows.0.8.3-2
Fixed several critical bugs causing the plugin to crash QMP.
Diffstat (limited to 'visualization/visualization.pro')
-rw-r--r--visualization/visualization.pro23
1 files changed, 18 insertions, 5 deletions
diff --git a/visualization/visualization.pro b/visualization/visualization.pro
index 65f1a48..fedd636 100644
--- a/visualization/visualization.pro
+++ b/visualization/visualization.pro
@@ -32,9 +32,22 @@ unix {
QMAKE_LFLAGS_RELEASE += -O3
res.path = $$DATADIR/qmidiplayer/img
res.files += ../img/chequerboard.png ../img/particle.png ../img/kb_128.png
+ #well...
+ 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
+}
+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
+ }
}
-#well...
-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