diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2016-01-06 20:45:23 +0100 |
---|---|---|
committer | Philipp Erhardt <Philipp.Erhardt@informatik.stud.uni-erlangen.de> | 2016-01-07 18:58:59 +0100 |
commit | e37396a3012775ee9216162a25203a9dbdf2888f (patch) | |
tree | e30074459ddb51354d3326c339f5112fdbafc4fe | |
parent | 583aa30ad5ba54a881650492977adaef8b6278ef (diff) |
qmake: disable pre-Qt5 methods, enable deprecation warnings
When build with Qt5, katarakt does not use pre-Qt5 compatibility
methods anymore, so do not enable them; OTOH, enable warnings for
deprecated methods.
-rw-r--r-- | katarakt.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/katarakt.pro b/katarakt.pro index 20acd71..da4cded 100644 --- a/katarakt.pro +++ b/katarakt.pro @@ -7,7 +7,7 @@ QT += network xml dbus greaterThan(QT_MAJOR_VERSION, 4) { QT += widgets - DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 + DEFINES += QT_DEPRECATED_WARNINGS } POPPLER = poppler-qt$$QT_MAJOR_VERSION DEFINES += POPPLER_QT=$$QT_MAJOR_VERSION |