aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer.pro
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-15 20:36:58 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-15 20:36:58 +0800
commite3a5241953051e97978ac42fa278572ae735abb3 (patch)
treeddfb72e4dfec592cd1ecc803818e1f50bc5da049 /qmidiplayer.pro
parent1e1036e705b20ea407bbb922e40c0f44147b3691 (diff)
downloadQMidiPlayer-e3a5241953051e97978ac42fa278572ae735abb3.tar.xz
Doll's Phantom. (WTF)0.6.2
Diffstat (limited to 'qmidiplayer.pro')
-rw-r--r--qmidiplayer.pro28
1 files changed, 19 insertions, 9 deletions
diff --git a/qmidiplayer.pro b/qmidiplayer.pro
index 177fb1f..8ac9dff 100644
--- a/qmidiplayer.pro
+++ b/qmidiplayer.pro
@@ -22,8 +22,8 @@ SOURCES += main.cpp\
qmpchanneleditor.cpp \
qmpefxwindow.cpp \
qmpinfowindow.cpp \
- qmpsettingswindow.cpp \
- qmphelpwindow.cpp
+ qmpsettingswindow.cpp \
+ qmphelpwindow.cpp
HEADERS += qmpmainwindow.hpp \
qmpmidiplay.hpp \
@@ -33,8 +33,8 @@ HEADERS += qmpmainwindow.hpp \
qmpchanneleditor.hpp \
qmpefxwindow.hpp \
qmpinfowindow.hpp \
- qmpsettingswindow.hpp \
- qmphelpwindow.hpp
+ qmpsettingswindow.hpp \
+ qmphelpwindow.hpp
FORMS += qmpmainwindow.ui \
qmpplistwindow.ui \
@@ -43,9 +43,19 @@ FORMS += qmpmainwindow.ui \
qmpchanneleditor.ui \
qmpefxwindow.ui \
qmpinfowindow.ui \
- qmpsettingswindow.ui \
- qmphelpwindow.ui
-
-QMAKE_CXXFLAGS += -std=c++11 -Wall
-LIBS += -lfluidsynth
+ qmpsettingswindow.ui \
+ qmphelpwindow.ui
+
+unix{
+ isEmpty(PREFIX) {
+ PREFIX = /usr/local
+ }
+ BINDIR = $$PREFIX/bin
+ target.path = $$BINDIR
+ INSTALLS += target
+ QMAKE_CXXFLAGS += -std=c++11 -Wall
+ LIBS += -lfluidsynth
+}
+win32:LIBS += e:/libs/fluidsynth/fluidsynth.lib #You have to change these
+win32:INCLUDEPATH += e:/libs/fluidsynth/include #before building...
RESOURCES = resources.qrc