aboutsummaryrefslogtreecommitdiff
path: root/visualization/visualization.pro
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 23:43:01 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 23:43:01 +0800
commit909cfe195ae2f6058a03875123f1e80f2a3fa0fa (patch)
tree9a6fcc0fa6390b8f503881999e4f08a8cd650c49 /visualization/visualization.pro
parent8da0f5c82fb91c2731cd2e90a875fe92c6557407 (diff)
downloadQMidiPlayer-909cfe195ae2f6058a03875123f1e80f2a3fa0fa.tar.xz
Use new SMELT rendering API for notes drawing.
Deinitialize classes in a correct order to avoid crashes. Add background image option. Add FPS-related options. Use QLineEdit instead of QPlainTextEdit for strings.
Diffstat (limited to 'visualization/visualization.pro')
-rw-r--r--visualization/visualization.pro12
1 files changed, 8 insertions, 4 deletions
diff --git a/visualization/visualization.pro b/visualization/visualization.pro
index e4588c4..af454b4 100644
--- a/visualization/visualization.pro
+++ b/visualization/visualization.pro
@@ -14,18 +14,22 @@ TEMPLATE = lib
DEFINES += VISUALIZATION_LIBRARY
SOURCES += qmpvisualization.cpp \
- extrasmeltutils.cpp \
- qmpvirtualpiano3d.cpp
+ extrasmeltutils.cpp \
+ qmpvirtualpiano3d.cpp
HEADERS += qmpvisualization.hpp \
- extrasmeltutils.hpp \
- qmpvirtualpiano3d.hpp
+ extrasmeltutils.hpp \
+ qmpvirtualpiano3d.hpp
unix {
target.path = /usr/lib/qmidiplayer
DATADIR = $$PREFIX/share
INSTALLS += target res
QMAKE_CXXFLAGS += -pthread -fPIC
+ QMAKE_CXXFLAGS_RELEASE -= -O2
+ QMAKE_CXXFLAGS_RELEASE += -O3
+ QMAKE_LFLAGS_RELEASE -= -O1
+ QMAKE_LFLAGS_RELEASE += -O3
res.path = $$DATADIR/qmidiplayer/img
res.files += ../img/chequerboard.png
}