73 lines
2.2 KiB
INI
73 lines
2.2 KiB
INI
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2018-10-19T15:29:47
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui x11extras dbus KWindowSystem svg concurrent network
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = kylin-nm
|
|
TEMPLATE = app
|
|
|
|
CONFIG += c++14 qt warn_on link_pkgconfig
|
|
CONFIG += no_keywords
|
|
#CONFIG += release
|
|
|
|
#PKGCONFIG +=gio-2.0 glib-2.0 gio-unix-2.0 libnm libnma libsecret-1 gtk+-3.0 gsettings-qt libcap
|
|
#PKGCONFIG +=libnm libnma libsecret-1 gsettings-qt libcap
|
|
PKGCONFIG +=gsettings-qt
|
|
|
|
#INCLUDEPATH += /usr/include/KF5/NetworkManagerQt
|
|
INCLUDEPATH += /usr/include/kylin-nm
|
|
INCLUDEPATH += /usr/include/kylin-nm-depend
|
|
|
|
LIBS += -L/usr/lib/ -lgsettings-qt -lX11 -lKF5NetworkManagerQt -lkylin-nm-base -lkylin-nm-external
|
|
|
|
target.path = /usr/bin
|
|
target.source += $$TARGET
|
|
desktop.path = /etc/xdg/autostart/
|
|
desktop.files = kylin-nm.desktop
|
|
gschema.files = org.ukui.kylin-nm.switch.gschema.xml
|
|
gschema.path = /usr/share/glib-2.0/schemas/
|
|
|
|
INSTALLS += target \
|
|
desktop \
|
|
gschema \
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
|
# depend on your compiler). Please consult the documentation of the
|
|
# deprecated API in order to know how to port your code away from it.
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
# QMAKE_CXXFLAGS += -Wno-unused-parameter
|
|
QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
|
|
QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS)
|
|
QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
|
|
QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS)
|
|
|
|
include(singleapplication/qt-single-application.pri)
|
|
include(frontend/frontend.pri)
|
|
|
|
RESOURCES += \
|
|
../nmqrc.qrc
|
|
|
|
SOURCES += \
|
|
main.cpp
|
|
|
|
unix {
|
|
UI_DIR = .ui
|
|
MOC_DIR = .moc
|
|
OBJECTS_DIR = .obj
|
|
}
|
|
|
|
DISTFILES += \
|
|
org.ukui.kylin-nm.switch.gschema.xml
|