2009-04-10 18:56:23 +00:00
|
|
|
# QMake pro-file for PokerTH game
|
2010-10-13 17:47:16 +00:00
|
|
|
|
2013-04-06 23:27:52 +02:00
|
|
|
# Hack around https://bugreports.qt-project.org/browse/QTBUG-22829
|
|
|
|
|
QMAKE_MOC = $$QMAKE_MOC -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
|
|
|
|
|
2010-10-13 17:47:16 +00:00
|
|
|
isEmpty( PREFIX ){
|
|
|
|
|
PREFIX =/usr
|
|
|
|
|
}
|
|
|
|
|
|
2009-04-10 18:56:23 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
CODECFORSRC = UTF-8
|
2009-08-17 23:20:58 +00:00
|
|
|
CONFIG += qt \
|
2010-10-13 17:47:16 +00:00
|
|
|
thread \
|
|
|
|
|
embed_manifest_exe \
|
|
|
|
|
exceptions \
|
|
|
|
|
rtti \
|
|
|
|
|
stl \
|
|
|
|
|
warn_on
|
2009-09-13 18:11:48 +00:00
|
|
|
include(src/third_party/qtsingleapplication/qtsingleapplication.pri)
|
2010-05-29 14:05:41 +00:00
|
|
|
QT += sql
|
2013-08-28 10:49:03 +02:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2009-04-10 18:56:23 +00:00
|
|
|
UI_DIR = uics
|
|
|
|
|
MOC_DIR = mocs
|
|
|
|
|
OBJECTS_DIR = obj
|
2011-11-17 19:24:06 +00:00
|
|
|
DEFINES += ENABLE_IPV6 TIXML_USE_STL BOOST_FILESYSTEM_DEPRECATED
|
2009-04-10 18:56:23 +00:00
|
|
|
DEFINES += PREFIX=\"$${PREFIX}\"
|
|
|
|
|
TARGET = pokerth
|
2009-05-07 22:36:51 +00:00
|
|
|
|
2017-04-15 23:17:53 +02:00
|
|
|
# Check for c++11
|
|
|
|
|
include(pokerth_common.pro)
|
|
|
|
|
|
2009-06-05 19:36:07 +00:00
|
|
|
# PRECOMPILED_HEADER = src/pch_game.h
|
2012-05-04 01:06:04 +00:00
|
|
|
|
|
|
|
|
android{
|
|
|
|
|
RESOURCES = src/gui/qt/resources/pokerth_android.qrc
|
|
|
|
|
}
|
|
|
|
|
!android{
|
|
|
|
|
RESOURCES = src/gui/qt/resources/pokerth.qrc
|
|
|
|
|
}
|
|
|
|
|
|
2009-04-10 18:56:23 +00:00
|
|
|
INCLUDEPATH += . \
|
2010-10-13 17:47:16 +00:00
|
|
|
src \
|
|
|
|
|
src/engine \
|
|
|
|
|
src/gui \
|
|
|
|
|
src/net \
|
|
|
|
|
src/engine/local_engine \
|
|
|
|
|
src/engine/network_engine \
|
|
|
|
|
src/config \
|
|
|
|
|
src/gui/qt \
|
|
|
|
|
src/gui/qt/connecttoserverdialog \
|
|
|
|
|
src/core \
|
|
|
|
|
src/gui/qt/sound \
|
|
|
|
|
src/gui/qt/qttools \
|
|
|
|
|
src/gui/qt/chattools \
|
|
|
|
|
src/gui/qt/qttools/qthelper \
|
|
|
|
|
src/gui/qt/gametable \
|
|
|
|
|
src/gui/qt/gametable/startsplash \
|
2011-02-08 14:40:14 +00:00
|
|
|
src/gui/qt/gametable/log \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/aboutpokerth \
|
|
|
|
|
src/gui/qt/createnetworkgamedialog \
|
|
|
|
|
src/gui/qt/createinternetgamedialog \
|
|
|
|
|
src/gui/qt/joinnetworkgamedialog \
|
|
|
|
|
src/gui/qt/newlocalgamedialog \
|
|
|
|
|
src/gui/qt/settingsdialog \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog \
|
|
|
|
|
src/gui/qt/settingsdialog/manualblindsorderdialog \
|
|
|
|
|
src/gui/qt/startnetworkgamedialog \
|
|
|
|
|
src/gui/qt/startwindow \
|
|
|
|
|
src/gui/qt/serverlistdialog \
|
|
|
|
|
src/gui/qt/styles \
|
|
|
|
|
src/gui/qt/changecontentdialog \
|
|
|
|
|
src/gui/qt/changecompleteblindsdialog \
|
|
|
|
|
src/gui/qt/internetgamelogindialog \
|
|
|
|
|
src/gui/qt/mymessagedialog \
|
|
|
|
|
src/gui/qt/gamelobbydialog \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/timeoutmsgbox \
|
|
|
|
|
src/gui/qt/logfiledialog \
|
|
|
|
|
src/gui/qt/mymessagebox
|
2012-05-22 00:48:35 +02:00
|
|
|
|
2009-04-10 18:56:23 +00:00
|
|
|
DEPENDPATH += . \
|
2010-10-13 17:47:16 +00:00
|
|
|
src \
|
|
|
|
|
src/config \
|
|
|
|
|
src/core \
|
|
|
|
|
src/engine \
|
|
|
|
|
src/gui \
|
|
|
|
|
src/net \
|
|
|
|
|
src/core/common \
|
|
|
|
|
src/engine/local_engine \
|
|
|
|
|
src/engine/network_engine \
|
|
|
|
|
src/gui/qt \
|
|
|
|
|
src/net/common \
|
|
|
|
|
src/gui/qt/sound \
|
|
|
|
|
src/gui/qt/chattools \
|
|
|
|
|
src/gui/qt/gametable \
|
|
|
|
|
src/gui/qt/gametable/startsplash \
|
2011-02-08 14:40:14 +00:00
|
|
|
src/gui/qt/gametable/log \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/aboutpokerth \
|
|
|
|
|
src/gui/qt/connecttoserverdialog \
|
|
|
|
|
src/gui/qt/createinternetgamedialog \
|
|
|
|
|
src/gui/qt/createnetworkgamedialog \
|
|
|
|
|
src/gui/qt/joinnetworkgamedialog \
|
|
|
|
|
src/gui/qt/qttools \
|
|
|
|
|
src/gui/qt/qttools/qthelper \
|
|
|
|
|
src/gui/qt/newlocalgamedialog \
|
|
|
|
|
src/gui/qt/settingsdialog \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog \
|
|
|
|
|
src/gui/qt/settingsdialog/manualblindsorderdialog \
|
|
|
|
|
src/gui/qt/startnetworkgamedialog \
|
|
|
|
|
src/gui/qt/startwindow \
|
|
|
|
|
src/gui/qt/serverlistdialog \
|
|
|
|
|
src/gui/qt/styles \
|
|
|
|
|
src/gui/qt/changecontentdialog \
|
|
|
|
|
src/gui/qt/internetgamelogindialog \
|
|
|
|
|
src/gui/qt/changecompleteblindsdialog \
|
|
|
|
|
src/gui/qt/mymessagedialog \
|
|
|
|
|
src/gui/qt/gamelobbydialog \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/timeoutmsgbox \
|
|
|
|
|
src/gui/qt/logfiledialog \
|
|
|
|
|
src/gui/qt/mymessagebox
|
2009-04-10 18:56:23 +00:00
|
|
|
|
|
|
|
|
# Input
|
2011-07-16 07:40:43 +00:00
|
|
|
HEADERS += src/engine/game.h \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/session.h \
|
|
|
|
|
src/playerdata.h \
|
|
|
|
|
src/gamedata.h \
|
|
|
|
|
src/config/configfile.h \
|
|
|
|
|
src/core/thread.h \
|
|
|
|
|
src/core/loghelper.h \
|
|
|
|
|
src/engine/boardinterface.h \
|
|
|
|
|
src/engine/enginefactory.h \
|
|
|
|
|
src/engine/handinterface.h \
|
|
|
|
|
src/engine/playerinterface.h \
|
|
|
|
|
src/engine/berointerface.h \
|
|
|
|
|
src/gui/guiinterface.h \
|
|
|
|
|
src/net/clientcallback.h \
|
|
|
|
|
src/net/clientcontext.h \
|
|
|
|
|
src/net/clientexception.h \
|
|
|
|
|
src/net/clientstate.h \
|
|
|
|
|
src/net/clientthread.h \
|
|
|
|
|
src/net/genericsocket.h \
|
|
|
|
|
src/net/netpacket.h \
|
|
|
|
|
src/net/senderhelper.h \
|
|
|
|
|
src/net/serveraccepthelper.h \
|
|
|
|
|
src/net/serverlobbythread.h \
|
|
|
|
|
src/net/socket_helper.h \
|
|
|
|
|
src/net/socket_msg.h \
|
|
|
|
|
src/net/socket_startup.h \
|
|
|
|
|
src/net/net_helper.h \
|
|
|
|
|
src/engine/local_engine/cardsvalue.h \
|
|
|
|
|
src/engine/local_engine/localboard.h \
|
|
|
|
|
src/engine/local_engine/localenginefactory.h \
|
|
|
|
|
src/engine/local_engine/localhand.h \
|
|
|
|
|
src/engine/local_engine/localplayer.h \
|
|
|
|
|
src/engine/local_engine/localberopreflop.h \
|
|
|
|
|
src/engine/local_engine/localberoflop.h \
|
|
|
|
|
src/engine/local_engine/localberoturn.h \
|
|
|
|
|
src/engine/local_engine/localberoriver.h \
|
|
|
|
|
src/engine/local_engine/localberopostriver.h \
|
|
|
|
|
src/engine/local_engine/tools.h \
|
|
|
|
|
src/engine/local_engine/localbero.h \
|
|
|
|
|
src/engine/network_engine/clientboard.h \
|
|
|
|
|
src/engine/network_engine/clientenginefactory.h \
|
|
|
|
|
src/engine/network_engine/clienthand.h \
|
|
|
|
|
src/engine/network_engine/clientplayer.h \
|
|
|
|
|
src/engine/network_engine/clientbero.h \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/chattools/chattools.h \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/gametable/gametableimpl.h \
|
|
|
|
|
src/gui/qt/gametable/mycardspixmaplabel.h \
|
|
|
|
|
src/gui/qt/gametable/mysetlabel.h \
|
|
|
|
|
src/gui/qt/gametable/myactionbutton.h \
|
|
|
|
|
src/gui/qt/gametable/mystatuslabel.h \
|
|
|
|
|
src/gui/qt/gametable/myavatarlabel.h \
|
|
|
|
|
src/gui/qt/gametable/myrighttabwidget.h \
|
|
|
|
|
src/gui/qt/gametable/mylefttabwidget.h \
|
|
|
|
|
src/gui/qt/gametable/startsplash/startsplash.h \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/gametable/log/guilog.h \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/guiwrapper.h \
|
|
|
|
|
src/gui/qt/aboutpokerth/aboutpokerthimpl.h \
|
|
|
|
|
src/gui/qt/connecttoserverdialog/connecttoserverdialogimpl.h \
|
|
|
|
|
src/gui/qt/createnetworkgamedialog/createnetworkgamedialogimpl.h \
|
|
|
|
|
src/gui/qt/createinternetgamedialog/createinternetgamedialogimpl.h \
|
|
|
|
|
src/gui/qt/joinnetworkgamedialog/joinnetworkgamedialogimpl.h \
|
|
|
|
|
src/gui/qt/newlocalgamedialog/newgamedialogimpl.h \
|
|
|
|
|
src/gui/qt/settingsdialog/settingsdialogimpl.h \
|
|
|
|
|
src/gui/qt/settingsdialog/myavatarbutton.h \
|
|
|
|
|
src/gui/qt/settingsdialog/myhpavatarbutton.h \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog/selectavatardialogimpl.h \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog/myavatarlistitem.h \
|
|
|
|
|
src/gui/qt/settingsdialog/manualblindsorderdialog/manualblindsorderdialogimpl.h \
|
|
|
|
|
src/gui/qt/startnetworkgamedialog/startnetworkgamedialogimpl.h \
|
|
|
|
|
src/gui/qt/startwindow/startwindowimpl.h \
|
|
|
|
|
src/gui/qt/styles/gametablestylereader.h \
|
|
|
|
|
src/gui/qt/styles/carddeckstylereader.h \
|
|
|
|
|
src/gui/qt/changecontentdialog/changecontentdialogimpl.h \
|
|
|
|
|
src/gui/qt/changecompleteblindsdialog/changecompleteblindsdialogimpl.h \
|
|
|
|
|
src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h \
|
|
|
|
|
src/gui/qt/gamelobbydialog/mygamelisttreewidget.h \
|
|
|
|
|
src/gui/qt/timeoutmsgbox/timeoutmsgboximpl.h \
|
|
|
|
|
src/gui/qt/mymessagedialog/mymessagedialogimpl.h \
|
|
|
|
|
src/gui/qttoolsinterface.h \
|
|
|
|
|
src/gui/qt/qttools/qttoolswrapper.h \
|
|
|
|
|
src/gui/qt/qttools/qthelper/qthelper.h \
|
|
|
|
|
src/gui/generic/serverguiwrapper.h \
|
|
|
|
|
src/gui/qt/gametable/mychancelabel.h \
|
|
|
|
|
src/gui/qt/serverlistdialog/serverlistdialogimpl.h \
|
|
|
|
|
src/gui/qt/gametable/mytimeoutlabel.h \
|
|
|
|
|
src/gui/qt/gametable/mynamelabel.h \
|
|
|
|
|
src/gui/qt/settingsdialog/mystylelistitem.h \
|
|
|
|
|
src/gui/qt/gamelobbydialog/mygamelistsortfilterproxymodel.h \
|
|
|
|
|
src/gui/qt/internetgamelogindialog/internetgamelogindialogimpl.h \
|
|
|
|
|
src/engine/local_engine/replay.h \
|
|
|
|
|
src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.h \
|
2011-12-20 22:11:23 +00:00
|
|
|
src/gui/qt/gametable/myslider.h \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/gametable/mycashlabel.h \
|
|
|
|
|
src/gui/qt/sound/soundevents.h \
|
|
|
|
|
src/gui/qt/mymessagebox/mymessagebox.h \
|
|
|
|
|
src/gui/qt/logfiledialog/logfiledialog.h
|
2011-10-17 13:08:31 +00:00
|
|
|
|
|
|
|
|
!gui_800x480 {
|
2012-12-25 15:33:01 +01:00
|
|
|
FORMS += src/gui/qt/gametable.ui \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/aboutpokerth.ui \
|
|
|
|
|
src/gui/qt/connecttoserverdialog.ui \
|
|
|
|
|
src/gui/qt/createnetworkgamedialog.ui \
|
|
|
|
|
src/gui/qt/createinternetgamedialog.ui \
|
|
|
|
|
src/gui/qt/joinnetworkgamedialog.ui \
|
|
|
|
|
src/gui/qt/newgamedialog.ui \
|
|
|
|
|
src/gui/qt/settingsdialog.ui \
|
|
|
|
|
src/gui/qt/selectavatardialog.ui \
|
|
|
|
|
src/gui/qt/startnetworkgamedialog.ui \
|
|
|
|
|
src/gui/qt/startwindow.ui \
|
|
|
|
|
src/gui/qt/changecompleteblindsdialog.ui \
|
|
|
|
|
src/gui/qt/gamelobbydialog.ui \
|
|
|
|
|
src/gui/qt/mymessagedialog.ui \
|
|
|
|
|
src/gui/qt/manualblindsorderdialog.ui \
|
|
|
|
|
src/gui/qt/serverlistdialog.ui \
|
|
|
|
|
src/gui/qt/internetgamelogindialog.ui \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/logfiledialog.ui \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/changecontentdialog.ui
|
2011-10-17 13:08:31 +00:00
|
|
|
}
|
|
|
|
|
|
2009-04-19 20:23:20 +00:00
|
|
|
SOURCES += src/pokerth.cpp \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/chattools/chattools.cpp \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/guiwrapper.cpp \
|
|
|
|
|
src/gui/qt/qttools/qttoolswrapper.cpp \
|
|
|
|
|
src/gui/qt/qttools/qthelper/qthelper.cpp \
|
|
|
|
|
src/gui/qt/gametable/gametableimpl.cpp \
|
|
|
|
|
src/gui/qt/gametable/mycardspixmaplabel.cpp \
|
|
|
|
|
src/gui/qt/gametable/mysetlabel.cpp \
|
|
|
|
|
src/gui/qt/gametable/myactionbutton.cpp \
|
|
|
|
|
src/gui/qt/gametable/mystatuslabel.cpp \
|
|
|
|
|
src/gui/qt/gametable/myavatarlabel.cpp \
|
|
|
|
|
src/gui/qt/gametable/myrighttabwidget.cpp \
|
|
|
|
|
src/gui/qt/gametable/mylefttabwidget.cpp \
|
|
|
|
|
src/gui/qt/gametable/startsplash/startsplash.cpp \
|
2011-02-08 14:40:14 +00:00
|
|
|
src/gui/qt/gametable/log/guilog.cpp \
|
2010-10-13 17:47:16 +00:00
|
|
|
src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp \
|
|
|
|
|
src/gui/qt/connecttoserverdialog/connecttoserverdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/createnetworkgamedialog/createnetworkgamedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/createinternetgamedialog/createinternetgamedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/joinnetworkgamedialog/joinnetworkgamedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/newlocalgamedialog/newgamedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/settingsdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/myavatarbutton.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/myhpavatarbutton.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog/selectavatardialogimpl.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/selectavatardialog/myavatarlistitem.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/manualblindsorderdialog/manualblindsorderdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/startnetworkgamedialog/startnetworkgamedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/startwindow/startwindowimpl.cpp \
|
|
|
|
|
src/gui/qt/styles/gametablestylereader.cpp \
|
|
|
|
|
src/gui/qt/styles/carddeckstylereader.cpp \
|
|
|
|
|
src/gui/qt/changecontentdialog/changecontentdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/changecompleteblindsdialog/changecompleteblindsdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/mymessagedialog/mymessagedialogimpl.cpp \
|
|
|
|
|
src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp \
|
|
|
|
|
src/gui/qt/gamelobbydialog/mygamelisttreewidget.cpp \
|
|
|
|
|
src/gui/qt/timeoutmsgbox/timeoutmsgboximpl.cpp \
|
|
|
|
|
src/net/common/net_helper_client.cpp \
|
|
|
|
|
src/core/common/loghelper_client.cpp \
|
|
|
|
|
src/gui/qt/gametable/mychancelabel.cpp \
|
|
|
|
|
src/gui/qt/serverlistdialog/serverlistdialogimpl.cpp \
|
|
|
|
|
src/gui/qt/gametable/mytimeoutlabel.cpp \
|
|
|
|
|
src/gui/qt/gametable/mynamelabel.cpp \
|
|
|
|
|
src/gui/qt/settingsdialog/mystylelistitem.cpp \
|
|
|
|
|
src/gui/qt/gamelobbydialog/mygamelistsortfilterproxymodel.cpp \
|
|
|
|
|
src/gui/qt/internetgamelogindialog/internetgamelogindialogimpl.cpp \
|
|
|
|
|
src/engine/local_engine/replay.cpp \
|
2011-03-11 21:56:24 +00:00
|
|
|
src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.cpp \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/net/common/servermanagerfactoryclient.cpp \
|
|
|
|
|
src/gui/qt/gametable/mycashlabel.cpp \
|
|
|
|
|
src/gui/qt/sound/soundevents.cpp \
|
|
|
|
|
src/gui/qt/mymessagebox/mymessagebox.cpp \
|
|
|
|
|
src/gui/qt/logfiledialog/logfiledialog.cpp
|
2012-12-18 19:20:52 +01:00
|
|
|
|
2010-08-29 21:50:18 +00:00
|
|
|
TRANSLATIONS = ts/pokerth_af.ts \
|
2010-10-13 17:47:16 +00:00
|
|
|
ts/pokerth_bg.ts \
|
|
|
|
|
ts/pokerth_zhcn.ts \
|
|
|
|
|
ts/pokerth_ca.ts \
|
|
|
|
|
ts/pokerth_cz.ts \
|
|
|
|
|
ts/pokerth_dk.ts \
|
|
|
|
|
ts/pokerth_nl.ts \
|
|
|
|
|
ts/pokerth_fr.ts \
|
|
|
|
|
ts/pokerth_fi.ts \
|
|
|
|
|
ts/pokerth_de.ts \
|
2013-02-14 10:53:20 +01:00
|
|
|
ts/pokerth_gd.ts \
|
2013-03-16 20:49:20 +01:00
|
|
|
ts/pokerth_gl.ts \
|
2010-10-13 17:47:16 +00:00
|
|
|
ts/pokerth_gr.ts \
|
|
|
|
|
ts/pokerth_hu.ts \
|
|
|
|
|
ts/pokerth_it.ts \
|
2011-06-17 12:45:46 +00:00
|
|
|
ts/pokerth_jp.ts \
|
2010-10-13 17:47:16 +00:00
|
|
|
ts/pokerth_lt.ts \
|
|
|
|
|
ts/pokerth_no.ts \
|
|
|
|
|
ts/pokerth_pl.ts \
|
|
|
|
|
ts/pokerth_ptbr.ts \
|
|
|
|
|
ts/pokerth_ptpt.ts \
|
|
|
|
|
ts/pokerth_ru.ts \
|
|
|
|
|
ts/pokerth_sk.ts \
|
|
|
|
|
ts/pokerth_es.ts \
|
|
|
|
|
ts/pokerth_sv.ts \
|
|
|
|
|
ts/pokerth_ta.ts \
|
|
|
|
|
ts/pokerth_tr.ts \
|
2013-06-17 09:52:41 +02:00
|
|
|
ts/pokerth_vi.ts \
|
2010-10-13 17:47:16 +00:00
|
|
|
ts/pokerth_START_HERE.ts
|
2010-11-27 23:45:10 +00:00
|
|
|
|
|
|
|
|
LIBS += -lpokerth_lib \
|
|
|
|
|
-lpokerth_db \
|
|
|
|
|
-lpokerth_protocol \
|
2011-03-11 21:56:24 +00:00
|
|
|
-lcurl
|
2010-11-27 23:45:10 +00:00
|
|
|
|
2009-04-19 20:23:20 +00:00
|
|
|
win32 {
|
2010-10-13 17:47:16 +00:00
|
|
|
DEFINES += CURL_STATICLIB
|
|
|
|
|
DEFINES += _WIN32_WINNT=0x0501
|
2012-12-25 15:33:01 +01:00
|
|
|
DEFINES += HAVE_OPENSSL
|
2010-10-13 17:47:16 +00:00
|
|
|
DEPENDPATH += src/net/win32/ \
|
|
|
|
|
src/core/win32
|
|
|
|
|
INCLUDEPATH += ../boost/ \
|
|
|
|
|
../SDL/include \
|
2010-10-09 00:17:27 +00:00
|
|
|
../SDL/include/SDL \
|
2010-10-19 19:23:31 +00:00
|
|
|
../SDL_mixer/include \
|
2012-12-25 15:33:01 +01:00
|
|
|
../openssl/include \
|
2010-10-13 17:47:16 +00:00
|
|
|
../gsasl/include \
|
|
|
|
|
../curl/include \
|
2010-12-20 18:27:48 +00:00
|
|
|
../sqlite \
|
2010-10-13 17:47:16 +00:00
|
|
|
../zlib
|
|
|
|
|
LIBPATH += ../boost/stage/lib \
|
2010-10-09 08:41:52 +00:00
|
|
|
../openssl/lib \
|
2010-10-13 17:47:16 +00:00
|
|
|
../gsasl/lib \
|
|
|
|
|
../curl/lib \
|
|
|
|
|
../SDL/lib \
|
|
|
|
|
../SDL_mixer/lib \
|
|
|
|
|
../mysql/lib \
|
|
|
|
|
../zlib
|
2012-12-25 15:33:01 +01:00
|
|
|
LIBS += -lSDL_mixer \
|
|
|
|
|
-lsmpeg \
|
|
|
|
|
-lSDL \
|
|
|
|
|
-lSDLmain \
|
|
|
|
|
-ltinyxml \
|
|
|
|
|
-lz \
|
|
|
|
|
-lssl \
|
2012-12-25 16:02:40 +01:00
|
|
|
-lcrypto \
|
2012-12-25 15:53:18 +01:00
|
|
|
-lssh2 \
|
|
|
|
|
-lgnutls \
|
|
|
|
|
-lhogweed \
|
|
|
|
|
-lgmp \
|
|
|
|
|
-lgcrypt \
|
|
|
|
|
-lgpg-error \
|
2012-12-25 15:33:01 +01:00
|
|
|
-lgsasl \
|
2013-06-08 20:22:27 +02:00
|
|
|
-lnettle \
|
2012-12-25 15:33:01 +01:00
|
|
|
-lidn \
|
|
|
|
|
-lintl \
|
|
|
|
|
-lprotobuf
|
|
|
|
|
debug:LIBPATH += debug/lib
|
|
|
|
|
release:LIBPATH += release/lib
|
|
|
|
|
LIBS += -lsqlite3
|
|
|
|
|
LIBS += -lntlm -lmodplug -lddraw -ldxguid -lvorbisfile -lvorbis -logg
|
|
|
|
|
LIBS += -lboost_thread_win32-mt
|
|
|
|
|
LIBS += -lboost_filesystem-mt
|
|
|
|
|
LIBS += -lboost_regex-mt
|
|
|
|
|
LIBS += -lboost_iostreams-mt
|
|
|
|
|
LIBS += -lboost_random-mt
|
|
|
|
|
LIBS += -lboost_chrono-mt
|
|
|
|
|
LIBS += -lboost_system-mt
|
2011-11-17 19:45:20 +00:00
|
|
|
|
2010-10-19 15:51:27 +00:00
|
|
|
LIBS += \
|
|
|
|
|
-lgdi32 \
|
2010-10-13 17:47:16 +00:00
|
|
|
-lcomdlg32 \
|
|
|
|
|
-loleaut32 \
|
|
|
|
|
-limm32 \
|
|
|
|
|
-lwinmm \
|
|
|
|
|
-lwinspool \
|
|
|
|
|
-lole32 \
|
|
|
|
|
-luuid \
|
|
|
|
|
-luser32 \
|
|
|
|
|
-lmsimg32 \
|
|
|
|
|
-lshell32 \
|
|
|
|
|
-lkernel32 \
|
|
|
|
|
-lmswsock \
|
|
|
|
|
-lws2_32 \
|
|
|
|
|
-ladvapi32 \
|
2012-11-24 12:28:34 +01:00
|
|
|
-lwldap32 \
|
|
|
|
|
-lcrypt32
|
2010-10-13 17:47:16 +00:00
|
|
|
RC_FILE = pokerth.rc
|
2009-04-10 18:56:23 +00:00
|
|
|
}
|
2009-04-19 20:23:20 +00:00
|
|
|
unix:!mac {
|
2010-10-13 17:47:16 +00:00
|
|
|
# #### My release static build options
|
|
|
|
|
# QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
|
|
|
|
|
# QMAKE_LFLAGS += -Wl,--gc-sections
|
2010-10-30 17:27:56 +00:00
|
|
|
INCLUDEPATH += $${PREFIX}/include
|
2013-06-17 09:52:41 +02:00
|
|
|
QMAKE_LIBDIR += lib
|
2012-04-22 10:18:27 +00:00
|
|
|
!android{
|
2012-04-22 11:11:12 +00:00
|
|
|
LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
|
2012-04-22 10:18:27 +00:00
|
|
|
LIB_DIRS = $${PREFIX}/lib \
|
2013-10-20 18:47:23 +02:00
|
|
|
$${PREFIX}/lib64 \
|
2017-01-05 20:12:45 +01:00
|
|
|
$${PREFIX}/lib/x86_64-linux-gnu \
|
2013-10-20 18:47:23 +02:00
|
|
|
$$system(qmake -query QT_INSTALL_LIBS)
|
2012-04-22 10:18:27 +00:00
|
|
|
}
|
|
|
|
|
android{
|
2013-08-28 10:49:03 +02:00
|
|
|
LIBPATH += $${PREFIX}/lib/armv7
|
|
|
|
|
LIB_DIRS = $${PREFIX}/lib/armv7
|
2012-04-22 10:18:27 +00:00
|
|
|
}
|
2010-10-13 17:47:16 +00:00
|
|
|
BOOST_FS = boost_filesystem \
|
|
|
|
|
boost_filesystem-mt
|
|
|
|
|
BOOST_THREAD = boost_thread \
|
|
|
|
|
boost_thread-mt
|
|
|
|
|
BOOST_IOSTREAMS = boost_iostreams \
|
|
|
|
|
boost_iostreams-mt
|
|
|
|
|
BOOST_REGEX = boost_regex \
|
|
|
|
|
boost_regex-mt
|
|
|
|
|
BOOST_SYS = boost_system \
|
|
|
|
|
boost_system-mt
|
2011-10-11 15:15:22 +00:00
|
|
|
BOOST_RANDOM = boost_random \
|
|
|
|
|
boost_random-mt
|
2017-04-15 23:17:53 +02:00
|
|
|
BOOST_CHRONO = boost_chrono \
|
|
|
|
|
boost_chrono-mt
|
2010-10-13 17:47:16 +00:00
|
|
|
|
2013-10-20 18:47:23 +02:00
|
|
|
# searching in $PREFIX/lib, $PREFIX/lib64 and $$system(qmake -query QT_INSTALL_LIBS)
|
2010-10-13 17:47:16 +00:00
|
|
|
# to override the default '/usr' pass PREFIX
|
|
|
|
|
# variable to qmake.
|
|
|
|
|
for(dir, LIB_DIRS):exists($$dir) {
|
2010-10-30 17:43:49 +00:00
|
|
|
for(lib, BOOST_THREAD):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_THREAD = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_THREAD):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_THREAD = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_FS):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_FS = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_FS):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_FS = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_IOSTREAMS):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_IOSTREAMS = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_IOSTREAMS):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_IOSTREAMS = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_REGEX):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_REGEX = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_REGEX):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_REGEX = -l$$lib
|
|
|
|
|
}
|
2012-04-22 10:18:27 +00:00
|
|
|
!android{
|
|
|
|
|
for(lib, BOOST_RANDOM):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_RANDOM = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_RANDOM):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_RANDOM = -l$$lib
|
|
|
|
|
}
|
2011-10-11 15:15:22 +00:00
|
|
|
}
|
2010-10-30 17:43:49 +00:00
|
|
|
for(lib, BOOST_SYS):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_SYS = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_SYS):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_SYS = -l$$lib
|
|
|
|
|
}
|
2017-04-15 23:17:53 +02:00
|
|
|
!c++11 {
|
|
|
|
|
for(lib, BOOST_CHRONO):exists($${dir}/lib$${lib}.so*) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_CHRONO = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
for(lib, BOOST_CHRONO):exists($${dir}/lib$${lib}.a) {
|
|
|
|
|
message("Found $$lib")
|
|
|
|
|
BOOST_CHRONO = -l$$lib
|
|
|
|
|
}
|
|
|
|
|
}
|
2010-10-13 17:47:16 +00:00
|
|
|
}
|
2012-04-22 10:18:27 +00:00
|
|
|
!android{
|
2017-04-15 23:17:53 +02:00
|
|
|
c++11 {
|
|
|
|
|
BOOST_LIBS = $$BOOST_THREAD \
|
2012-04-22 10:18:27 +00:00
|
|
|
$$BOOST_FS \
|
|
|
|
|
$$BOOST_IOSTREAMS \
|
|
|
|
|
$$BOOST_REGEX \
|
|
|
|
|
$$BOOST_RANDOM \
|
|
|
|
|
$$BOOST_SYS
|
|
|
|
|
!count(BOOST_LIBS, 6):error("Unable to find boost libraries in PREFIX=$${PREFIX}")
|
2017-04-15 23:17:53 +02:00
|
|
|
}
|
|
|
|
|
!c++11 {
|
|
|
|
|
BOOST_LIBS = $$BOOST_THREAD \
|
|
|
|
|
$$BOOST_FS \
|
|
|
|
|
$$BOOST_IOSTREAMS \
|
|
|
|
|
$$BOOST_REGEX \
|
|
|
|
|
$$BOOST_RANDOM \
|
|
|
|
|
$$$$BOOST_SYS \
|
|
|
|
|
$$BOOST_CHRONO
|
|
|
|
|
!count(BOOST_LIBS, 7):error("Unable to find boost libraries in PREFIX=$${PREFIX}")
|
|
|
|
|
}
|
2012-04-22 10:18:27 +00:00
|
|
|
if($$system(sdl-config --version)):error("sdl-config not found in PATH - libSDL_mixer, libSDL are required!")
|
|
|
|
|
UNAME = $$system(uname -s)
|
|
|
|
|
BSD = $$find(UNAME, "BSD")
|
|
|
|
|
kFreeBSD = $$find(UNAME, "kFreeBSD")
|
|
|
|
|
LIBS += -lsqlite3 \
|
2012-09-18 19:52:02 +02:00
|
|
|
-ltinyxml \
|
|
|
|
|
-lprotobuf
|
2012-04-22 10:18:27 +00:00
|
|
|
LIBS += $$BOOST_LIBS
|
|
|
|
|
LIBS += -lSDL \
|
|
|
|
|
-lSDL_mixer \
|
|
|
|
|
-lgsasl
|
|
|
|
|
!isEmpty( BSD ):isEmpty( kFreeBSD ):LIBS += -lcrypto
|
|
|
|
|
else:LIBS += -lgcrypt
|
|
|
|
|
}
|
|
|
|
|
android{
|
|
|
|
|
BOOST_LIBS = $$BOOST_THREAD \
|
|
|
|
|
$$BOOST_FS \
|
|
|
|
|
$$BOOST_IOSTREAMS \
|
|
|
|
|
$$BOOST_REGEX \
|
|
|
|
|
$$BOOST_SYS
|
2012-04-22 10:50:06 +00:00
|
|
|
!count(BOOST_LIBS, 5):error("Unable to find boost libraries in PREFIX=$${PREFIX}/armv5")
|
2012-04-22 10:18:27 +00:00
|
|
|
LIBS += -ltinyxml
|
|
|
|
|
LIBS += $$BOOST_LIBS
|
2012-04-23 20:50:51 +00:00
|
|
|
LIBS += -lgsasl -lidn
|
2012-12-20 18:31:03 +01:00
|
|
|
LIBS += -lssl -lcrypto -lgcrypt -lgpg-error -lprotobuf-lite
|
|
|
|
|
|
|
|
|
|
!android_api8 {
|
|
|
|
|
#android sound lib for api9 and higher
|
|
|
|
|
LIBS += -lOpenSLES
|
|
|
|
|
}
|
2012-04-22 10:18:27 +00:00
|
|
|
}
|
2010-10-13 17:47:16 +00:00
|
|
|
TARGETDEPS += ./lib/libpokerth_lib.a \
|
|
|
|
|
./lib/libpokerth_db.a \
|
|
|
|
|
./lib/libpokerth_protocol.a
|
|
|
|
|
|
2012-04-22 10:18:27 +00:00
|
|
|
!android{
|
|
|
|
|
# #### My release static libs
|
|
|
|
|
# LIBS += -lgcrypt_static -lgpg-error_static -lgnutls_static -lSDL_mixer_static -lSDL -lmikmod -lcurl
|
|
|
|
|
# ### INSTALL ####
|
|
|
|
|
binary.path += $${PREFIX}/bin/
|
|
|
|
|
binary.files += pokerth
|
|
|
|
|
data.path += $${PREFIX}/share/pokerth/data/
|
|
|
|
|
data.files += data/*
|
|
|
|
|
pixmap.path += $${PREFIX}/share/pixmaps/
|
|
|
|
|
pixmap.files += pokerth.png
|
|
|
|
|
desktop.path += $${PREFIX}/share/applications/
|
|
|
|
|
desktop.files += pokerth.desktop
|
|
|
|
|
INSTALLS += binary \
|
|
|
|
|
data \
|
|
|
|
|
pixmap \
|
|
|
|
|
desktop
|
|
|
|
|
}
|
2009-04-19 20:23:20 +00:00
|
|
|
}
|
|
|
|
|
mac {
|
2012-12-25 15:33:01 +01:00
|
|
|
# make it x86_64 only
|
|
|
|
|
CONFIG += x86_64
|
|
|
|
|
CONFIG -= x86
|
|
|
|
|
CONFIG -= ppc
|
2017-06-24 18:20:49 +02:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
|
2010-11-28 10:40:44 +00:00
|
|
|
QMAKE_CXXFLAGS -= -std=gnu++0x
|
2010-10-13 17:47:16 +00:00
|
|
|
|
2011-05-08 22:20:26 +00:00
|
|
|
# workaround for problems with boost_filesystem exceptions
|
|
|
|
|
QMAKE_LFLAGS += -no_dead_strip_inits_and_terms
|
|
|
|
|
|
2010-10-13 17:47:16 +00:00
|
|
|
# for universal-compilation on PPC-Mac uncomment the following line
|
|
|
|
|
# on Intel-Mac you have to comment this line out or build will fail.
|
|
|
|
|
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
|
|
|
|
|
LIBPATH += lib
|
|
|
|
|
|
|
|
|
|
# QT dynamic linked framework (see also mac_post_make.sh)
|
2017-06-24 18:20:49 +02:00
|
|
|
LIBS += -F /Library/Frameworks
|
2010-10-13 17:47:16 +00:00
|
|
|
LIBS += -framework \
|
|
|
|
|
QtCore
|
|
|
|
|
LIBS += -framework \
|
|
|
|
|
QtGui
|
2017-06-24 18:20:49 +02:00
|
|
|
LIBS += -framework \
|
|
|
|
|
SDL
|
|
|
|
|
LIBS += -framework \
|
|
|
|
|
SDL_mixer
|
2010-10-13 17:47:16 +00:00
|
|
|
|
2012-12-25 15:33:01 +01:00
|
|
|
# make sure you have an x86_64 version of boost
|
2017-06-24 18:20:49 +02:00
|
|
|
LIBS += /usr/local/lib/libboost_thread-mt.a
|
2010-10-13 17:47:16 +00:00
|
|
|
LIBS += /usr/local/lib/libboost_filesystem.a
|
|
|
|
|
LIBS += /usr/local/lib/libboost_regex.a
|
2011-10-11 15:15:22 +00:00
|
|
|
LIBS += /usr/local/lib/libboost_random.a
|
2010-10-13 17:47:16 +00:00
|
|
|
LIBS += /usr/local/lib/libboost_system.a
|
|
|
|
|
LIBS += /usr/local/lib/libboost_iostreams.a
|
|
|
|
|
LIBS += /usr/local/lib/libgsasl.a
|
|
|
|
|
|
|
|
|
|
# libraries installed on every mac
|
|
|
|
|
LIBS += -lcrypto \
|
|
|
|
|
-lssl \
|
2010-12-20 18:27:48 +00:00
|
|
|
-lsqlite3 \
|
2011-02-08 14:40:14 +00:00
|
|
|
-ltinyxml \
|
2012-12-22 18:09:33 +01:00
|
|
|
-lprotobuf \
|
2010-10-13 17:47:16 +00:00
|
|
|
-lz \
|
|
|
|
|
-framework \
|
2017-06-24 18:20:49 +02:00
|
|
|
Cocoa
|
2010-10-13 17:47:16 +00:00
|
|
|
|
|
|
|
|
# set the application icon
|
|
|
|
|
RC_FILE = pokerth.icns
|
2017-06-24 18:20:49 +02:00
|
|
|
|
|
|
|
|
LIBPATH += /usr/local/lib
|
|
|
|
|
LIBPATH += /usr/local/opt/openssl/lib
|
|
|
|
|
LIBPATH += /usr/local/opt/tinyxml/lib
|
|
|
|
|
LIBPATH += /usr/local/opt/protobuf/lib
|
2013-08-31 00:42:03 +02:00
|
|
|
INCLUDEPATH += /usr/local/include
|
2017-06-24 18:20:49 +02:00
|
|
|
INCLUDEPATH += /usr/local/opt/openssl/include
|
|
|
|
|
INCLUDEPATH += /usr/local/opt/tinyxml/include
|
|
|
|
|
INCLUDEPATH += /usr/local/opt/protobuf/include
|
|
|
|
|
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
|
|
|
|
|
INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
|
2009-04-10 18:56:23 +00:00
|
|
|
}
|
2010-03-28 22:17:18 +00:00
|
|
|
OTHER_FILES += docs/infomessage-id-desc.txt
|
2010-09-16 19:57:32 +00:00
|
|
|
official_server {
|
2010-10-13 17:47:16 +00:00
|
|
|
LIBPATH += pkth_stat/daemon_lib/lib
|
2016-09-03 21:03:43 +02:00
|
|
|
LIBS += -lpokerth_dbofficial \
|
2010-10-13 17:47:16 +00:00
|
|
|
-lmysqlpp
|
|
|
|
|
DEFINES += POKERTH_OFFICIAL_SERVER
|
2010-08-28 09:24:54 +00:00
|
|
|
}
|
2011-10-17 13:33:16 +00:00
|
|
|
|
|
|
|
|
gui_800x480 {
|
|
|
|
|
|
2012-12-25 15:33:01 +01:00
|
|
|
DEFINES += GUI_800x480
|
|
|
|
|
INCLUDEPATH += src/gui/qt/gui_800x480/
|
|
|
|
|
DEPENDPATH += src/gui/qt/gui_800x480/
|
2012-01-24 20:48:38 +00:00
|
|
|
FORMS += src/gui/qt/gui_800x480/startwindow_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/gametable_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/aboutpokerth_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/connecttoserverdialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/createnetworkgamedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/createinternetgamedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/joinnetworkgamedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/newgamedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/settingsdialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/selectavatardialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/startnetworkgamedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/changecompleteblindsdialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/mymessagedialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/manualblindsorderdialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/serverlistdialog_800x480.ui \
|
|
|
|
|
src/gui/qt/gui_800x480/internetgamelogindialog_800x480.ui \
|
2012-02-03 16:49:54 +00:00
|
|
|
src/gui/qt/gui_800x480/changecontentdialog_800x480.ui \
|
2012-12-25 15:33:01 +01:00
|
|
|
src/gui/qt/gui_800x480/logfiledialog_800x480.ui \
|
2012-02-03 16:49:54 +00:00
|
|
|
src/gui/qt/gui_800x480/tabs_800x480.ui
|
2011-10-17 13:33:16 +00:00
|
|
|
}
|
2011-12-20 22:11:23 +00:00
|
|
|
|
2012-04-22 10:18:27 +00:00
|
|
|
android{
|
|
|
|
|
# Use old boost::filesystem, because the new version requires std::wstring.
|
2013-08-28 10:49:03 +02:00
|
|
|
DEFINES += BOOST_FILESYSTEM_VERSION=3
|
2013-08-31 14:23:24 +02:00
|
|
|
DEFINES += TIXML_USE_STL
|
2012-04-22 10:18:27 +00:00
|
|
|
# sqlite3 is included directly.
|
|
|
|
|
INCLUDEPATH += src/third_party/sqlite3
|
2012-12-18 19:20:52 +01:00
|
|
|
|
2012-12-20 18:31:03 +01:00
|
|
|
# sound system switches
|
|
|
|
|
!android_api8 {
|
|
|
|
|
HEADERS += src/gui/qt/sound/androidaudio.h \
|
|
|
|
|
src/gui/qt/sound/androidsoundeffect.h
|
2012-12-18 19:20:52 +01:00
|
|
|
|
2012-12-20 18:31:03 +01:00
|
|
|
SOURCES += src/gui/qt/sound/androidaudio.cpp \
|
|
|
|
|
src/gui/qt/sound/androidsoundeffect.cpp
|
|
|
|
|
}
|
|
|
|
|
android_api8 {
|
|
|
|
|
DEFINES += ANDROID_API8
|
|
|
|
|
HEADERS += src/gui/qt/sound/androidapi8dummy.h
|
|
|
|
|
SOURCES += src/gui/qt/sound/androidapi8dummy.cpp
|
|
|
|
|
}
|
2012-04-22 10:18:27 +00:00
|
|
|
}
|
2012-05-04 01:06:04 +00:00
|
|
|
|
2012-12-20 09:11:57 +01:00
|
|
|
!android{
|
2012-12-25 15:33:01 +01:00
|
|
|
HEADERS += src/gui/qt/sound/sdlplayer.h
|
|
|
|
|
SOURCES += src/gui/qt/sound/sdlplayer.cpp
|
2012-12-20 09:11:57 +01:00
|
|
|
}
|
|
|
|
|
|
2012-06-05 01:43:37 +02:00
|
|
|
maemo{
|
2012-12-25 15:33:01 +01:00
|
|
|
DEFINES += MAEMO
|
2012-06-05 01:43:37 +02:00
|
|
|
}
|
2012-08-28 22:50:40 +02:00
|
|
|
|
2012-09-06 21:01:27 +02:00
|
|
|
android_test{
|
|
|
|
|
DEFINES += ANDROID
|
2012-12-22 00:18:54 +01:00
|
|
|
DEFINES += ANDROID_TEST
|
2012-12-22 19:08:23 +01:00
|
|
|
DEFINES += ANDROID_API8
|
|
|
|
|
HEADERS += src/gui/qt/sound/androidapi8dummy.h
|
|
|
|
|
SOURCES += src/gui/qt/sound/androidapi8dummy.cpp
|
2012-09-06 21:01:27 +02:00
|
|
|
}
|