2015-05-13 07:49:49 -07:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2015-03-03T02:49:12
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui
|
2015-05-27 02:15:13 -07:00
|
|
|
win32:QT += winextras
|
2015-05-13 07:49:49 -07:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TARGET = MinetestMapperGui
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
2015-06-02 19:42:10 -07:00
|
|
|
mainwindow.cpp \
|
2015-07-02 06:11:29 -07:00
|
|
|
colorlineedit.cpp \
|
2016-12-14 01:00:35 -08:00
|
|
|
geometry.cpp \
|
2015-10-14 08:58:37 -07:00
|
|
|
geometrywidget.cpp \
|
2016-11-02 02:11:53 -07:00
|
|
|
configdialog.cpp \
|
|
|
|
colorstxtassistant.cpp \
|
2016-12-14 01:00:35 -08:00
|
|
|
makecolors.cpp \
|
|
|
|
drawmapfigure.cpp \
|
|
|
|
drawmapfiguretablemodel.cpp \
|
|
|
|
figuredelegate.cpp
|
|
|
|
|
2015-05-13 07:49:49 -07:00
|
|
|
|
2015-06-02 19:42:10 -07:00
|
|
|
HEADERS += mainwindow.h \
|
2015-07-02 06:11:29 -07:00
|
|
|
colorlineedit.h \
|
2016-12-14 01:00:35 -08:00
|
|
|
geometry.h \
|
2015-10-14 08:58:37 -07:00
|
|
|
geometrywidget.h \
|
2016-11-02 02:11:53 -07:00
|
|
|
configdialog.h \
|
|
|
|
colorstxtassistant.h \
|
2016-12-14 01:00:35 -08:00
|
|
|
makecolors.h \
|
|
|
|
drawmapfigure.h \
|
|
|
|
drawmapfiguretablemodel.h \
|
|
|
|
figuredelegate.h
|
2015-05-13 07:49:49 -07:00
|
|
|
|
2015-07-02 06:11:29 -07:00
|
|
|
FORMS += mainwindow.ui \
|
2015-10-14 08:58:37 -07:00
|
|
|
geometrywidget.ui \
|
2016-11-02 02:11:53 -07:00
|
|
|
configdialog.ui \
|
|
|
|
colorstxtassistant.ui
|
2015-05-13 07:49:49 -07:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
minetestmappergui.qrc
|
|
|
|
|
|
|
|
TRANSLATIONS = languages/gui_de.ts\
|
|
|
|
languages/gui_en.ts
|
|
|
|
|
2015-05-15 10:44:37 -07:00
|
|
|
|
2015-07-19 23:44:41 -07:00
|
|
|
GIT_VERSION = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
|
|
|
|
#something like 0.4.2-55-g123c456
|
|
|
|
isEmpty(GIT_VERSION) {
|
|
|
|
GIT_VERSION = 0.5.0
|
|
|
|
}
|
|
|
|
# Turns describe output like 0.4.2-55-g652c397 into "0.4.2.55.123c456"
|
|
|
|
GIT_VERSION ~= s/-/"."
|
|
|
|
GIT_VERSION ~= s/g/""
|
2015-05-15 10:44:37 -07:00
|
|
|
|
2015-07-19 23:44:41 -07:00
|
|
|
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
|
|
|
|
|
|
|
|
VERSION = $$GIT_VERSION
|
|
|
|
win32 {
|
|
|
|
VERSION ~= s/\.[a-f0-9]{6,}//
|
|
|
|
#something like 0.4.2.55
|
|
|
|
}
|
2015-05-15 10:44:37 -07:00
|
|
|
|
2015-05-27 02:15:13 -07:00
|
|
|
RC_ICONS = images/icon.ico
|
2015-07-19 23:44:41 -07:00
|
|
|
RC_LANG = 0x04b0
|
2015-05-27 02:15:13 -07:00
|
|
|
|
|
|
|
QMAKE_TARGET_PRODUCT = "Minetest Mappger GUI"
|
|
|
|
QMAKE_TARGET_DESCRIPTION = "Graphical user interface for MinetestMapper"
|
|
|
|
QMAKE_TARGET_COPYRIGHT = "2015 addi; CC BY"
|
2015-05-29 03:14:47 -07:00
|
|
|
|
|
|
|
#add support for windows XP
|
|
|
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|