-
Notifications
You must be signed in to change notification settings - Fork 1
/
gui.pro
114 lines (95 loc) · 3.42 KB
/
gui.pro
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
TARGET=Helium
QMAKE_CXXFLAGS += -std=gnu++0x
# Add more folders to ship with the application, here
folder_01.source = qml/Helium
folder_01.target = qml
folder_02.source = gupnp-av/data
folder_02.target = xsd
DEPLOYMENTFOLDERS = folder_01 folder_02
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE4B8798C
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
CONFIG += mobility
MOBILITY += feedback
# Include GUPnP libs - do this before boostable stuff otherwise that won't work properly
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0 gupnp-1.0 gssdp-1.0 libsoup-2.4 libxml-2.0
# include static version of gupnp-av - thanks madde :(
SUBDIRS += gupnp-av gupnp-qt4
INCLUDEPATH += gupnp-qt4 gupnp-av
LIBS += -Lgupnp-qt4 -lgupnp-qt4 -L. -lgupnpav
# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
CONFIG += qdeclarative-boostable
# Add dependency to Symbian components
# CONFIG += qt-components
CONFIG += no_keywords
QT += network dbus
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
upnp/upnprenderer.cpp \
upnp/upnpmediaserver.cpp \
upnp/upnpdevice.cpp \
upnp/upnpdevicemodel.cpp \
upnp/upnpservermodel.cpp \
upnp/upnprenderermodel.cpp \
upnp/browsemodelstack.cpp \
networkcontrol.cpp \
upnp/browsemodel_p.cpp \
upnp/browsemodel.cpp \
upnp/logger.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/manifest.aegis \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
TODO \
qtc_packaging/debian_harmattan/postinst \
qtc_packaging/debian_harmattan/prerm
HEADERS += \
upnp/upnprenderer.h \
upnp/upnpmediaserver.h \
upnp/upnpdevice.h \
upnp/upnpdevicemodel.h \
upnp/upnpservermodel.h \
upnp/upnprenderermodel.h \
upnp/browsemodelstack.h \
networkcontrol.h \
settings.h \
upnp/browsemodel_p.h \
upnp/browsemodel.h \
version.h.in \
upnp/logger.h \
upnp/logger_p.h
RESOURCES += \
res.qrc
DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
contains(MEEGO_EDITION, harmattan) {
DEFINES += HARMATTAN
PKGCONFIG += gq-gconf
SOURCES += settings_harmattan_gconf.cpp
} else {
SOURCES += settings_qsettings.cpp
HEADERS += settings_qsettings_p.h
}
genversion.commands = $$PWD/tools/gen-version < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
genversion.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}
genversion.input = VERSION_SOURCES
genversion.variable_out = HEADERS
QMAKE_EXTRA_COMPILERS += genversion
VERSION_SOURCES = version.h.in