~jibel/autopilot-qt/make-qtabstractitemview_introspection

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
28
29
30
31
32
33
34
35
36
37
38
39
TEMPLATE = lib

#version check qt
contains(QT_VERSION, ^5\\..\\..*) {
    DEFINES += QT5_SUPPORT
    TARGET = autopilot_driver_qt5
} else {
    TARGET = autopilot_driver_qt4
}

DESTDIR=..
QT = core gui dbus quick widgets testlib
CONFIG += link_pkgconfig
PKGCONFIG += xpathselect
QMAKE_CXXFLAGS += -std=c++0x -Wl,--no-undefined

SOURCES = qttestability.cpp \
          dbus_adaptor.cpp \
          dbus_object.cpp \
          introspection.cpp \
          rootnode.cpp \
          qtnode.cpp \
          dbus_adaptor_qt.cpp

HEADERS = qttestability.h \
          dbus_adaptor.h \
          dbus_object.h \
          introspection.h \
          rootnode.h \
          qtnode.h \
          introspection.h \
          dbus_adaptor_qt.h \
          autopilot_types.h

target.file = libtestability*


target.path = /usr/lib
INSTALLS += target