aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmidiplayer-desktop.pro
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-08 23:49:24 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-08 23:49:24 +0800
commit2b46ba471830d4e6e22be5afc720adc2489efcfe (patch)
tree8445440ba0204a67d1cb49185297a49e326dc9ab /qmidiplayer-desktop/qmidiplayer-desktop.pro
parent8f8782f43bd838e825f3792b611d27fffa90399b (diff)
downloadQMidiPlayer-2b46ba471830d4e6e22be5afc720adc2489efcfe.tar.xz
the Awakening of the Evil.
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer-desktop.pro')
-rw-r--r--qmidiplayer-desktop/qmidiplayer-desktop.pro12
1 files changed, 9 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer-desktop.pro b/qmidiplayer-desktop/qmidiplayer-desktop.pro
index 0ac1b97..6ac0670 100644
--- a/qmidiplayer-desktop/qmidiplayer-desktop.pro
+++ b/qmidiplayer-desktop/qmidiplayer-desktop.pro
@@ -11,6 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qmidiplayer
TEMPLATE = app
+CONFIG += c++11
SOURCES += main.cpp\
qmpmainwindow.cpp \
@@ -57,9 +58,14 @@ unix{
BINDIR = $$PREFIX/bin
target.path = $$BINDIR
INSTALLS += target
- QMAKE_CXXFLAGS += -std=c++11 -Wall
+ QMAKE_CXXFLAGS += -Wall
LIBS += -lfluidsynth -lrtmidi
}
-win32:LIBS += e:/libs/fluidsynth/fluidsynth.lib winmm.lib #You have to change these
-win32:INCLUDEPATH += e:/libs/fluidsynth/include #before building...
+win32{
+ #change these before building...
+ LIBS += e:/libs/fluidsynth/fluidsynth.lib winmm.lib
+ LIBS += e:/libs/rtmidi/rtmidi.lib
+ INCLUDEPATH += e:/libs/fluidsynth/include
+ INCLUDEPATH += e:/libs/rtmidi
+}
RESOURCES = resources.qrc