-
Notifications
You must be signed in to change notification settings - Fork 1
/
carspot.pro
127 lines (106 loc) · 3.73 KB
/
carspot.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
115
116
117
118
119
120
121
122
123
124
125
126
127
# Add more folders to ship with the application, here
folder_01.source = qml/carspot
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
libspotify.source = libspotify/lib
libspotify.target =
DEPLOYMENTFOLDERS += libspotify
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE2DC2D12
# 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 +=
# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
CONFIG += qdeclarative-boostable
SOURCES += main.cpp \
svgElementImageProvider.cpp \
NetworkAccess.cpp \
CarModeAppCaller.cpp \
PlaylistModel.cpp \
PlaylistsModel.cpp \
Constants.cpp \
KeyEvents.cpp \
WhatsNewModel.cpp \
NewAlbumModel.cpp \
ListItem.cpp \
AddToPlaylistModel.cpp \
SingleInstanceInsurer.cpp \
UnixSignalHandler.cpp
# lupdate only looks at files specfied in SOURCES, but apparently doesn't care about
# conditionals, so we add the QML files in a conditional that is never true
hack_for_lupdate {
SOURCES += \
qml/carspot/AboutScreen.qml \
qml/carspot/AddToPlaylistScreen.qml \
qml/carspot/CarModeList.qml \
qml/carspot/CarModeListItem.qml \
qml/carspot/CarModePage.qml \
qml/carspot/CarNote.qml \
qml/carspot/HWKeys.qml \
qml/carspot/LoginScreen.qml \
qml/carspot/main.qml \
qml/carspot/NewAlbumScreen.qml \
qml/carspot/OfflineSyncScreen.qml \
qml/carspot/OptionsModel.qml \
qml/carspot/OptionsScreen.qml \
qml/carspot/PlayingScreen.qml \
qml/carspot/PlaylistScreen.qml \
qml/carspot/PlaylistsScreen.qml \
qml/carspot/RadioScreen.qml \
qml/carspot/SettingsModel.qml \
qml/carspot/SettingsScreen.qml \
qml/carspot/StreamQualityScreen.qml \
qml/carspot/SVGImageButton.qml \
qml/carspot/WaitAnimation.qml \
qml/carspot/WelcomeScreen.qml \
qml/carspot/WhatsNewScreen.qml
}
CONFIG += qmsystem2
LIBS += -lQtSvg
# 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 \
qtc_packaging/debian_harmattan/postrm \
libQtSpotify/libQtSpotify.pri
HEADERS += \
svgElementImageProvider.hpp \
NetworkAccess.hpp \
CarModeAppCaller.hpp \
PlaylistModel.hpp \
PlaylistsModel.hpp \
Constants.hpp \
KeyEvents.hpp \
WhatsNewModel.hpp \
NewAlbumModel.hpp \
ListItem.hpp \
AddToPlaylistModel.hpp \
SingleInstanceInsurer.hpp \
UnixSignalHandler.hpp
RESOURCES += \
carspot.qrc
include(libQtSpotify/libQtSpotify.pri)
# Quiet the "the mangling of 'va_list' has changed in GCC 4.4" warning
QMAKE_CXXFLAGS += -Wno-psabi
# Add the path to the spotify library to the shared libraries search path
QMAKE_LFLAGS += -Wl,-rpath,/opt/carspot/lib
DEFINES += QT_NO_CAST_FROM_ASCII
include(carspot.pri)
TRANSLATIONS = localization/carspot_en.ts