klog/klog.pro

183 lines
3.8 KiB
Prolog
Raw Normal View History

2017-05-02 19:38:54 +00:00
CONFIG += app_bundle
CONFIG += static
#CONFIG += release
TEMPLATE = app
2017-06-25 16:59:42 +00:00
VERSION = 0.9.2.7
2017-05-02 19:38:54 +00:00
DEFINES += APP_VERSION="$$VERSION"
APP_NAME = KLog
DEFINES += APP_NAME="$$APP_NAME"
APP_UNIX_NAME = klog
DEFINES += APP_UNIX_NAME="$$APP_UNIX_NAME"
message(Building $${APP_NAME} $${VERSION})
message(Qt $$[QT_VERSION] in $$[QT_INSTALL_PREFIX])
#DEFINES *= QT_NO_DEBUG_OUTPUT
DEFINES *= QT_USE_QSTRINGBUILDER
DEFINES *= QT_STRICT_ITERATORS
TARGET = $${APP_UNIX_NAME}
2015-01-14 18:51:30 +00:00
QT += core \
2017-05-02 19:38:54 +00:00
gui \
2015-01-14 18:51:30 +00:00
sql \
2015-11-06 19:49:03 +00:00
network \
widgets
2017-05-02 19:38:54 +00:00
greaterThan(QT_MAJOR_VERSION, 4) {
2015-01-14 18:51:30 +00:00
QT *= printsupport
QT += widgets
}
2015-12-26 10:06:22 +00:00
2017-05-02 19:38:54 +00:00
HEADERS += setupdialog.h \
aboutdialog.h \
mainwindow.h \
world.h \
logwindow.h \
filemanager.h \
contest.h \
database.h \
setuppagemisc.h \
locator.h \
dxcluster.h \
awards.h \
setuppageuserdata.h \
setuppagedxcluster.h \
setuppagecolors.h \
contest_cqwwdxssb.h \
setuppagelogs.h \
setuppageworldeditor.h \
setupentitydialog.h \
startwizard.h \
downloadcty.h \
dataproxy.h \
dataproxy_sqlite.h \
mainwindowsattab.h \
awarddxmarathon.h \
setuppagelogsnew.h \
setuppageclublog.h \
elogclublog.h \
softwareupdate.h \
softwareupdatedialog.h \
utilities.h \
dxccstatuswidget.h \
mainwindowmydatatab.h \
mainwindowinputcomment.h \
mainwindowinputothers.h \
mainwindowinputeqsl.h \
2017-06-25 16:59:42 +00:00
mainwindowinputqsl.h \
2017-07-03 21:44:26 +00:00
setuppagebandmode.h \
2017-08-07 11:31:13 +00:00
logmodel.h \
2017-08-14 13:15:08 +00:00
searchwidget.h \
infowidget.h
SOURCES += main.cpp \
2017-05-02 19:38:54 +00:00
aboutdialog.cpp \
setupdialog.cpp \
2017-05-02 19:38:54 +00:00
mainwindow.cpp \
world.cpp \
logwindow.cpp \
filemanager.cpp \
contest.cpp \
contest_cqwwdxssb.cpp \
database.cpp \
dataproxy.cpp \
dataproxy_sqlite.cpp \
downloadcty.cpp \
2017-05-02 19:38:54 +00:00
dxcluster.cpp \
setuppagemisc.cpp \
locator.cpp \
2017-05-02 19:38:54 +00:00
awards.cpp \
setuppageuserdata.cpp \
setuppagedxcluster.cpp \
2017-05-02 19:38:54 +00:00
setuppagecolors.cpp \
setuppagelogs.cpp \
setuppageworldeditor.cpp \
2017-05-02 19:38:54 +00:00
setupentitydialog.cpp \
startwizard.cpp \
mainwindowsattab.cpp \
2017-05-02 19:38:54 +00:00
awarddxmarathon.cpp \
setuppagelogsnew.cpp \
setuppageclublog.cpp \
elogclublog.cpp \
2017-05-02 19:38:54 +00:00
softwareupdate.cpp \
softwareupdatedialog.cpp \
utilities.cpp \
dxccstatuswidget.cpp \
mainwindowmydatatab.cpp \
mainwindowinputcomment.cpp \
mainwindowinputothers.cpp \
mainwindowinputeqsl.cpp \
2017-06-25 16:59:42 +00:00
mainwindowinputqsl.cpp \
2017-07-03 21:44:26 +00:00
setuppagebandmode.cpp \
2017-08-07 11:31:13 +00:00
logmodel.cpp \
2017-08-14 13:15:08 +00:00
searchwidget.cpp \
infowidget.cpp
2017-05-02 19:38:54 +00:00
OTHER_FILES += \
2015-05-02 19:00:48 +00:00
README-DEVEL \
2017-05-02 19:38:54 +00:00
TODO \
2015-01-14 18:51:30 +00:00
tips-for-devel.txt \
INSTALL.txt \
2015-05-02 19:00:48 +00:00
INSTALL-linux \
2015-01-14 18:51:30 +00:00
INSTALL-win.txt \
Changelog \
INSTALL-osx.txt \
NEWS \
klog.1 \
COPYING \
AUTHORS \
README
2017-05-02 19:38:54 +00:00
RESOURCES += klog.qrc
DESTDIR = build/target/
OBJECTS_DIR = build/obj/
MOC_DIR = build/moc/
RCC_DIR = build/rcc/
# Tell Qt Linguist that we use UTF-8 strings in our sources
2015-01-14 18:51:30 +00:00
CODECFORTR = UTF-8
2017-05-02 19:38:54 +00:00
CODECFORSRC = UTF-8
2017-05-06 17:27:18 +00:00
#include(translations/translations.pri)
TRANSLATIONS = translations/klog_es.ts \
translations/klog_ca.ts \
translations/klog_hr.ts \
translations/klog_it.ts \
2017-08-14 13:15:08 +00:00
translations/klog_pl.ts \
translations/klog_template.ts \
2017-05-06 17:27:18 +00:00
translations/klog_ja.ts
2015-12-26 10:06:22 +00:00
2017-05-02 19:38:54 +00:00
# deploy
DISTFILES += CHANGES COPYING
unix:!mac {
DEFINES += APP_LINUX
CONFIG += c++11
2015-11-06 19:49:03 +00:00
2017-05-02 19:38:54 +00:00
# QT += dbus
isEmpty(PREFIX):PREFIX = /usr
BINDIR = $$PREFIX/bin
INSTALLS += target
target.path = $$BINDIR
DATADIR = $$PREFIX/share
PKGDATADIR = $$DATADIR/klog
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
PKGDATADIR=\\\"$$PKGDATADIR\\\"
translations.path = $$PKGDATADIR
translations.files += $$DESTDIR/translations
INSTALLS += translations
}
macx: {
ICON = klog.icns
TARGET = KLog
}
win32: {
RC_ICONS = klog.ico
TARGET = klog
}
else:TARGET = klog