author | koda |
Wed, 26 Oct 2011 00:30:35 +0200 | |
changeset 6209 | 074ab6ebcb3e |
parent 6175 | a80833ddaef0 |
child 6217 | ef53ba841791 |
permissions | -rw-r--r-- |
2522 | 1 |
TEMPLATE = app |
2 |
TARGET = hedgewars |
|
3 |
DEPENDPATH += ../QTfrontend/ |
|
4 |
INCLUDEPATH += ../QTfrontend/ |
|
6071 | 5 |
INCLUDEPATH += ../QTfrontend/model |
6 |
INCLUDEPATH += ../QTfrontend/ui |
|
7 |
INCLUDEPATH += ../QTfrontend/ui/widget |
|
8 |
INCLUDEPATH += ../QTfrontend/ui/page |
|
9 |
INCLUDEPATH += ../QTfrontend/ui/dialog |
|
10 |
INCLUDEPATH += ../QTfrontend/net |
|
11 |
INCLUDEPATH += ../QTfrontend/util |
|
4878 | 12 |
INCLUDEPATH += /usr/local/include/SDL |
5268
eedc0f8ed38b
Small stub web view that I'm hoping to use in conjunction with ~/.hedgewars/Data - I'd like to link to a page on hedgewars.org, intercept linkClicked, fetch zip files, then unpack the structure under Data. Just checking this in so it doesn't clutter up project. Also tidied up the .pro a bit, even though we aren't really using it for much anymore. Should in theory be able to do a build now.
nemo
parents:
5094
diff
changeset
|
13 |
INCLUDEPATH += /usr/include/SDL |
5754 | 14 |
INCLUDEPATH += ../misc/quazip/ |
4878 | 15 |
|
2522 | 16 |
DESTDIR = . |
17 |
||
18 |
win32 { |
|
19 |
RC_FILE = ../QTfrontend/res/hedgewars.rc |
|
20 |
} |
|
21 |
||
2525 | 22 |
QT += network |
5268
eedc0f8ed38b
Small stub web view that I'm hoping to use in conjunction with ~/.hedgewars/Data - I'd like to link to a page on hedgewars.org, intercept linkClicked, fetch zip files, then unpack the structure under Data. Just checking this in so it doesn't clutter up project. Also tidied up the .pro a bit, even though we aren't really using it for much anymore. Should in theory be able to do a build now.
nemo
parents:
5094
diff
changeset
|
23 |
QT += webkit |
2522 | 24 |
|
6063 | 25 |
HEADERS += ../QTfrontend/model/themesmodel.h \ |
26 |
../QTfrontend/model/ammoSchemeModel.h \ |
|
27 |
../QTfrontend/model/netserverslist.h \ |
|
28 |
../QTfrontend/model/hats.h \ |
|
29 |
../QTfrontend/ui/page/pagedrawmap.h \ |
|
30 |
../QTfrontend/ui/page/pagedata.h \ |
|
31 |
../QTfrontend/ui/page/pagetraining.h \ |
|
32 |
../QTfrontend/ui/page/pageselectweapon.h \ |
|
33 |
../QTfrontend/ui/page/pagesingleplayer.h \ |
|
34 |
../QTfrontend/ui/page/pagenettype.h \ |
|
35 |
../QTfrontend/ui/page/pageingame.h \ |
|
36 |
../QTfrontend/ui/page/pageadmin.h \ |
|
37 |
../QTfrontend/ui/page/pagescheme.h \ |
|
38 |
../QTfrontend/ui/page/pagemultiplayer.h \ |
|
39 |
../QTfrontend/ui/page/pageplayrecord.h \ |
|
40 |
../QTfrontend/ui/page/pagemain.h \ |
|
41 |
../QTfrontend/ui/page/pageoptions.h \ |
|
42 |
../QTfrontend/ui/page/pagenetgame.h \ |
|
43 |
../QTfrontend/ui/page/pageeditteam.h \ |
|
44 |
../QTfrontend/ui/page/pageconnecting.h \ |
|
45 |
../QTfrontend/ui/page/pageroomslist.h \ |
|
46 |
../QTfrontend/ui/page/pagenet.h \ |
|
47 |
../QTfrontend/ui/page/pagecampaign.h \ |
|
48 |
../QTfrontend/ui/page/pageinfo.h \ |
|
49 |
../QTfrontend/ui/page/pagenetserver.h \ |
|
50 |
../QTfrontend/ui/page/pagegamestats.h \ |
|
51 |
../QTfrontend/ui/dialog/input_ip.h \ |
|
52 |
../QTfrontend/ui/qaspectratiolayout.h \ |
|
53 |
../QTfrontend/ui/widget/bgwidget.h \ |
|
54 |
../QTfrontend/ui/widget/fpsedit.h \ |
|
55 |
../QTfrontend/ui/widget/FreqSpinBox.h \ |
|
56 |
../QTfrontend/ui/widget/igbox.h \ |
|
57 |
../QTfrontend/ui/widget/chatwidget.h \ |
|
58 |
../QTfrontend/ui/widget/togglebutton.h \ |
|
59 |
../QTfrontend/ui/widget/SquareLabel.h \ |
|
60 |
../QTfrontend/ui/widget/itemNum.h \ |
|
61 |
../QTfrontend/ui/widget/frameTeam.h \ |
|
62 |
../QTfrontend/ui/widget/teamselect.h \ |
|
63 |
../QTfrontend/ui/widget/vertScrollArea.h \ |
|
64 |
../QTfrontend/ui/widget/about.h \ |
|
65 |
../QTfrontend/ui/widget/teamselhelper.h \ |
|
66 |
../QTfrontend/ui/widget/drawmapwidget.h \ |
|
67 |
../QTfrontend/ui/widget/databrowser.h \ |
|
68 |
../QTfrontend/ui/widget/hedgehogerWidget.h \ |
|
69 |
../QTfrontend/ui/widget/selectWeapon.h \ |
|
70 |
../QTfrontend/ui/widget/weaponItem.h \ |
|
71 |
../QTfrontend/ui/widget/gamecfgwidget.h \ |
|
6157 | 72 |
../QTfrontend/ui/widget/mapContainer.h \ |
6151
9fd5b70acb1a
give the room name edit box a history of previous room. however I hate that box from the bottom of my heart, it shall dieeeee... later...
sheepluva
parents:
6147
diff
changeset
|
73 |
../QTfrontend/ui/widget/HistoryLineEdit.h \ |
6147
b4d7d8d62feb
feature-pimpin'-up the chat input line in frontend:
sheepluva
parents:
6071
diff
changeset
|
74 |
../QTfrontend/ui/widget/SmartLineEdit.h \ |
6159
c780b8cf4d75
introduce HWDataManager util for transparent access to [user-]data files
sheepluva
parents:
6157
diff
changeset
|
75 |
../QTfrontend/ui/util/HWDataManager.h \ |
6063 | 76 |
../QTfrontend/net/netregister.h \ |
77 |
../QTfrontend/net/netserver.h \ |
|
78 |
../QTfrontend/net/netudpwidget.h \ |
|
79 |
../QTfrontend/net/tcpBase.h \ |
|
80 |
../QTfrontend/net/proto.h \ |
|
81 |
../QTfrontend/net/newnetclient.h \ |
|
82 |
../QTfrontend/net/netudpserver.h \ |
|
83 |
../QTfrontend/net/hwmap.h \ |
|
84 |
../QTfrontend/util/namegen.h \ |
|
6175 | 85 |
../QTfrontend/ui/page/AbstractPage.h \ |
6064 | 86 |
../QTfrontend/drawmapscene.h \ |
87 |
../QTfrontend/game.h \ |
|
88 |
../QTfrontend/gameuiconfig.h \ |
|
89 |
../QTfrontend/HWApplication.h \ |
|
90 |
../QTfrontend/hwform.h \ |
|
6165
6fe3e922246e
moving and renaming SDLs.*, making it a singleton; cleaning up class responsibilties wrt SDLInteraction; some comments
sheepluva
parents:
6159
diff
changeset
|
91 |
../QTfrontend/util/SDLInteraction.h \ |
6064 | 92 |
../QTfrontend/team.h \ |
93 |
../QTfrontend/achievements.h \ |
|
94 |
../QTfrontend/binds.h \ |
|
95 |
../QTfrontend/ui_hwform.h \ |
|
96 |
../QTfrontend/KB.h \ |
|
97 |
../QTfrontend/hwconsts.h \ |
|
98 |
../QTfrontend/sdlkeys.h |
|
2543 | 99 |
|
6063 | 100 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
101 |
../QTfrontend/model/themesmodel.cpp \ |
|
102 |
../QTfrontend/model/hats.cpp \ |
|
103 |
../QTfrontend/model/netserverslist.cpp \ |
|
104 |
../QTfrontend/ui/qaspectratiolayout.cpp \ |
|
105 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
106 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
107 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
108 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
109 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
110 |
../QTfrontend/ui/page/pagenettype.cpp \ |
|
111 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
112 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
113 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
114 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
115 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
116 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
117 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
118 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
119 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
120 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
121 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
122 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
123 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
124 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
125 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
126 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
127 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
128 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
129 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
130 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
131 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
132 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
133 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
134 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
135 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
136 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
137 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
138 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
139 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
140 |
../QTfrontend/ui/widget/about.cpp \ |
|
141 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
142 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
143 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
144 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
145 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
146 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
6157 | 147 |
../QTfrontend/ui/widget/mapContainer.cpp \ |
6151
9fd5b70acb1a
give the room name edit box a history of previous room. however I hate that box from the bottom of my heart, it shall dieeeee... later...
sheepluva
parents:
6147
diff
changeset
|
148 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \ |
6147
b4d7d8d62feb
feature-pimpin'-up the chat input line in frontend:
sheepluva
parents:
6071
diff
changeset
|
149 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \ |
6159
c780b8cf4d75
introduce HWDataManager util for transparent access to [user-]data files
sheepluva
parents:
6157
diff
changeset
|
150 |
../QTfrontend/ui/util/HWDataManager.cpp \ |
6063 | 151 |
../QTfrontend/net/tcpBase.cpp \ |
152 |
../QTfrontend/net/netregister.cpp \ |
|
153 |
../QTfrontend/net/proto.cpp \ |
|
154 |
../QTfrontend/net/hwmap.cpp \ |
|
155 |
../QTfrontend/net/netudpserver.cpp \ |
|
156 |
../QTfrontend/net/newnetclient.cpp \ |
|
157 |
../QTfrontend/net/netudpwidget.cpp \ |
|
158 |
../QTfrontend/net/netserver.cpp \ |
|
159 |
../QTfrontend/util/namegen.cpp \ |
|
6175 | 160 |
../QTfrontend/ui/page/AbstractPage.cpp \ |
6063 | 161 |
../QTfrontend/achievements.cpp \ |
162 |
../QTfrontend/binds.cpp \ |
|
4878 | 163 |
../QTfrontend/drawmapscene.cpp \ |
6063 | 164 |
../QTfrontend/game.cpp \ |
165 |
../QTfrontend/gameuiconfig.cpp \ |
|
5289
9d18b61bd3eb
- Implement ThemesModel (load theme icons once, store in memory, don't reload from disk every time selection changes)
unc0rr
parents:
5268
diff
changeset
|
166 |
../QTfrontend/HWApplication.cpp \ |
6063 | 167 |
../QTfrontend/hwform.cpp \ |
168 |
../QTfrontend/main.cpp \ |
|
6165
6fe3e922246e
moving and renaming SDLs.*, making it a singleton; cleaning up class responsibilties wrt SDLInteraction; some comments
sheepluva
parents:
6159
diff
changeset
|
169 |
../QTfrontend/util/SDLInteraction.h.cpp \ |
6063 | 170 |
../QTfrontend/team.cpp \ |
171 |
../QTfrontend/ui_hwform.cpp \ |
|
172 |
../QTfrontend/hwconsts.cpp |
|
2822 | 173 |
|
174 |
win32 { |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
175 |
SOURCES += ../QTfrontend/xfire.cpp |
2822 | 176 |
} |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
177 |
|
4013
c9b20ed3566f
An initial arabic translation. The game engine strings, unfortunately, are not mirrored. A bug should probably be filed on that. It maybe necessary to actually flip the text texture generated by SDL.
circoficus
parents:
3918
diff
changeset
|
178 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
179 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts |
4013
c9b20ed3566f
An initial arabic translation. The game engine strings, unfortunately, are not mirrored. A bug should probably be filed on that. It maybe necessary to actually flip the text texture generated by SDL.
circoficus
parents:
3918
diff
changeset
|
180 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
181 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
182 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
183 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
184 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
185 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts |
3918
916ed485daed
Update translations, add a hungarian stub for edge_hog who is volunteering
nemo
parents:
3353
diff
changeset
|
186 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
187 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
188 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts |
4707
1d3b19eabfe7
Add stubs for korean locale, now that we have a volunteer, update locale files
nemo
parents:
4418
diff
changeset
|
189 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts |
5620
05445149f2d5
Add Lithuanian Qt translation, add Lukas to game credits
nemo
parents:
5289
diff
changeset
|
190 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_lt.ts |
4418 | 191 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
192 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
193 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
194 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
195 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
196 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
197 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
198 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
199 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
200 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
2543 | 201 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
202 |
||
2522 | 203 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
204 |
||
5754 | 205 |
LIBS += -L../misc/quazip -lquazip |
206 |
||
2522 | 207 |
!macx { |
4878 | 208 |
LIBS += -lSDL -lSDL_mixer |
2522 | 209 |
} else { |
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
210 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
211 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
2522 | 212 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
213 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
214 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
215 |
../../build/QTfrontend/hwconsts.cpp |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
216 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
217 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
218 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
219 |
../QTfrontend/SparkleAutoUpdater.h |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
220 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
221 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
2522 | 222 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
223 |
CONFIG += warn_on x86 |
|
224 |
||
225 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
226 |
} |