diff options
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer-desktop.pro')
-rw-r--r-- | qmidiplayer-desktop/qmidiplayer-desktop.pro | 12 |
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 |