1
load(qttest_p4)
2
3
#exists(/usr/include/boost/spirit.hpp) {
4
#    message("including boost headers in test")
5
#    DEFINES += PARSE_BOOST
6
#    # need to add explicitly so that it ends up in moc's search path
7
#    INCLUDEPATH += /usr/include
8
#}
9
10
INCLUDEPATH += testproject/include testproject
11
12
DEFINES += SRCDIR=\\\"$$PWD\\\"
13
cross_compile: DEFINES += MOC_CROSS_COMPILED
14
15
HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-newlines.h oldstyle-casts.h \
16
           slots-with-void-template.h qinvokable.h namespaced-flags.h trigraphs.h \
17
           escapes-in-string-literals.h cstyle-enums.h qprivateslots.h gadgetwithnoenums.h \
18
           dir-in-include-path.h single_function_keyword.h task192552.h task189996.h \
19
           task234909.h task240368.h pure-virtual-signals.h
20
if(*-g++*|*-icc*):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
21
SOURCES += tst_moc.cpp
22
23
QT += sql network svg
24
contains(QT_CONFIG, script): QT += script
25
contains(QT_CONFIG, qt3support): QT += qt3support
26
contains(QT_CONFIG, dbus){
27
    DEFINES += WITH_DBUS
28
    QT += dbus
29
}