2016-02-26 22:22:34 +01:00
|
|
|
#/*****************************************************************************
|
|
|
|
#* gta5sync GRAND THEFT AUTO V SYNC
|
2016-03-27 09:52:23 +02:00
|
|
|
#* Copyright (C) 2015-2016 Syping
|
2016-02-26 22:22:34 +01:00
|
|
|
#*
|
2016-03-21 07:54:14 +01:00
|
|
|
#* This program is free software: you can redistribute it and/or modify
|
|
|
|
#* it under the terms of the GNU General Public License as published by
|
|
|
|
#* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
#* (at your option) any later version.
|
2016-02-26 22:22:34 +01:00
|
|
|
#*
|
2016-03-21 07:54:14 +01:00
|
|
|
#* This program is distributed in the hope that it will be useful,
|
|
|
|
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
#* GNU General Public License for more details.
|
2016-02-26 22:22:34 +01:00
|
|
|
#*
|
2016-03-21 07:54:14 +01:00
|
|
|
#* You should have received a copy of the GNU General Public License
|
|
|
|
#* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-02-26 22:22:34 +01:00
|
|
|
#*****************************************************************************/
|
|
|
|
|
2016-03-22 05:20:42 +01:00
|
|
|
QT += core gui network
|
2016-02-26 22:22:34 +01:00
|
|
|
|
2016-03-21 23:18:10 +01:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2016-02-26 22:22:34 +01:00
|
|
|
|
|
|
|
TARGET = gta5sync
|
|
|
|
TEMPLATE = app
|
|
|
|
|
2016-03-23 09:10:46 +01:00
|
|
|
SOURCES += main.cpp \
|
2016-03-28 13:22:40 +02:00
|
|
|
AboutDialog.cpp \
|
|
|
|
CrewDatabase.cpp \
|
|
|
|
DatabaseThread.cpp \
|
2016-03-29 17:37:46 +02:00
|
|
|
IconLoader.cpp \
|
2016-04-03 02:27:24 +02:00
|
|
|
PictureCopy.cpp \
|
2016-03-22 05:20:42 +01:00
|
|
|
PictureDialog.cpp \
|
2016-04-03 02:27:24 +02:00
|
|
|
PictureExport.cpp \
|
2016-03-22 05:20:42 +01:00
|
|
|
ProfileDatabase.cpp \
|
2016-03-28 13:22:40 +02:00
|
|
|
ProfileInterface.cpp \
|
|
|
|
ProfileLoader.cpp \
|
2016-04-03 01:18:48 +02:00
|
|
|
ProfileWidget.cpp \
|
2016-04-02 21:09:07 +02:00
|
|
|
SavegameCopy.cpp \
|
2016-03-23 02:08:16 +01:00
|
|
|
SavegameData.cpp \
|
2016-03-23 06:29:49 +01:00
|
|
|
SavegameDialog.cpp \
|
2016-03-27 09:52:23 +02:00
|
|
|
SavegameWidget.cpp \
|
2016-03-29 15:14:49 +02:00
|
|
|
SidebarGenerator.cpp \
|
2016-03-28 13:22:40 +02:00
|
|
|
SnapmaticPicture.cpp \
|
|
|
|
SnapmaticWidget.cpp \
|
|
|
|
StandardPaths.cpp \
|
2016-03-31 23:41:53 +02:00
|
|
|
StringParser.cpp \
|
2016-04-01 19:32:16 +02:00
|
|
|
UserInterface.cpp \
|
|
|
|
uimod/UiModLabel.cpp
|
2016-02-26 22:22:34 +01:00
|
|
|
|
2016-03-20 21:57:18 +01:00
|
|
|
HEADERS += \
|
2016-03-28 13:22:40 +02:00
|
|
|
AboutDialog.h \
|
|
|
|
CrewDatabase.h \
|
|
|
|
DatabaseThread.h \
|
2016-03-29 17:37:46 +02:00
|
|
|
IconLoader.h \
|
2016-04-03 02:27:24 +02:00
|
|
|
PictureCopy.h \
|
2016-03-22 05:20:42 +01:00
|
|
|
PictureDialog.h \
|
2016-04-03 02:27:24 +02:00
|
|
|
PictureExport.h \
|
2016-03-22 05:20:42 +01:00
|
|
|
ProfileDatabase.h \
|
2016-03-28 13:22:40 +02:00
|
|
|
ProfileInterface.h \
|
|
|
|
ProfileLoader.h \
|
2016-04-03 01:18:48 +02:00
|
|
|
ProfileWidget.h \
|
2016-04-02 21:09:07 +02:00
|
|
|
SavegameCopy.h \
|
2016-03-23 02:08:16 +01:00
|
|
|
SavegameData.h \
|
2016-03-23 06:29:49 +01:00
|
|
|
SavegameDialog.h \
|
2016-03-27 09:52:23 +02:00
|
|
|
SavegameWidget.h \
|
2016-03-29 15:14:49 +02:00
|
|
|
SidebarGenerator.h \
|
2016-03-28 13:22:40 +02:00
|
|
|
SnapmaticPicture.h \
|
|
|
|
SnapmaticWidget.h \
|
|
|
|
StandardPaths.h \
|
2016-03-31 23:41:53 +02:00
|
|
|
StringParser.h \
|
2016-04-01 19:32:16 +02:00
|
|
|
UserInterface.h \
|
|
|
|
uimod/UiModLabel.h
|
2016-02-26 22:22:34 +01:00
|
|
|
|
2016-03-20 21:57:18 +01:00
|
|
|
FORMS += \
|
2016-03-28 13:22:40 +02:00
|
|
|
AboutDialog.ui \
|
2016-03-23 02:08:16 +01:00
|
|
|
PictureDialog.ui \
|
2016-03-25 07:07:58 +01:00
|
|
|
ProfileInterface.ui \
|
2016-03-28 13:22:40 +02:00
|
|
|
SavegameDialog.ui \
|
2016-03-27 18:22:22 +02:00
|
|
|
SavegameWidget.ui \
|
2016-03-28 13:22:40 +02:00
|
|
|
SnapmaticWidget.ui \
|
|
|
|
UserInterface.ui
|
2016-02-27 01:06:24 +01:00
|
|
|
|
2016-03-23 08:53:37 +01:00
|
|
|
TRANSLATIONS += \
|
2016-04-01 17:33:41 +02:00
|
|
|
res/gta5sync_de.ts \
|
2016-04-02 21:09:07 +02:00
|
|
|
lang/gta5sync_ru.ts
|
2016-03-23 08:53:37 +01:00
|
|
|
|
2016-03-23 09:10:46 +01:00
|
|
|
RESOURCES += \
|
2016-03-29 14:29:15 +02:00
|
|
|
res/app.qrc
|
2016-03-20 21:57:18 +01:00
|
|
|
|
2016-04-01 17:33:41 +02:00
|
|
|
DISTFILES += res/app.rc \
|
2016-03-29 14:50:30 +02:00
|
|
|
res/gta5sync.desktop \
|
2016-04-01 17:33:41 +02:00
|
|
|
res/gta5sync_de.ts \
|
2016-04-01 03:53:46 +02:00
|
|
|
lang/gta5sync_ru.qm \
|
|
|
|
lang/qtbase_ru.qm \
|
|
|
|
lang/README.txt \
|
|
|
|
lang/gta5sync_ru.ts \
|
2016-04-01 17:39:36 +02:00
|
|
|
lang/qt_ru.qm
|
2016-04-01 03:53:46 +02:00
|
|
|
|
2016-04-01 21:06:09 +02:00
|
|
|
INCLUDEPATH += ./uimod
|
|
|
|
|
2016-03-29 15:24:55 +02:00
|
|
|
win32: RC_FILE += res/app.rc
|
2016-03-21 07:54:14 +01:00
|
|
|
|
|
|
|
# QT4 ONLY STUFF
|
|
|
|
|
|
|
|
isEqual(QT_MAJOR_VERSION, 4): INCLUDEPATH += ./qjson4
|
|
|
|
isEqual(QT_MAJOR_VERSION, 4): HEADERS += qjson4/QJsonArray.h \
|
|
|
|
qjson4/QJsonDocument.h \
|
|
|
|
qjson4/QJsonObject.h \
|
|
|
|
qjson4/QJsonParseError.h \
|
|
|
|
qjson4/QJsonValue.h \
|
|
|
|
qjson4/QJsonValueRef.h \
|
|
|
|
qjson4/QJsonParser.h \
|
|
|
|
qjson4/QJsonRoot.h
|
|
|
|
|
|
|
|
isEqual(QT_MAJOR_VERSION, 4): SOURCES += qjson4/QJsonArray.cpp \
|
|
|
|
qjson4/QJsonDocument.cpp \
|
|
|
|
qjson4/QJsonObject.cpp \
|
|
|
|
qjson4/QJsonParseError.cpp \
|
|
|
|
qjson4/QJsonValue.cpp \
|
|
|
|
qjson4/QJsonValueRef.cpp \
|
|
|
|
qjson4/QJsonParser.cpp
|
2016-03-28 12:54:08 +02:00
|
|
|
|
2016-03-29 14:29:15 +02:00
|
|
|
# UNIX SYSTEM STUFF
|
|
|
|
|
|
|
|
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
|
2016-03-29 14:50:30 +02:00
|
|
|
unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop
|
2016-03-29 18:52:25 +02:00
|
|
|
unix: !macx: pixmaps.path = $$(INSTALL_PATH)/share/pixmaps
|
|
|
|
unix: !macx: pixmaps.files = $$PWD/res/gta5sync.xpm
|
2016-03-29 14:29:15 +02:00
|
|
|
unix: !macx: target.path = $$(INSTALL_PATH)/bin
|
2016-03-30 22:57:06 +02:00
|
|
|
unix: !macx: INSTALLS += target pixmaps appfiles
|
2016-03-29 15:46:21 +02:00
|
|
|
|
|
|
|
# STATIC BUILD STUFF
|
|
|
|
static: isEqual(QT_MAJOR_VERSION, 4): QTPLUGIN += qjpcodecs
|