aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/qqmlecmascript.pro
blob: 684e7adb98e80ca587438ca1b2322d282b2e484d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CONFIG += testcase
TARGET = tst_qqmlecmascript
macx:CONFIG -= app_bundle

SOURCES += tst_qqmlecmascript.cpp \
           testtypes.cpp \
           ../../shared/testhttpserver.cpp
HEADERS += testtypes.h \
           ../../shared/testhttpserver.h
INCLUDEPATH += ../../shared

RESOURCES += qqmlecmascript.qrc

include (../../shared/util.pri)

greaterThan(QT_GCC_MAJOR_VERSION, 5) {
    # Our code is bad. Temporary workaround. Fixed in 5.8
    QMAKE_CXXFLAGS += -fno-delete-null-pointer-checks -fno-lifetime-dse
}

# QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage
# LIBS += -lgcov

TESTDATA = data/*

QT += core-private gui-private  qml-private network testlib
qtHaveModule(widgets): QT += widgets