From e3a5241953051e97978ac42fa278572ae735abb3 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 15 Jan 2016 20:36:58 +0800 Subject: Doll's Phantom. (WTF) --- qmidiplayer.pro | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'qmidiplayer.pro') 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 -- cgit v1.2.3