Parent: [387955] (diff)

Child: [2efb59] (diff)

Download this file

upplay.pro    182 lines (166 with data), 6.1 kB

  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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
TEMPLATE = app
LANGUAGE = C++
QT += script webkit network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets webkitwidgets
#QT += script widgets network webenginewidgets
# VERSION is ^egrepped and must stay in the first column
VERSION = 1.1.0
QMAKE_CXXFLAGS += -DUPPLAY_VERSION=\\\"$$VERSION\\\"
QMAKE_CXXFLAGS += -std=c++0x
#QMAKE_CXXFLAGS += -DUSING_WEBENGINE
buildtype = release
CONFIG += qt warn_on thread $$buildtype
# DEFINES += UPPLAY_HORIZONTAL_LAYOUT
HEADERS += \
GUI/widgets/directslider.h \
GUI/mainw/mainw.h \
GUI/mainw/trayicon.h \
GUI/playerwidget/playerhwidget.h \
GUI/playerwidget/playervwidget.h \
GUI/mdatawidget/mdatawidget.h \
GUI/mdatawidget/mdatawidgetif.h \
GUI/volumewidget/volumewidget.h \
GUI/volumewidget/volumewidgetif.h \
GUI/volumewidget/soundslider.h \
GUI/playctlwidget/playctlwidget.h \
GUI/playctlwidget/playctlwidgetif.h \
GUI/progresswidget/progresswidget.h \
GUI/progresswidget/progresswidgetif.h \
GUI/playlist/GUI_Playlist.h \
GUI/playlist/delegate/PlaylistItemDelegate.h \
GUI/playlist/delegate/PlaylistItemDelegateInterface.h \
GUI/playlist/entry/GUI_PlaylistEntry.h \
GUI/playlist/entry/GUI_PlaylistEntryBig.h \
GUI/playlist/entry/GUI_PlaylistEntrySmall.h \
GUI/playlist/model/PlaylistItemModel.h \
GUI/playlist/view/ContextMenu.h \
GUI/playlist/view/PlaylistView.h \
GUI/prefs/confgui.h \
GUI/prefs/prefs.h \
GUI/prefs/sortprefs.h \
GUI/renderchoose/renderchoose.h \
HelperStructs/CSettingsStorage.h \
HelperStructs/Helper.h \
HelperStructs/PlaylistMode.h \
HelperStructs/Style.h \
application.h \
dirbrowser/dirbrowser.h \
dirbrowser/cdbrowser.h \
dirbrowser/rreaper.h \
dirbrowser/randplayer.h \
playlist/Playlist.h \
playlist/PlaylistAVT.h \
playlist/PlaylistOH.h \
upadapt/avtadapt.h \
upadapt/ohpladapt.h \
upqo/avtransport_qo.h \
upqo/cdirectory_qo.h \
upqo/ohplaylist_qo.h \
upqo/ohtime_qo.h \
upqo/ohvolume_qo.h \
upqo/renderingcontrol_qo.h
SOURCES += \
GUI/widgets/directslider.cpp \
GUI/mainw/mainw.cpp \
GUI/mainw/mw_connections.cpp \
GUI/mainw/mw_controls.cpp \
GUI/mainw/mw_cover.cpp \
GUI/mainw/mw_menubar.cpp \
GUI/mainw/trayicon.cpp \
GUI/playerwidget/playerwidget.cpp \
GUI/mdatawidget/mdatawidget.cpp \
GUI/volumewidget/volumewidget.cpp \
GUI/volumewidget/soundslider.cpp \
GUI/playctlwidget/playctlwidget.cpp \
GUI/progresswidget/progresswidget.cpp \
GUI/playlist/GUI_Playlist.cpp \
GUI/playlist/delegate/PlaylistItemDelegate.cpp \
GUI/playlist/entry/GUI_PlaylistEntryBig.cpp \
GUI/playlist/entry/GUI_PlaylistEntrySmall.cpp \
GUI/playlist/model/PlaylistItemModel.cpp \
GUI/playlist/view/ContextMenu.cpp \
GUI/playlist/view/PlaylistView.cpp \
GUI/prefs/confgui.cpp \
GUI/prefs/prefs.cpp \
GUI/prefs/sortprefs.cpp \
HelperStructs/CSettingsStorage.cpp \
HelperStructs/Helper.cpp \
HelperStructs/Style.cpp \
application.cpp \
dirbrowser/dirbrowser.cpp \
dirbrowser/cdbrowser.cpp \
dirbrowser/rreaper.cpp \
dirbrowser/randplayer.cpp \
playlist/Playlist.cpp \
playlist/PlaylistAVT.cpp \
playlist/PlaylistOH.cpp \
upadapt/upputils.cpp \
upplay.cpp
FORMS = \
GUI/mainw/mainw.ui \
GUI/mainw/mainhw.ui \
GUI/playerwidget/playerhwidget.ui \
GUI/playerwidget/playervwidget.ui \
GUI/playctlwidget/playctlwidget.ui \
GUI/progresswidget/progresswidget.ui \
dirbrowser/dirbrowser.ui \
GUI/playlist/GUI_Playlist.ui \
GUI/playlist/entry/GUI_PlaylistEntryBig.ui \
GUI/playlist/entry/GUI_PlaylistEntrySmall.ui \
GUI/prefs/sortprefs.ui \
GUI/renderchoose/renderchoose.ui
unix {
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
LIBS += -lupnpp
isEmpty(PREFIX) {
PREFIX = /usr
}
message("Prefix is $$PREFIX")
DEFINES += PREFIX=\\\"$$PREFIX\\\"
# Installation stuff
target.path = "$$PREFIX/bin"
bdata.files = dirbrowser/cdbrowser.css dirbrowser/dark.css \
dirbrowser/standard.css dirbrowser/containerscript.js
bdata.path = $$PREFIX/share/upplay/cdbrowser
gdata.files = GUI/standard.css GUI/dark.css
gdata.path = $$PREFIX/share/upplay/
desktop.files += upplay.desktop
desktop.path = $$PREFIX/share/applications/
icona.files = GUI/icons/upplay.png
icona.path = $$PREFIX/share/icons/hicolor/48x48/apps/
iconb.files = GUI/icons/upplay.png
iconb.path = $$PREFIX/share/pixmaps/
iconc.files = GUI/icons/*.png
iconc.path = $$PREFIX/share/upplay/icons
icond.files = GUI/icons/*.png GUI/icons/dark/*.png
icond.path = $$PREFIX/share/upplay/icons/dark
INSTALLS += target bdata desktop gdata icona iconb iconc icond
}
windows {
contains(QMAKE_CC, gcc){
# MingW
QMAKE_CXXFLAGS += -std=c++11 -Wno-unused-parameter
}
contains(QMAKE_CC, cl){
# Visual Studio
}
DEFINES += WIN32
DEFINES -= UNICODE
DEFINES -= _UNICODE
DEFINES += _MBCS
DEFINES += PSAPI_VERSION=1
INCLUDEPATH += c:/users/bill/documents/upnp/libupnpp
INCLUDEPATH += c:/users/bill/documents/upnp/pupnp/include
LIBS += -L../libupnpp/windows/build-libupnpp-Desktop_Qt_5_5_0_MinGW_32bit-$$buildtype/$$buildtype -lupnpp
LIBS += c:/users/bill/documents/upnp/expat-2.1.0/.libs/libexpat.a
LIBS += c:/users/bill/documents/upnp/curl-7.43.0/lib/libcurl.a
LIBS += c:/users/bill/documents/upnp/pupnp/upnp/.libs/libupnp.a
LIBS += c:/users/bill/documents/upnp/pupnp/ixml/.libs/libixml.a
LIBS += c:/users/bill/documents/upnp/pupnp/threadutil/.libs/libthreadutil.a
LIBS += -liphlpapi
LIBS += -lwldap32
LIBS += -lws2_32
LIBS += -lshlwapi
}