aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-lite
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-14 22:47:35 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-14 22:47:35 +0800
commit2c975039ea25cc2c6ebdd3372b454db4766b813d (patch)
tree9d5c0c99e0764bae6a9fcbe180bbeb054233bb12 /qmidiplayer-lite
parenta3a51ea01c0c571d0859f1cb5147dcd003bc8c71 (diff)
downloadQMidiPlayer-2c975039ea25cc2c6ebdd3372b454db4766b813d.tar.xz
This _should_ fix building under arch linux.
(Linking order problems and include problems).
Diffstat (limited to 'qmidiplayer-lite')
-rw-r--r--qmidiplayer-lite/qmidiplayer-lite.pro9
1 files changed, 8 insertions, 1 deletions
diff --git a/qmidiplayer-lite/qmidiplayer-lite.pro b/qmidiplayer-lite/qmidiplayer-lite.pro
index 7ee4771..1534d53 100644
--- a/qmidiplayer-lite/qmidiplayer-lite.pro
+++ b/qmidiplayer-lite/qmidiplayer-lite.pro
@@ -22,12 +22,19 @@ HEADERS += \
../core/qmpmidiplay.hpp \
qmpcorewrapper.hpp \
../core/qmpmidimappers.hpp \
- ../include/qmpcorepublic.hpp
+ ../include/qmpcorepublic.hpp
unix{
LIBS += -lfluidsynth -lrtmidi
+exists("/usr/include/RtMidi.h") {
+ DEFINES += RT_MIDI_H=\\\"/usr/include/RtMidi.h\\\"
+}
+exists("/usr/include/rtmidi/RtMidi.h") {
+ DEFINES += RT_MIDI_H=\\\"/usr/include/rtmidi/RtMidi.h\\\"
+}
}
win32{
+ DEFINES += RT_MIDI_H=\\\"RtMidi.h\\\"
#change these before building...
LIBS += e:/libs/fluidsynth/fluidsynth.lib winmm.lib
Release:LIBS += e:/libs/rtmidi/rtmidi.lib