mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +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.
41 lines
854 B
Prolog
41 lines
854 B
Prolog
load(common_pre)
|
|
|
|
QT += core dbus network widgets
|
|
|
|
TARGET = swiftcore
|
|
TEMPLATE = app
|
|
|
|
SOURCES += *.cpp
|
|
HEADERS += *.h
|
|
FORMS += *.ui
|
|
CONFIG += blackmisc blacksound blackinput blackcore blackgui
|
|
|
|
DEPENDPATH += . $$SourceRoot/src/blackmisc \
|
|
$$SourceRoot/src/blacksound \
|
|
$$SourceRoot/src/blackcore \
|
|
$$SourceRoot/src/blackinput
|
|
|
|
INCLUDEPATH += . $$SourceRoot/src
|
|
|
|
OTHER_FILES += *.qss *.ico *.rc *.icns
|
|
RC_FILE = swiftcore.rc
|
|
DISTFILES += swiftcore.rc
|
|
ICON = swiftcore.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/swiftcore.app/Contents/Resources
|
|
qtconf.files = qt.conf
|
|
INSTALLS += qtconf
|
|
}
|
|
|
|
load(common_post)
|