Remove unused stuff from pro.
This commit is contained in:
parent
1b4cea233a
commit
7a6c826a8f
63
rssguard.pro
63
rssguard.pro
@ -88,21 +88,19 @@ isEmpty(PREFIX) {
|
|||||||
PREFIX = $$OUT_PWD/app
|
PREFIX = $$OUT_PWD/app
|
||||||
}
|
}
|
||||||
|
|
||||||
|
android {
|
||||||
|
PREFIX = $$OUT_PWD/app
|
||||||
|
}
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
PREFIX = $$quote($$OUT_PWD/$${APP_NAME}.app)
|
PREFIX = $$quote($$OUT_PWD/$${APP_NAME}.app)
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:!mac {
|
unix:!mac:!android {
|
||||||
PREFIX = $$OUT_PWD/usr
|
PREFIX = $$OUT_PWD/usr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(DESTDIR) {
|
|
||||||
unix:!mac {
|
|
||||||
DESTDIR = $$OUT_PWD/bin
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
isEmpty(USE_WEBENGINE) {
|
isEmpty(USE_WEBENGINE) {
|
||||||
USE_WEBENGINE = false
|
USE_WEBENGINE = false
|
||||||
message("rssguard: USE_WEBENGINE variable is not set.")
|
message("rssguard: USE_WEBENGINE variable is not set.")
|
||||||
@ -191,8 +189,8 @@ UI_DIR = $$OUT_PWD/ui
|
|||||||
|
|
||||||
equals(USE_WEBENGINE, true) {
|
equals(USE_WEBENGINE, true) {
|
||||||
message(rssguard: Application will be compiled WITH QtWebEngine module.)
|
message(rssguard: Application will be compiled WITH QtWebEngine module.)
|
||||||
QT += webenginewidgets
|
QT *= webenginewidgets
|
||||||
DEFINES += USE_WEBENGINE
|
DEFINES *= USE_WEBENGINE
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
message(rssguard: Application will be compiled without QtWebEngine module. Some features will be disabled.)
|
message(rssguard: Application will be compiled without QtWebEngine module. Some features will be disabled.)
|
||||||
@ -609,11 +607,6 @@ INCLUDEPATH += $$PWD/. \
|
|||||||
$$PWD/src/gui/dialogs \
|
$$PWD/src/gui/dialogs \
|
||||||
$$PWD/src/dynamic-shortcuts
|
$$PWD/src/dynamic-shortcuts
|
||||||
|
|
||||||
TEXTS = resources/text/CHANGELOG \
|
|
||||||
resources/text/COPYING_BSD \
|
|
||||||
resources/text/COPYING_GNU_GPL \
|
|
||||||
resources/text/COPYING_GNU_GPL_HTML
|
|
||||||
|
|
||||||
# Make sure QM translations are gnerated.
|
# Make sure QM translations are gnerated.
|
||||||
lrelease.input = TRANSLATIONS
|
lrelease.input = TRANSLATIONS
|
||||||
lrelease.output = $$PWD/resources/localizations/${QMAKE_FILE_BASE}.qm
|
lrelease.output = $$PWD/resources/localizations/${QMAKE_FILE_BASE}.qm
|
||||||
@ -698,39 +691,7 @@ win32 {
|
|||||||
qt_dlls_plugins.files = resources/binaries/windows/qt5-msvc2015/*
|
qt_dlls_plugins.files = resources/binaries/windows/qt5-msvc2015/*
|
||||||
qt_dlls_plugins.path = $$quote($$PREFIX/)
|
qt_dlls_plugins.path = $$quote($$PREFIX/)
|
||||||
|
|
||||||
misc_sql.files = resources/sql/*.sql
|
INSTALLS += target qt_dlls_root qt_dlls_plugins
|
||||||
misc_sql.path = $$quote($$PREFIX/sql/)
|
|
||||||
|
|
||||||
misc_icons.files = resources/graphics/misc
|
|
||||||
misc_icons.path = $$quote($$PREFIX/icons/)
|
|
||||||
|
|
||||||
faenza.files = resources/graphics/Faenza
|
|
||||||
faenza.path = $$quote($$PREFIX/icons/)
|
|
||||||
|
|
||||||
skins.files = resources/skins
|
|
||||||
skins.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
feeds.files = resources/initial_feeds
|
|
||||||
feeds.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
texts.files = $$TEXTS
|
|
||||||
texts.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
ico.files = resources/graphics/$${TARGET}.ico
|
|
||||||
ico.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
app_icon.files = resources/graphics/$${TARGET}.png
|
|
||||||
app_icon.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
app_plain_icon.files = resources/graphics/$${TARGET}_plain.png
|
|
||||||
app_plain_icon.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
translations.files = $$OUT_PWD/translations
|
|
||||||
translations.path = $$quote($$PREFIX/)
|
|
||||||
|
|
||||||
INSTALLS += target misc_sql qt_dlls_root qt_dlls_plugins \
|
|
||||||
misc_icons faenza skins \
|
|
||||||
feeds texts ico app_icon app_plain_icon translations
|
|
||||||
|
|
||||||
equals(USE_WEBENGINE, true) {
|
equals(USE_WEBENGINE, true) {
|
||||||
# Copy extra resource files for QtWebEngine.
|
# Copy extra resource files for QtWebEngine.
|
||||||
@ -755,6 +716,12 @@ unix:!mac:!android {
|
|||||||
INSTALLS += target desktop_file
|
INSTALLS += target desktop_file
|
||||||
}
|
}
|
||||||
|
|
||||||
|
android {
|
||||||
|
target.path = $$PREFIX
|
||||||
|
|
||||||
|
INSTALLS += target
|
||||||
|
}
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
IDENTIFIER = org.$${TARGET}.RSSGuard
|
IDENTIFIER = org.$${TARGET}.RSSGuard
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
@ -782,5 +749,5 @@ mac {
|
|||||||
pkginfo.extra = @printf "APPL????" > $$shell_quote($$PREFIX/Contents/PkgInfo)
|
pkginfo.extra = @printf "APPL????" > $$shell_quote($$PREFIX/Contents/PkgInfo)
|
||||||
pkginfo.path = $$quote($$PREFIX/Contents/)
|
pkginfo.path = $$quote($$PREFIX/Contents/)
|
||||||
|
|
||||||
INSTALLS += target icns_icon info_plist info_plist2 pkginfo
|
INSTALLS += target icns_icon info_plist info_plist2 pkginfounix
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user