2011-10-25 04:42:16 +00:00
|
|
|
CONFIG += testcase
|
|
|
|
TARGET = tst_moc
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#exists(/usr/include/boost/spirit.hpp) {
|
|
|
|
# message("including boost headers in test")
|
|
|
|
# DEFINES += PARSE_BOOST
|
|
|
|
# # need to add explicitly so that it ends up in moc's search path
|
|
|
|
# INCLUDEPATH += /usr/include
|
|
|
|
#}
|
|
|
|
|
|
|
|
INCLUDEPATH += testproject/include testproject
|
|
|
|
|
|
|
|
DEFINES += SRCDIR=\\\"$$PWD\\\"
|
|
|
|
cross_compile: DEFINES += MOC_CROSS_COMPILED
|
|
|
|
|
|
|
|
HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-newlines.h oldstyle-casts.h \
|
|
|
|
slots-with-void-template.h qinvokable.h namespaced-flags.h trigraphs.h \
|
|
|
|
escapes-in-string-literals.h cstyle-enums.h qprivateslots.h gadgetwithnoenums.h \
|
|
|
|
dir-in-include-path.h single_function_keyword.h task192552.h task189996.h \
|
2011-10-29 17:55:36 +00:00
|
|
|
task234909.h task240368.h pure-virtual-signals.h cxx11-enums.h
|
2011-04-27 10:05:43 +00:00
|
|
|
if(*-g++*|*-icc*|*-clang|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
|
|
|
|
SOURCES += tst_moc.cpp
|
|
|
|
|
2011-09-16 12:07:05 +00:00
|
|
|
QT -= gui
|
2011-10-25 04:42:16 +00:00
|
|
|
QT += sql network testlib
|
2011-04-27 10:05:43 +00:00
|
|
|
contains(QT_CONFIG, dbus){
|
|
|
|
DEFINES += WITH_DBUS
|
|
|
|
QT += dbus
|
|
|
|
}
|