simple_test_app.pro 1.44 KB
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 42 43
*g++* {
    DEFINES += USE_CXX11
    QMAKE_CXXFLAGS += -std=c++0x
}
44

45 46
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += HAS_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += HAS_BOOST
hjk's avatar
hjk committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

exists(/usr/include/eigen2/Eigen/Core) {
    DEFINES += HAS_EIGEN2
    INCLUDEPATH += /usr/include/eigen2
}
exists(/usr/include/eigen3/Eigen/Core) {
    DEFINES += HAS_EIGEN3
    INCLUDEPATH += /usr/include/eigen3
}
exists(/usr/local/include/eigen2/Eigen/Core) {
    DEFINES += HAS_EIGEN2
    INCLUDEPATH += /usr/local/include/eigen2
}
exists(/usr/local/include/eigen3/Eigen/Core) {
    DEFINES += HAS_EIGEN3
    INCLUDEPATH += /usr/local/include/eigen3
}
hjk's avatar
hjk committed
64

65
win32-msvc*:DEFINES += _CRT_SECURE_NO_WARNINGS
hjk's avatar
hjk committed
66 67
# Use for semi-automated testing
#DEFINES += USE_AUTORUN=1
68 69 70

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
ANDROID_EXTRA_LIBS = $$OUT_PWD/libsimple_test_plugin.so