2016-04-14 01:27:29 +02:00
|
|
|
#/*****************************************************************************
|
2016-12-05 21:35:16 +01:00
|
|
|
#* gta5view Grand Theft Auto V Profile Viewer
|
2017-01-22 19:56:37 +01:00
|
|
|
#* Copyright (C) 2015-2017 Syping
|
2016-04-14 01:27:29 +02: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.
|
|
|
|
#*
|
|
|
|
#* 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.
|
|
|
|
#*
|
|
|
|
#* You should have received a copy of the GNU General Public License
|
|
|
|
#* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#*****************************************************************************/
|
|
|
|
|
|
|
|
QT += core gui network
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2016-11-02 07:46:59 +01:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): greaterThan(QT_MINOR_VERSION, 1): win32: QT += winextras
|
2016-04-14 01:27:29 +02:00
|
|
|
|
2017-01-27 01:53:14 +01:00
|
|
|
DEFINES += GTA5SYNC_DISABLED # disabling sync (remove it for building gta5sync)
|
|
|
|
|
2016-12-05 21:35:16 +01:00
|
|
|
DEPLOYMENT.display_name = gta5view
|
|
|
|
TARGET = gta5view
|
2017-01-27 01:53:14 +01:00
|
|
|
|
2016-04-14 01:27:29 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
AboutDialog.cpp \
|
|
|
|
AppEnv.cpp \
|
|
|
|
CrewDatabase.cpp \
|
|
|
|
DatabaseThread.cpp \
|
2016-04-20 12:04:22 +02:00
|
|
|
ExportDialog.cpp \
|
2016-04-14 01:27:29 +02:00
|
|
|
ExportThread.cpp \
|
2016-04-23 20:15:59 +02:00
|
|
|
GlobalString.cpp \
|
2016-04-14 01:27:29 +02:00
|
|
|
IconLoader.cpp \
|
2017-02-11 04:21:55 +01:00
|
|
|
ImportDialog.cpp \
|
2016-04-14 01:27:29 +02:00
|
|
|
OptionsDialog.cpp \
|
|
|
|
PictureDialog.cpp \
|
|
|
|
PictureExport.cpp \
|
|
|
|
PictureWidget.cpp \
|
|
|
|
ProfileDatabase.cpp \
|
|
|
|
ProfileInterface.cpp \
|
|
|
|
ProfileLoader.cpp \
|
|
|
|
ProfileWidget.cpp \
|
|
|
|
SavegameCopy.cpp \
|
|
|
|
SavegameData.cpp \
|
|
|
|
SavegameDialog.cpp \
|
|
|
|
SavegameWidget.cpp \
|
|
|
|
SidebarGenerator.cpp \
|
2016-12-10 07:55:06 +01:00
|
|
|
SnapmaticEditor.cpp \
|
2016-04-14 01:27:29 +02:00
|
|
|
SnapmaticPicture.cpp \
|
|
|
|
SnapmaticWidget.cpp \
|
|
|
|
StandardPaths.cpp \
|
|
|
|
StringParser.cpp \
|
|
|
|
UserInterface.cpp \
|
|
|
|
uimod/UiModLabel.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
AboutDialog.h \
|
|
|
|
AppEnv.h \
|
|
|
|
CrewDatabase.h \
|
|
|
|
DatabaseThread.h \
|
2016-04-20 12:04:22 +02:00
|
|
|
ExportDialog.h \
|
2016-04-14 01:27:29 +02:00
|
|
|
ExportThread.h \
|
2016-04-23 20:15:59 +02:00
|
|
|
GlobalString.h \
|
2016-04-14 01:27:29 +02:00
|
|
|
IconLoader.h \
|
2017-02-11 04:21:55 +01:00
|
|
|
ImportDialog.h \
|
2016-04-14 01:27:29 +02:00
|
|
|
OptionsDialog.h \
|
|
|
|
PictureDialog.h \
|
|
|
|
PictureExport.h \
|
|
|
|
PictureWidget.h \
|
|
|
|
ProfileDatabase.h \
|
|
|
|
ProfileInterface.h \
|
|
|
|
ProfileLoader.h \
|
|
|
|
ProfileWidget.h \
|
|
|
|
SavegameCopy.h \
|
|
|
|
SavegameData.h \
|
|
|
|
SavegameDialog.h \
|
|
|
|
SavegameWidget.h \
|
|
|
|
SidebarGenerator.h \
|
2016-12-10 07:55:06 +01:00
|
|
|
SnapmaticEditor.h \
|
2016-04-14 01:27:29 +02:00
|
|
|
SnapmaticPicture.h \
|
|
|
|
SnapmaticWidget.h \
|
|
|
|
StandardPaths.h \
|
|
|
|
StringParser.h \
|
|
|
|
UserInterface.h \
|
|
|
|
uimod/UiModLabel.h
|
|
|
|
|
2017-02-11 04:21:55 +01:00
|
|
|
PRECOMPILED_HEADER += config.h
|
|
|
|
|
2016-04-14 01:27:29 +02:00
|
|
|
FORMS += \
|
|
|
|
AboutDialog.ui \
|
2016-04-20 12:04:22 +02:00
|
|
|
ExportDialog.ui \
|
2017-02-11 04:21:55 +01:00
|
|
|
ImportDialog.ui \
|
2016-04-14 01:27:29 +02:00
|
|
|
OptionsDialog.ui \
|
|
|
|
PictureDialog.ui \
|
|
|
|
ProfileInterface.ui \
|
|
|
|
SavegameDialog.ui \
|
|
|
|
SavegameWidget.ui \
|
2016-12-10 07:55:06 +01:00
|
|
|
SnapmaticEditor.ui \
|
2016-04-14 01:27:29 +02:00
|
|
|
SnapmaticWidget.ui \
|
|
|
|
UserInterface.ui
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
res/gta5sync_de.ts \
|
2016-11-02 15:39:17 +01:00
|
|
|
res/gta5sync_fr.ts \
|
2016-04-14 01:27:29 +02:00
|
|
|
lang/gta5sync_ru.ts
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
res/app.qrc
|
|
|
|
|
|
|
|
DISTFILES += res/app.rc \
|
2017-02-11 04:24:37 +01:00
|
|
|
res/gta5view.desktop \
|
2016-04-14 01:27:29 +02:00
|
|
|
res/gta5sync_de.ts \
|
2016-11-02 15:39:17 +01:00
|
|
|
res/gta5sync_fr.ts \
|
2017-02-11 04:24:37 +01:00
|
|
|
res/gta5view.exe.manifest \
|
2016-04-14 01:27:29 +02:00
|
|
|
lang/qtbase_ru.qm \
|
|
|
|
lang/gta5sync_ru.ts \
|
2016-11-02 15:39:17 +01:00
|
|
|
lang/qt_ru.qm \
|
|
|
|
lang/README.txt
|
2016-04-14 01:27:29 +02:00
|
|
|
|
|
|
|
INCLUDEPATH += ./uimod
|
|
|
|
|
|
|
|
# WINDOWS ONLY
|
|
|
|
|
|
|
|
win32: DEFINES += GTA5SYNC_WIN
|
|
|
|
win32: RC_FILE += res/app.rc
|
|
|
|
win32: LIBS += -luser32
|
2016-12-15 09:03:35 +01:00
|
|
|
win32: CONFIG -= embed_manifest_exe
|
2016-04-14 01:27:29 +02: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
|
|
|
|
|
|
|
|
# UNIX SYSTEM STUFF
|
|
|
|
|
|
|
|
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
|
2016-12-06 00:37:30 +01:00
|
|
|
unix: !macx: appfiles.files = $$PWD/res/gta5view.desktop
|
2016-04-14 01:27:29 +02:00
|
|
|
unix: !macx: pixmaps.path = $$(INSTALL_PATH)/share/pixmaps
|
2016-12-06 00:37:30 +01:00
|
|
|
unix: !macx: pixmaps.files = $$PWD/res/gta5view.xpm
|
2016-04-14 01:27:29 +02:00
|
|
|
unix: !macx: target.path = $$(INSTALL_PATH)/bin
|
|
|
|
unix: !macx: INSTALLS += target pixmaps appfiles
|