project_files/hedgewars.pro
author sheepluva
Tue, 15 May 2018 17:05:40 +0200
branchui-scaling
changeset 13386 72bbccf9a715
parent 13221 02bf6902eeb0
permissions -rw-r--r--
fix some accidental code corruption caused by my last commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     1
TEMPLATE = app
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     2
TARGET = hedgewars
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     3
DEPENDPATH += ../QTfrontend/
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     4
INCLUDEPATH += ../QTfrontend
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     5
INCLUDEPATH += ../QTfrontend/model
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     6
INCLUDEPATH += ../QTfrontend/ui
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     7
INCLUDEPATH += ../QTfrontend/ui/widget
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     8
INCLUDEPATH += ../QTfrontend/ui/page
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
     9
INCLUDEPATH += ../QTfrontend/ui/dialog
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    10
INCLUDEPATH += ../QTfrontend/net
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    11
INCLUDEPATH += ../QTfrontend/util
8381
588a8e6e2041 move platform code around, based off a gci task by dag10
koda
parents: 8374
diff changeset
    12
INCLUDEPATH += ../QTfrontend/util/platform
8705
cd00f0ff224c - Put compiled units into more appropriate dir
unc0rr
parents: 8508
diff changeset
    13
INCLUDEPATH += ../misc/libphysfs
cd00f0ff224c - Put compiled units into more appropriate dir
unc0rr
parents: 8508
diff changeset
    14
INCLUDEPATH += ../misc/libphyslayer
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
    15
INCLUDEPATH += /usr/local/include/lua52/
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    16
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    17
DESTDIR = ../bin
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    18
13221
02bf6902eeb0 Remove Qt SVG and Qt OpenGL as hard dependencies
Wuzzy <Wuzzy2@mail.ru>
parents: 13197
diff changeset
    19
QT += widgets
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    20
QT += network
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    21
QT += webkit
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    22
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    23
HEADERS += ../QTfrontend/model/ThemeModel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    24
    ../QTfrontend/model/MapModel.h \
13197
0bc5f618ca7c Rename the misleadingly-named AmmoSchemeModel to GameSchemeModel
Wuzzy <Wuzzy2@mail.ru>
parents: 12824
diff changeset
    25
    ../QTfrontend/model/gameSchemeModel.h \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    26
    ../QTfrontend/model/netserverslist.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    27
    ../QTfrontend/ui/page/pagedrawmap.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    28
    ../QTfrontend/ui/page/pagedata.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    29
    ../QTfrontend/ui/page/pagetraining.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    30
    ../QTfrontend/ui/page/pageselectweapon.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    31
    ../QTfrontend/ui/page/pagesingleplayer.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    32
    ../QTfrontend/ui/page/pageingame.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    33
    ../QTfrontend/ui/page/pageadmin.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    34
    ../QTfrontend/ui/page/pagescheme.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    35
    ../QTfrontend/ui/page/pagemultiplayer.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    36
    ../QTfrontend/ui/page/pageplayrecord.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    37
    ../QTfrontend/ui/page/pagemain.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    38
    ../QTfrontend/ui/page/pageoptions.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    39
    ../QTfrontend/ui/page/pagenetgame.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    40
    ../QTfrontend/ui/page/pageeditteam.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    41
    ../QTfrontend/ui/page/pageconnecting.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    42
    ../QTfrontend/ui/page/pageroomslist.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    43
    ../QTfrontend/ui/page/pagenet.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    44
    ../QTfrontend/ui/page/pagecampaign.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    45
    ../QTfrontend/ui/page/pageinfo.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    46
    ../QTfrontend/ui/page/pagenetserver.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    47
    ../QTfrontend/ui/page/pagegamestats.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    48
    ../QTfrontend/ui/dialog/input_ip.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    49
    ../QTfrontend/ui/widget/bgwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    50
    ../QTfrontend/ui/widget/fpsedit.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    51
    ../QTfrontend/ui/widget/FreqSpinBox.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    52
    ../QTfrontend/ui/widget/igbox.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    53
    ../QTfrontend/ui/widget/chatwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    54
    ../QTfrontend/ui/widget/togglebutton.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    55
    ../QTfrontend/ui/widget/SquareLabel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    56
    ../QTfrontend/ui/widget/itemNum.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    57
    ../QTfrontend/ui/widget/frameTeam.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    58
    ../QTfrontend/ui/widget/teamselect.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    59
    ../QTfrontend/ui/widget/vertScrollArea.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    60
    ../QTfrontend/ui/widget/about.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    61
    ../QTfrontend/ui/widget/teamselhelper.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    62
    ../QTfrontend/ui/widget/drawmapwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    63
    ../QTfrontend/ui/widget/databrowser.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    64
    ../QTfrontend/ui/widget/hedgehogerWidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    65
    ../QTfrontend/ui/widget/selectWeapon.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    66
    ../QTfrontend/ui/widget/weaponItem.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    67
    ../QTfrontend/ui/widget/gamecfgwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    68
    ../QTfrontend/ui/widget/mapContainer.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    69
    ../QTfrontend/ui/widget/HistoryLineEdit.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    70
    ../QTfrontend/ui/widget/SmartLineEdit.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    71
    ../QTfrontend/util/DataManager.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    72
    ../QTfrontend/net/netregister.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    73
    ../QTfrontend/net/netserver.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    74
    ../QTfrontend/net/netudpwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    75
    ../QTfrontend/net/tcpBase.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    76
    ../QTfrontend/net/proto.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    77
    ../QTfrontend/net/newnetclient.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    78
    ../QTfrontend/net/netudpserver.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    79
    ../QTfrontend/net/hwmap.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    80
    ../QTfrontend/util/namegen.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    81
    ../QTfrontend/ui/page/AbstractPage.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    82
    ../QTfrontend/drawmapscene.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    83
    ../QTfrontend/game.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    84
    ../QTfrontend/gameuiconfig.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    85
    ../QTfrontend/HWApplication.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    86
    ../QTfrontend/hwform.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    87
    ../QTfrontend/util/SDLInteraction.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    88
    ../QTfrontend/team.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    89
    ../QTfrontend/achievements.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    90
    ../QTfrontend/binds.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    91
    ../QTfrontend/ui_hwform.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    92
    ../QTfrontend/hwconsts.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    93
    ../QTfrontend/sdlkeys.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    94
    ../QTfrontend/ui/mouseoverfilter.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    95
    ../QTfrontend/ui/widget/qpushbuttonwithsound.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    96
    ../QTfrontend/model/roomslistmodel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    97
    ../QTfrontend/ui/dialog/input_password.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    98
    ../QTfrontend/ui/widget/colorwidget.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
    99
    ../QTfrontend/model/HatModel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   100
    ../QTfrontend/model/GameStyleModel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   101
    ../QTfrontend/ui/page/pagevideos.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   102
    ../QTfrontend/net/recorder.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   103
    ../QTfrontend/ui/dialog/ask_quit.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   104
    ../QTfrontend/ui/dialog/upload_video.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   105
    ../QTfrontend/campaign.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   106
    ../QTfrontend/model/playerslistmodel.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   107
    ../QTfrontend/util/LibavInteraction.h \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   108
    ../QTfrontend/util/FileEngine.h \
8362
89a6b7cc6f95 - Unbreak build with .pro file
unc0rr
parents: 8223
diff changeset
   109
    ../QTfrontend/ui/dialog/bandialog.h \
8385
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   110
    ../QTfrontend/ui/widget/keybinder.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   111
    ../QTfrontend/ui/widget/seedprompt.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   112
    ../QTfrontend/ui/widget/themeprompt.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   113
    ../QTfrontend/ui/widget/hatbutton.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   114
    ../QTfrontend/util/MessageDialog.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   115
    ../QTfrontend/ui/widget/hatprompt.h \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   116
    ../QTfrontend/ui/widget/feedbackdialog.h \
8401
87410ae372f6 Server messages localization using Qt's l10n subsystem:
unc0rr
parents: 8396
diff changeset
   117
    ../QTfrontend/ui/widget/lineeditcursor.h \
8508
f849b7b3af1d - Ensure that team file exists before saving into it (same fix as for hedgewars.ini, due to bug in Qt)
unc0rr
parents: 8434
diff changeset
   118
    ../QTfrontend/servermessages.h \
9785
74445ca0b489 More sane default weapons: remove rc, freezer, portals and landspray
unc0rr
parents: 9466
diff changeset
   119
    ../QTfrontend/ui/widget/roomnameprompt.h \
10256
b07288b729c4 Some further work on map optimizer
unc0rr
parents: 10235
diff changeset
   120
    ../QTfrontend/weapons.h \
12824
c75781937859 - Update .pro file
unc0rr
parents: 11851
diff changeset
   121
    ../QTfrontend/ui/widget/MinesTimeSpinBox.h \
10256
b07288b729c4 Some further work on map optimizer
unc0rr
parents: 10235
diff changeset
   122
    ../QTfrontend/net/hwmapoptimizer.h
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   123
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   124
13197
0bc5f618ca7c Rename the misleadingly-named AmmoSchemeModel to GameSchemeModel
Wuzzy <Wuzzy2@mail.ru>
parents: 12824
diff changeset
   125
SOURCES += ../QTfrontend/model/gameSchemeModel.cpp \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   126
    ../QTfrontend/model/MapModel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   127
    ../QTfrontend/model/ThemeModel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   128
    ../QTfrontend/model/netserverslist.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   129
    ../QTfrontend/ui/page/pagemain.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   130
    ../QTfrontend/ui/page/pagetraining.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   131
    ../QTfrontend/ui/page/pageroomslist.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   132
    ../QTfrontend/ui/page/pagemultiplayer.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   133
    ../QTfrontend/ui/page/pagegamestats.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   134
    ../QTfrontend/ui/page/pageeditteam.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   135
    ../QTfrontend/ui/page/pagenetgame.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   136
    ../QTfrontend/ui/page/pagedata.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   137
    ../QTfrontend/ui/page/pagedrawmap.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   138
    ../QTfrontend/ui/page/pageplayrecord.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   139
    ../QTfrontend/ui/page/pageselectweapon.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   140
    ../QTfrontend/ui/page/pageingame.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   141
    ../QTfrontend/ui/page/pagenetserver.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   142
    ../QTfrontend/ui/page/pagecampaign.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   143
    ../QTfrontend/ui/page/pageadmin.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   144
    ../QTfrontend/ui/page/pageinfo.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   145
    ../QTfrontend/ui/page/pageconnecting.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   146
    ../QTfrontend/ui/page/pagesingleplayer.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   147
    ../QTfrontend/ui/page/pagenet.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   148
    ../QTfrontend/ui/page/pagescheme.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   149
    ../QTfrontend/ui/page/pageoptions.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   150
    ../QTfrontend/ui/dialog/input_ip.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   151
    ../QTfrontend/ui/widget/igbox.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   152
    ../QTfrontend/ui/widget/selectWeapon.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   153
    ../QTfrontend/ui/widget/FreqSpinBox.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   154
    ../QTfrontend/ui/widget/SquareLabel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   155
    ../QTfrontend/ui/widget/frameTeam.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   156
    ../QTfrontend/ui/widget/fpsedit.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   157
    ../QTfrontend/ui/widget/databrowser.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   158
    ../QTfrontend/ui/widget/teamselect.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   159
    ../QTfrontend/ui/widget/gamecfgwidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   160
    ../QTfrontend/ui/widget/chatwidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   161
    ../QTfrontend/ui/widget/itemNum.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   162
    ../QTfrontend/ui/widget/bgwidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   163
    ../QTfrontend/ui/widget/about.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   164
    ../QTfrontend/ui/widget/togglebutton.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   165
    ../QTfrontend/ui/widget/vertScrollArea.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   166
    ../QTfrontend/ui/widget/hedgehogerWidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   167
    ../QTfrontend/ui/widget/teamselhelper.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   168
    ../QTfrontend/ui/widget/drawmapwidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   169
    ../QTfrontend/ui/widget/weaponItem.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   170
    ../QTfrontend/ui/widget/mapContainer.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   171
    ../QTfrontend/ui/widget/HistoryLineEdit.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   172
    ../QTfrontend/ui/widget/SmartLineEdit.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   173
    ../QTfrontend/util/DataManager.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   174
    ../QTfrontend/net/tcpBase.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   175
    ../QTfrontend/net/netregister.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   176
    ../QTfrontend/net/proto.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   177
    ../QTfrontend/net/hwmap.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   178
    ../QTfrontend/net/netudpserver.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   179
    ../QTfrontend/net/newnetclient.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   180
    ../QTfrontend/net/netudpwidget.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   181
    ../QTfrontend/net/netserver.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   182
    ../QTfrontend/util/namegen.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   183
    ../QTfrontend/ui/page/AbstractPage.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   184
    ../QTfrontend/achievements.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   185
    ../QTfrontend/binds.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   186
    ../QTfrontend/drawmapscene.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   187
    ../QTfrontend/game.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   188
    ../QTfrontend/gameuiconfig.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   189
    ../QTfrontend/HWApplication.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   190
    ../QTfrontend/hwform.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   191
    ../QTfrontend/main.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   192
    ../QTfrontend/util/SDLInteraction.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   193
    ../QTfrontend/team.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   194
    ../QTfrontend/ui_hwform.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   195
    ../QTfrontend/hwconsts.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   196
    ../QTfrontend/ui/mouseoverfilter.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   197
    ../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   198
    ../QTfrontend/model/roomslistmodel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   199
    ../QTfrontend/ui/dialog/input_password.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   200
    ../QTfrontend/ui/widget/colorwidget.cpp \
8374
3a1708759c4f Hat selection reworked
dag10
parents: 8362
diff changeset
   201
    ../QTfrontend/ui/widget/hatbutton.cpp \
3a1708759c4f Hat selection reworked
dag10
parents: 8362
diff changeset
   202
    ../QTfrontend/ui/widget/hatprompt.cpp \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   203
    ../QTfrontend/model/HatModel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   204
    ../QTfrontend/model/GameStyleModel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   205
    ../QTfrontend/ui/page/pagevideos.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   206
    ../QTfrontend/net/recorder.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   207
    ../QTfrontend/ui/dialog/ask_quit.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   208
    ../QTfrontend/ui/dialog/upload_video.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   209
    ../QTfrontend/campaign.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   210
    ../QTfrontend/model/playerslistmodel.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   211
    ../QTfrontend/util/LibavInteraction.cpp \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   212
    ../QTfrontend/util/FileEngine.cpp \
8362
89a6b7cc6f95 - Unbreak build with .pro file
unc0rr
parents: 8223
diff changeset
   213
    ../QTfrontend/ui/dialog/bandialog.cpp \
8385
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   214
    ../QTfrontend/ui/widget/keybinder.cpp \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   215
    ../QTfrontend/ui/widget/seedprompt.cpp \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   216
    ../QTfrontend/ui/widget/themeprompt.cpp \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   217
    ../QTfrontend/util/MessageDialog.cpp \
9e8924ff9813 Convert feedback page to dialog (+some fixes from unC0Rr)
dag10
parents: 8381
diff changeset
   218
    ../QTfrontend/ui/widget/feedbackdialog.cpp \
8508
f849b7b3af1d - Ensure that team file exists before saving into it (same fix as for hedgewars.ini, due to bug in Qt)
unc0rr
parents: 8434
diff changeset
   219
    ../QTfrontend/ui/widget/lineeditcursor.cpp \
10256
b07288b729c4 Some further work on map optimizer
unc0rr
parents: 10235
diff changeset
   220
    ../QTfrontend/ui/widget/roomnameprompt.cpp \
12824
c75781937859 - Update .pro file
unc0rr
parents: 11851
diff changeset
   221
    ../QTfrontend/ui/widget/MinesTimeSpinBox.cpp \
10256
b07288b729c4 Some further work on map optimizer
unc0rr
parents: 10235
diff changeset
   222
    ../QTfrontend/net/hwmapoptimizer.cpp
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   223
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   224
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   225
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   226
    ../share/hedgewars/Data/Locale/hedgewars_bg.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   227
    ../share/hedgewars/Data/Locale/hedgewars_cs.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   228
    ../share/hedgewars/Data/Locale/hedgewars_da.ts \
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   229
    ../share/hedgewars/Data/Locale/hedgewars_de.ts \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   230
    ../share/hedgewars/Data/Locale/hedgewars_el.ts \
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   231
    ../share/hedgewars/Data/Locale/hedgewars_en.ts \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   232
    ../share/hedgewars/Data/Locale/hedgewars_es.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   233
    ../share/hedgewars/Data/Locale/hedgewars_fi.ts \
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   234
    ../share/hedgewars/Data/Locale/hedgewars_fr.ts \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   235
    ../share/hedgewars/Data/Locale/hedgewars_gl.ts \
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   236
    ../share/hedgewars/Data/Locale/hedgewars_hu.ts \
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   237
    ../share/hedgewars/Data/Locale/hedgewars_it.ts \
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   238
    ../share/hedgewars/Data/Locale/hedgewars_ja.ts \
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   239
    ../share/hedgewars/Data/Locale/hedgewars_ko.ts \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   240
    ../share/hedgewars/Data/Locale/hedgewars_lt.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   241
    ../share/hedgewars/Data/Locale/hedgewars_ms.ts \
10235
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   242
    ../share/hedgewars/Data/Locale/hedgewars_nl.ts \
bafca1686867 Drawn maps optimizer - first steps:
unc0rr
parents: 10144
diff changeset
   243
    ../share/hedgewars/Data/Locale/hedgewars_pl.ts \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   244
    ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   245
    ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   246
    ../share/hedgewars/Data/Locale/hedgewars_ro.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   247
    ../share/hedgewars/Data/Locale/hedgewars_ru.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   248
    ../share/hedgewars/Data/Locale/hedgewars_sk.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   249
    ../share/hedgewars/Data/Locale/hedgewars_sv.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   250
    ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   251
    ../share/hedgewars/Data/Locale/hedgewars_uk.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   252
    ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   253
    ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   254
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   255
RESOURCES += ../QTfrontend/hedgewars.qrc
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   256
10463
987ac036c453 Fix map preview desync
unC0Rr
parents: 10256
diff changeset
   257
LIBS += -L../bin -lphysfs -lphyslayer
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   258
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   259
macx {
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   260
    QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
8401
87410ae372f6 Server messages localization using Qt's l10n subsystem:
unc0rr
parents: 8396
diff changeset
   261
    QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   262
8381
588a8e6e2041 move platform code around, based off a gci task by dag10
koda
parents: 8374
diff changeset
   263
    OBJECTIVE_SOURCES += ../QTfrontend/util/platform/*.m ../QTfrontend/util/platform/*.mm
8401
87410ae372f6 Server messages localization using Qt's l10n subsystem:
unc0rr
parents: 8396
diff changeset
   264
    SOURCES += ../QTfrontend/util/platform/AutoUpdater.cpp \
87410ae372f6 Server messages localization using Qt's l10n subsystem:
unc0rr
parents: 8396
diff changeset
   265
               ../QTfrontend/util/platform/InstallController.cpp \
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   266
               ../../build/QTfrontend/hwconsts.cpp
8381
588a8e6e2041 move platform code around, based off a gci task by dag10
koda
parents: 8374
diff changeset
   267
    HEADERS += ../QTfrontend/util/platform/*.h
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   268
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   269
    LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   270
    INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   271
    CONFIG += warn_on x86
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   272
    #CONFIG += x86 ppc x86_64 ppc64
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   273
}
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   274
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   275
win32 {
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   276
    RC_FILE = ../QTfrontend/hedgewars.rc
8381
588a8e6e2041 move platform code around, based off a gci task by dag10
koda
parents: 8374
diff changeset
   277
    LIBS += -L../misc/winutils/lib
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   278
    INCLUDEPATH += ../misc/winutils/include
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   279
}
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   280
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   281
!macx {
9701
7f6786625667 Frontend builds
unc0rr
parents: 9466
diff changeset
   282
    LIBS += -lSDL2 -lSDL2_mixer -lSDL2_net
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   283
    !win32 {
9701
7f6786625667 Frontend builds
unc0rr
parents: 9466
diff changeset
   284
        INCLUDEPATH += /usr/local/include/SDL2 /usr/include/SDL2
8157
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   285
    }
695f1eef72c8 Bans manager
unc0rr
parents: 8085
diff changeset
   286
}