2011-10-25 04:42:16 +00:00
|
|
|
CONFIG += testcase
|
2012-05-24 08:05:55 +00:00
|
|
|
CONFIG += parallel_test
|
2011-10-25 04:42:16 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
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 \
|
2012-03-05 16:55:59 +00:00
|
|
|
task234909.h task240368.h pure-virtual-signals.h cxx11-enums.h \
|
|
|
|
cxx11-final-classes.h \
|
2012-07-10 16:08:18 +00:00
|
|
|
cxx11-explicit-override-control.h \
|
2012-09-03 10:55:38 +00:00
|
|
|
forward-declared-param.h \
|
2012-10-01 09:57:53 +00:00
|
|
|
parse-defines.h \
|
|
|
|
function-with-attributes.h
|
2012-03-05 16:55:59 +00:00
|
|
|
|
|
|
|
|
2012-06-14 05:14:05 +00:00
|
|
|
if(*-g++*|*-icc*|*-clang*|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
|
2013-03-01 14:06:33 +00:00
|
|
|
if(*-g++*|*-clang*): HEADERS += dollars.h
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
2012-12-21 11:09:56 +00:00
|
|
|
qtHaveModule(dbus) {
|
2011-04-27 10:05:43 +00:00
|
|
|
DEFINES += WITH_DBUS
|
|
|
|
QT += dbus
|
|
|
|
}
|
2012-08-01 11:19:40 +00:00
|
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|