simple_test_app.pro 949 Bytes
Newer Older
1
TEMPLATE = app
2
TARGET = simple_test_app
3
DEPENDPATH += .
hjk's avatar
hjk committed
4
INCLUDEPATH += .
5
6
DESTDIR = .

7
SOURCES +=  simple_test_app.cpp
8
9

QT += network
10
QT += script
hjk's avatar
hjk committed
11
QT += xml
12

Kai Koehne's avatar
Kai Koehne committed
13
contains(QT_CONFIG, webkit)|!isEmpty(QT.webkit.name) {
14
    QT += webkit
15
16
17
    greaterThan(QT_MAJOR_VERSION, 4) {
        QT += webkitwidgets
    }
18
19
}

20
21
22
23
greaterThan(QT_MAJOR_VERSION, 4) {
    QT += core-private
    QT *= widgets
}
24
25
26
27
28
29
30

false {
    QT -= gui webkit widgets
} else {
    DEFINES += USE_GUILIB
}

31
#unix: QMAKE_CXXFLAGS += -msse2
32
#DEFINES += USE_BOOST=1
hjk's avatar
hjk committed
33

34
maemo5 {
35
    target.path = /opt/usr/lib
36
    target.path = /opt
37
38
    INSTALLS += target
}
39

40
41
CONFIG += c++11
DEFINES += USE_CXX11
42

43
44
45
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += USE_BOOST
exists(/usr/include/eigen2/Eigen/Core): DEFINES += USE_EIGEN
hjk's avatar
hjk committed
46

47
win32-msvc*:DEFINES += _CRT_SECURE_NO_WARNINGS
hjk's avatar
hjk committed
48
49
# Use for semi-automated testing
#DEFINES += USE_AUTORUN=1