project file fixes
[mardrone] / mardrone / mardrone.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-10-12T20:45:34
4 #
5 #-------------------------------------------------
6
7 QT       += core gui declarative network
8
9
10 CONFIG += mobility
11 TARGET = mardrone
12 TEMPLATE = app
13 AR_DRONE_SDK= $$(HOME)/ARDrone_SDK_1_5_Version_20101004
14 LIBS +=-lQtComponents -L$${AR_DRONE_SDK}/lib -lvlib -lsdk
15
16
17 SOURCES += main.cpp\
18     dronecontrol.cpp \
19     navdata.cpp \
20     video.cpp \
21     gauge.cpp \
22     gaugelabel.cpp \
23     gaugehorizon.cpp
24
25 INCLUDEPATH += $${AR_DRONE_SDK}/ARDroneLib/Soft/Common \
26                $${AR_DRONE_SDK}/ARDroneLib/VP_SDK \
27                $${AR_DRONE_SDK}/ARDroneLib/VP_SDK/VP_Os/linux \
28                $${AR_DRONE_SDK}/ARDroneLib/VP_SDK/VP_Os \
29                $${AR_DRONE_SDK}/ARDroneLib/Soft/Lib \
30                $${AR_DRONE_SDK}/ARDroneLib/VLIB \
31                $${AR_DRONE_SDK}/ARDroneLib
32
33 HEADERS  +=  dronecontrol.h \
34     navdata.h \
35     video.h \
36     gauge.h \
37     gaugelabel.h \
38     gaugehorizon.h
39
40
41 OTHER_FILES += \
42     ardrone.qml \
43     JoyStick.qml \
44     JoyStick2.qml \
45     debian/changelog \
46     debian/compat \
47     debian/control \
48     debian/copyright \
49     debian/README \
50     debian/rules \
51     ardrone1.desktop \
52     BarGauge.qml \
53     ConfigDialog.qml
54
55 unix:!symbian {
56     maemo5 {
57         target.path = /opt/usr/bin
58     } else {
59         target.path = /usr/local/bin
60     }
61     INSTALLS += target
62 }
63
64 unix:!symbian {
65     desktopfile.files = $${TARGET}.desktop
66     maemo5 {
67         desktopfile.path = /usr/share/applications/hildon
68     } else {
69         desktopfile.path = /usr/share/applications
70     }
71     INSTALLS += desktopfile
72 }
73
74 RESOURCES += \
75     ardrone.qrc