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