#------------------------------------------------- # # Project created by QtCreator 2015-12-25T20:24:49 # #------------------------------------------------- QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = qmidiplayer TEMPLATE = app SOURCES += main.cpp\ qmpmainwindow.cpp \ qmpmidiplay.cpp \ qmpmidiread.cpp \ qmpplistwindow.cpp \ qmpchannelswindow.cpp \ qmppresetselect.cpp \ qmpchanneleditor.cpp \ qmpefxwindow.cpp \ qmpinfowindow.cpp \ qmpsettingswindow.cpp \ qmphelpwindow.cpp HEADERS += qmpmainwindow.hpp \ qmpmidiplay.hpp \ qmpplistwindow.hpp \ qmpchannelswindow.hpp \ qmppresetselect.hpp \ qmpchanneleditor.hpp \ qmpefxwindow.hpp \ qmpinfowindow.hpp \ qmpsettingswindow.hpp \ qmphelpwindow.hpp FORMS += qmpmainwindow.ui \ qmpplistwindow.ui \ qmpchannelswindow.ui \ qmppresetselect.ui \ qmpchanneleditor.ui \ qmpefxwindow.ui \ qmpinfowindow.ui \ 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