author | unc0rr |
Thu, 06 Oct 2011 00:11:55 +0400 | |
changeset 6088 | 47d1b04003d1 |
parent 6071 | 212e5a5eadeb |
child 6147 | b4d7d8d62feb |
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 \ |
|
72 |
../QTfrontend/net/netregister.h \ |
|
73 |
../QTfrontend/net/netserver.h \ |
|
74 |
../QTfrontend/net/netudpwidget.h \ |
|
75 |
../QTfrontend/net/tcpBase.h \ |
|
76 |
../QTfrontend/net/proto.h \ |
|
77 |
../QTfrontend/net/newnetclient.h \ |
|
78 |
../QTfrontend/net/netudpserver.h \ |
|
79 |
../QTfrontend/net/hwmap.h \ |
|
80 |
../QTfrontend/util/namegen.h \ |
|
6064 | 81 |
../QTfrontend/AbstractPage.h \ |
82 |
../QTfrontend/drawmapscene.h \ |
|
83 |
../QTfrontend/game.h \ |
|
84 |
../QTfrontend/gameuiconfig.h \ |
|
85 |
../QTfrontend/HWApplication.h \ |
|
86 |
../QTfrontend/hwform.h \ |
|
87 |
../QTfrontend/mapContainer.h \ |
|
88 |
../QTfrontend/SDLs.h \ |
|
89 |
../QTfrontend/team.h \ |
|
90 |
../QTfrontend/achievements.h \ |
|
91 |
../QTfrontend/binds.h \ |
|
92 |
../QTfrontend/ui_hwform.h \ |
|
93 |
../QTfrontend/KB.h \ |
|
94 |
../QTfrontend/hwconsts.h \ |
|
95 |
../QTfrontend/sdlkeys.h |
|
2543 | 96 |
|
6063 | 97 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
98 |
../QTfrontend/model/themesmodel.cpp \ |
|
99 |
../QTfrontend/model/hats.cpp \ |
|
100 |
../QTfrontend/model/netserverslist.cpp \ |
|
101 |
../QTfrontend/ui/qaspectratiolayout.cpp \ |
|
102 |
../QTfrontend/ui/page/pagemain.cpp \ |
|
103 |
../QTfrontend/ui/page/pagetraining.cpp \ |
|
104 |
../QTfrontend/ui/page/pageroomslist.cpp \ |
|
105 |
../QTfrontend/ui/page/pagemultiplayer.cpp \ |
|
106 |
../QTfrontend/ui/page/pagegamestats.cpp \ |
|
107 |
../QTfrontend/ui/page/pagenettype.cpp \ |
|
108 |
../QTfrontend/ui/page/pageeditteam.cpp \ |
|
109 |
../QTfrontend/ui/page/pagenetgame.cpp \ |
|
110 |
../QTfrontend/ui/page/pagedata.cpp \ |
|
111 |
../QTfrontend/ui/page/pagedrawmap.cpp \ |
|
112 |
../QTfrontend/ui/page/pageplayrecord.cpp \ |
|
113 |
../QTfrontend/ui/page/pageselectweapon.cpp \ |
|
114 |
../QTfrontend/ui/page/pageingame.cpp \ |
|
115 |
../QTfrontend/ui/page/pagenetserver.cpp \ |
|
116 |
../QTfrontend/ui/page/pagecampaign.cpp \ |
|
117 |
../QTfrontend/ui/page/pageadmin.cpp \ |
|
118 |
../QTfrontend/ui/page/pageinfo.cpp \ |
|
119 |
../QTfrontend/ui/page/pageconnecting.cpp \ |
|
120 |
../QTfrontend/ui/page/pagesingleplayer.cpp \ |
|
121 |
../QTfrontend/ui/page/pagenet.cpp \ |
|
122 |
../QTfrontend/ui/page/pagescheme.cpp \ |
|
123 |
../QTfrontend/ui/page/pageoptions.cpp \ |
|
124 |
../QTfrontend/ui/dialog/input_ip.cpp \ |
|
125 |
../QTfrontend/ui/widget/igbox.cpp \ |
|
126 |
../QTfrontend/ui/widget/selectWeapon.cpp \ |
|
127 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \ |
|
128 |
../QTfrontend/ui/widget/SquareLabel.cpp \ |
|
129 |
../QTfrontend/ui/widget/frameTeam.cpp \ |
|
130 |
../QTfrontend/ui/widget/fpsedit.cpp \ |
|
131 |
../QTfrontend/ui/widget/databrowser.cpp \ |
|
132 |
../QTfrontend/ui/widget/teamselect.cpp \ |
|
133 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \ |
|
134 |
../QTfrontend/ui/widget/chatwidget.cpp \ |
|
135 |
../QTfrontend/ui/widget/itemNum.cpp \ |
|
136 |
../QTfrontend/ui/widget/bgwidget.cpp \ |
|
137 |
../QTfrontend/ui/widget/about.cpp \ |
|
138 |
../QTfrontend/ui/widget/togglebutton.cpp \ |
|
139 |
../QTfrontend/ui/widget/vertScrollArea.cpp \ |
|
140 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \ |
|
141 |
../QTfrontend/ui/widget/teamselhelper.cpp \ |
|
142 |
../QTfrontend/ui/widget/drawmapwidget.cpp \ |
|
143 |
../QTfrontend/ui/widget/weaponItem.cpp \ |
|
144 |
../QTfrontend/net/tcpBase.cpp \ |
|
145 |
../QTfrontend/net/netregister.cpp \ |
|
146 |
../QTfrontend/net/proto.cpp \ |
|
147 |
../QTfrontend/net/hwmap.cpp \ |
|
148 |
../QTfrontend/net/netudpserver.cpp \ |
|
149 |
../QTfrontend/net/newnetclient.cpp \ |
|
150 |
../QTfrontend/net/netudpwidget.cpp \ |
|
151 |
../QTfrontend/net/netserver.cpp \ |
|
152 |
../QTfrontend/util/namegen.cpp \ |
|
153 |
../QTfrontend/AbstractPage.cpp \ |
|
154 |
../QTfrontend/achievements.cpp \ |
|
155 |
../QTfrontend/binds.cpp \ |
|
4878 | 156 |
../QTfrontend/drawmapscene.cpp \ |
6063 | 157 |
../QTfrontend/game.cpp \ |
158 |
../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
|
159 |
../QTfrontend/HWApplication.cpp \ |
6063 | 160 |
../QTfrontend/hwform.cpp \ |
161 |
../QTfrontend/main.cpp \ |
|
162 |
../QTfrontend/mapContainer.cpp \ |
|
163 |
../QTfrontend/SDLs.cpp \ |
|
164 |
../QTfrontend/team.cpp \ |
|
165 |
../QTfrontend/ui_hwform.cpp \ |
|
166 |
../QTfrontend/hwconsts.cpp |
|
2822 | 167 |
|
168 |
win32 { |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
169 |
SOURCES += ../QTfrontend/xfire.cpp |
2822 | 170 |
} |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
171 |
|
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
|
172 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
173 |
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
|
174 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
175 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
176 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
177 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
178 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
179 |
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
|
180 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
181 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
182 |
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
|
183 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts |
5620
05445149f2d5
Add Lithuanian Qt translation, add Lukas to game credits
nemo
parents:
5289
diff
changeset
|
184 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_lt.ts |
4418 | 185 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
186 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
187 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
188 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
189 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
190 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
191 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
192 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
193 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
194 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
2543 | 195 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
196 |
||
2522 | 197 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
198 |
||
5754 | 199 |
LIBS += -L../misc/quazip -lquazip |
200 |
||
2522 | 201 |
!macx { |
4878 | 202 |
LIBS += -lSDL -lSDL_mixer |
2522 | 203 |
} else { |
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
204 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
205 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
2522 | 206 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
207 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
208 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
209 |
../../build/QTfrontend/hwconsts.cpp |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
210 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
211 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
212 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
213 |
../QTfrontend/SparkleAutoUpdater.h |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
214 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
215 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
2522 | 216 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
217 |
CONFIG += warn_on x86 |
|
218 |
||
219 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
220 |
} |