datovka/datovka-fix-pro.patch

59 lines
1.2 KiB
Diff

---
datovka.pro | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
--- a/datovka.pro
+++ b/datovka.pro
@@ -69,7 +69,6 @@ CONFIG += object_parallel_to_source
DEFINES += \
ENABLE_TAGS=1 \
- DEBUG=1 \
VERSION=\\\"$${VERSION}\\\" \
APP_NAME=\\\"$${APP_NAME}\\\" \
APP_ORG_DOMAIN=\\\"cz.nic\\\" \
@@ -123,11 +122,6 @@ unix:!macx {
localisation.files += locale/datovka_cs.qm \
locale/datovka_en.qm
- additional.path = "$${TEXT_FILES_INST_DIR}"
- additional.files = \
- AUTHORS \
- COPYING
-
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
PKGDATADIR=\\\"$$PKGDATADIR\\\" \
LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \
@@ -145,12 +139,11 @@ unix:!macx {
icon64 \
icon128 \
icon256 \
- localisation \
- additional
+ localisation
}
}
-QMAKE_CXXFLAGS = -g -O0
+QMAKE_CXXFLAGS = $$(CXXFLAGS)
isEqual(QT_MAJOR_VERSION, 5) {
QMAKE_CXXFLAGS += -std=c++11
}
@@ -295,15 +288,8 @@ macx {
locale/datovka_en.qm
localisation.files += locale/qtbase_cs.qm
- additional.path = "Contents/Resources"
- additional.files = \
- AUTHORS \
- COPYING \
- ChangeLog
-
QMAKE_BUNDLE_DATA +=\
- localisation \
- additional
+ localisation
}
win32 {