forked from qt-creator/qt-creator
The compile-time solution introduced by 3a084ae8a2
was felt by some to be too intrusive, so I've integrated the check for
changes to QObjectPrivate into the auto test.
19 lines
335 B
Prolog
19 lines
335 B
Prolog
TEMPLATE = lib
|
|
CONFIG += shared
|
|
linux-* {
|
|
CONFIG -= release
|
|
CONFIG += debug
|
|
}
|
|
SOURCES = gdbmacros.cpp
|
|
false {
|
|
DEFINES += USE_QT_GUI=0
|
|
QT = core
|
|
}
|
|
else {
|
|
DEFINES += USE_QT_GUI=1
|
|
QT = core \
|
|
gui
|
|
}
|
|
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += HAS_QOBJECT_P_H
|
|
HEADERS += gdbmacros_p.h
|