mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 12:45:35 +08:00
This is required for MacOS 10.14 and later. This also requires an explanation why access is required in the apps Info.plist. Hence added custom Info.plist templates for each app.
42 lines
910 B
Prolog
42 lines
910 B
Prolog
load(common_pre)
|
|
|
|
QT += core dbus network widgets
|
|
|
|
TARGET = swiftdata
|
|
TEMPLATE = app
|
|
|
|
SOURCES += *.cpp
|
|
HEADERS += *.h
|
|
FORMS += *.ui
|
|
CONFIG += blackconfig blackmisc blacksound blackinput blackcore blackgui
|
|
|
|
DEPENDPATH += . $$SourceRoot/src/blackmisc \
|
|
$$SourceRoot/src/blacksound \
|
|
$$SourceRoot/src/blackcore \
|
|
$$SourceRoot/src/blackgui \
|
|
$$SourceRoot/src/blackinput
|
|
|
|
INCLUDEPATH += . $$SourceRoot/src
|
|
|
|
OTHER_FILES += *.qss *.ico *.rc *.icns
|
|
RC_FILE = swiftdata.rc
|
|
DISTFILES += swiftdata.rc
|
|
ICON = swiftdata.icns
|
|
|
|
DESTDIR = $$DestRoot/bin
|
|
|
|
target.path = $$PREFIX/bin
|
|
INSTALLS += target
|
|
|
|
macx {
|
|
QMAKE_TARGET_BUNDLE_PREFIX = "org.swift-project"
|
|
QMAKE_INFO_PLIST = Info.plist
|
|
|
|
# Modifies plugin path
|
|
qtconf.path = $$PREFIX/bin/swiftdata.app/Contents/Resources
|
|
qtconf.files = qt.conf
|
|
INSTALLS += qtconf
|
|
}
|
|
|
|
load(common_post)
|