author | mikade |
Tue, 06 Dec 2011 05:41:52 +0200 | |
changeset 6505 | b005fbba039e |
parent 6478 | 752d4fb5e376 |
child 6572 | 0d0af531c1c7 |
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 \ |
6237
a66029015c18
whoopsy, my bad (segfault due to accepting empty lines)
sheepluva
parents:
6223
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 \ |
6237
a66029015c18
whoopsy, my bad (segfault due to accepting empty lines)
sheepluva
parents:
6223
diff
changeset
|
75 |
../QTfrontend/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 \ |
|
6223
cc3eb9b7230f
It doesn't make much sense to make checks like 'if(game)' if you never set game to 0. Using smart pointers instead. Does it fix segfaults? Probably.
unc0rr
parents:
6217
diff
changeset
|
96 |
../QTfrontend/KB.h \ |
6064 | 97 |
../QTfrontend/hwconsts.h \ |
6477 | 98 |
../QTfrontend/sdlkeys.h \ |
99 |
../QTfrontend/ui/mouseoverfilter.h |
|
2543 | 100 |
|
6063 | 101 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
102 |
../QTfrontend/model/themesmodel.cpp \ |
|
103 |
../QTfrontend/model/hats.cpp \ |
|
104 |
../QTfrontend/model/netserverslist.cpp \ |
|
105 |
../QTfrontend/ui/qaspectratiolayout.cpp \ |
|
106 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
107 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
108 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
109 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
110 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
111 |
../QTfrontend/ui/page/pagenettype.cpp \ |
|
112 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
113 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
114 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
115 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
116 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
117 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
118 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
119 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
120 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
121 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
122 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
123 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
124 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
125 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
126 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
127 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
128 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
129 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
130 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
131 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
132 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
133 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
134 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
135 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
136 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
137 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
138 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
139 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
140 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
141 |
../QTfrontend/ui/widget/about.cpp \ |
|
142 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
143 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
144 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
145 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
146 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
147 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
6157 | 148 |
../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
|
149 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \ |
6147
b4d7d8d62feb
feature-pimpin'-up the chat input line in frontend:
sheepluva
parents:
6071
diff
changeset
|
150 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \ |
6237
a66029015c18
whoopsy, my bad (segfault due to accepting empty lines)
sheepluva
parents:
6223
diff
changeset
|
151 |
../QTfrontend/util/HWDataManager.cpp \ |
6063 | 152 |
../QTfrontend/net/tcpBase.cpp \ |
153 |
../QTfrontend/net/netregister.cpp \ |
|
154 |
../QTfrontend/net/proto.cpp \ |
|
155 |
../QTfrontend/net/hwmap.cpp \ |
|
156 |
../QTfrontend/net/netudpserver.cpp \ |
|
157 |
../QTfrontend/net/newnetclient.cpp \ |
|
158 |
../QTfrontend/net/netudpwidget.cpp \ |
|
159 |
../QTfrontend/net/netserver.cpp \ |
|
160 |
../QTfrontend/util/namegen.cpp \ |
|
6175 | 161 |
../QTfrontend/ui/page/AbstractPage.cpp \ |
6063 | 162 |
../QTfrontend/achievements.cpp \ |
163 |
../QTfrontend/binds.cpp \ |
|
4878 | 164 |
../QTfrontend/drawmapscene.cpp \ |
6063 | 165 |
../QTfrontend/game.cpp \ |
166 |
../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
|
167 |
../QTfrontend/HWApplication.cpp \ |
6063 | 168 |
../QTfrontend/hwform.cpp \ |
169 |
../QTfrontend/main.cpp \ |
|
6237
a66029015c18
whoopsy, my bad (segfault due to accepting empty lines)
sheepluva
parents:
6223
diff
changeset
|
170 |
../QTfrontend/util/SDLInteraction.cpp \ |
6063 | 171 |
../QTfrontend/team.cpp \ |
172 |
../QTfrontend/ui_hwform.cpp \ |
|
6477 | 173 |
../QTfrontend/hwconsts.cpp \ |
174 |
../QTfrontend/ui/mouseoverfilter.cpp |
|
2822 | 175 |
|
176 |
win32 { |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
177 |
SOURCES += ../QTfrontend/xfire.cpp |
2822 | 178 |
} |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
179 |
|
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_ar.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
181 |
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
|
182 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
183 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
184 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
185 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
186 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
187 |
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
|
188 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
189 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
190 |
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
|
191 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts |
5620
05445149f2d5
Add Lithuanian Qt translation, add Lukas to game credits
nemo
parents:
5289
diff
changeset
|
192 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_lt.ts |
4418 | 193 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
194 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
195 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
196 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
197 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
198 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
199 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
200 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
201 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
202 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
2543 | 203 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
204 |
||
2522 | 205 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
206 |
||
5754 | 207 |
LIBS += -L../misc/quazip -lquazip |
208 |
||
2522 | 209 |
!macx { |
4878 | 210 |
LIBS += -lSDL -lSDL_mixer |
2522 | 211 |
} else { |
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
212 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
213 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
2522 | 214 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
215 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
216 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
217 |
../../build/QTfrontend/hwconsts.cpp |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
218 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
219 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
220 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
221 |
../QTfrontend/SparkleAutoUpdater.h |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
222 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
223 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
2522 | 224 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
225 |
CONFIG += warn_on x86 |
|
226 |
||
227 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
228 |
} |