Since Qt 5.4.0 the source code location is recorded only in debug builds.

We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-31 13:25:22 +02:00
parent ac09c9c123
commit 8bbfacabb4
5 changed files with 20 additions and 0 deletions

View File

@ -25,6 +25,10 @@ CONFIG -= debug_and_release debug_and_release_target
# We use C++11 standard
CONFIG += c++11
# Since Qt 5.4.0 the source code location is recorded only in debug builds.
# We need this information also in release builds. For this need define QT_MESSAGELOGCONTEXT.
DEFINES += QT_MESSAGELOGCONTEXT
# Directory for executable file
DESTDIR = bin

View File

@ -26,6 +26,10 @@ CONFIG += \
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target
# Since Qt 5.4.0 the source code location is recorded only in debug builds.
# We need this information also in release builds. For this need define QT_MESSAGELOGCONTEXT.
DEFINES += QT_MESSAGELOGCONTEXT
include(ifc.pri)
# This is static library so no need in "make install"

View File

@ -22,6 +22,10 @@ CONFIG -= debug_and_release debug_and_release_target
# We use C++11 standard
CONFIG += c++11
# Since Qt 5.4.0 the source code location is recorded only in debug builds.
# We need this information also in release builds. For this need define QT_MESSAGELOGCONTEXT.
DEFINES += QT_MESSAGELOGCONTEXT
DEFINES += QMUPARSER_LIBRARY
# directory for executable file

View File

@ -20,6 +20,10 @@ CONFIG += \
# Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target
# Since Qt 5.4.0 the source code location is recorded only in debug builds.
# We need this information also in release builds. For this need define QT_MESSAGELOGCONTEXT.
DEFINES += QT_MESSAGELOGCONTEXT
include(vobj.pri)
# This is static library so no need in "make install"

View File

@ -22,6 +22,10 @@ TEMPLATE = lib
# We use C++11 standard
CONFIG += c++11
# Since Qt 5.4.0 the source code location is recorded only in debug builds.
# We need this information also in release builds. For this need define QT_MESSAGELOGCONTEXT.
DEFINES += QT_MESSAGELOGCONTEXT
DEFINES += VPROPERTYEXPLORER_LIBRARY
# directory for executable file