diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-15 20:36:58 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-15 20:36:58 +0800 |
commit | e3a5241953051e97978ac42fa278572ae735abb3 (patch) | |
tree | ddfb72e4dfec592cd1ecc803818e1f50bc5da049 /qmidiplayer.pro | |
parent | 1e1036e705b20ea407bbb922e40c0f44147b3691 (diff) | |
download | QMidiPlayer-e3a5241953051e97978ac42fa278572ae735abb3.tar.xz |
Doll's Phantom. (WTF)0.6.2
Diffstat (limited to 'qmidiplayer.pro')
-rw-r--r-- | qmidiplayer.pro | 28 |
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 |