kylin-nm/kylin-nm.pro

191 lines
6.5 KiB
Prolog
Raw Normal View History

#-------------------------------------------------
#
# Project created by QtCreator 2018-10-19T15:29:47
#
#-------------------------------------------------
2021-03-27 21:00:40 +08:00
QT += core gui x11extras dbus KWindowSystem svg concurrent network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = kylin-nm
2020-02-25 21:52:01 +08:00
TEMPLATE = app
2020-02-25 22:08:53 +08:00
LANGUAGE = C++
2020-08-03 10:58:20 +08:00
CONFIG += c++14
2020-02-25 22:08:53 +08:00
CONFIG += qt warn_on
#CONFIG += release
CONFIG += link_pkgconfig
2021-01-22 18:41:20 +08:00
PKGCONFIG +=gio-2.0 glib-2.0 gio-unix-2.0 libnm
INCLUDEPATH += /usr/include/KF5/NetworkManagerQt
LIBS += -L/usr/lib/ -lgsettings-qt -lX11 -lKF5NetworkManagerQt
2021-01-25 09:29:11 +08:00
#LIBS += -lkysec
target.path = /usr/bin
target.source += $$TARGET
desktop.path = /etc/xdg/autostart/
desktop.files = kylin-nm.desktop
2020-12-07 13:49:16 +08:00
inst1.files += src/conf/com.kylin.NetworkManager.qt.systemdbus.service
inst1.path = /usr/share/dbus-1/system-services/
inst2.files += src/conf/com.kylin.NetworkManager.qt.systemdbus.conf
inst2.path = /etc/dbus-1/system.d/
INSTALLS += target \
2020-12-07 13:49:16 +08:00
desktop \
inst1 \
inst2 \
TRANSLATIONS += ./translations/kylin-nm_zh_CN.ts \
./translations/kylin-nm_tr.ts \
./translations/kylin-nm_bo.ts
# 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
2020-02-25 21:52:01 +08:00
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(src/singleapplication/qt-single-application.pri)
SOURCES += \
src/backend/dbus-interface/kylinconnectitem.cpp \
src/backend/dbus-interface/kylinconnectoperation.cpp \
src/backend/dbus-interface/kylinconnectresource.cpp \
src/backend/dbus-interface/kylinconnectsetting.cpp \
src/backend/dbus-interface/kylinnetworkdeviceresource.cpp \
src/backend/dbus-interface/kylinnetworkresourcemanager.cpp \
src/backend/dbus-interface/kylinvpnconnectitem.cpp \
src/backend/dbus-interface/kylinwiredconnectoperation.cpp \
src/backend/dbus-interface/kywirelessconnectoperation.cpp \
src/backend/dbus-interface/kywirelessnetitem.cpp \
src/backend/dbus-interface/kywirelessnetresource.cpp \
src/backend/dbus-interface/kyenterpricesettinginfo.cpp \
src/backend/dbus-interface/kylinactiveconnectresource.cpp \
src/backend/dbus-interface/kylinbluetoothconnectitem.cpp \
src/backthread.cpp \
2021-08-06 14:00:14 +08:00
src/nmdemo.cpp \
src/kylinwiredwidget.cpp \
src/wifi-auth-thread.cpp \
src/confform.cpp \
2021-01-09 16:58:44 +08:00
src/dbusadaptor.cpp \
src/ksimplenm.cpp \
src/kylin-dbus-interface.cpp \
src/kylin-network-interface.c \
src/loadingdiv.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/oneconnform.cpp \
src/onelancform.cpp \
2020-08-03 10:51:39 +08:00
src/switchbutton.cpp \
2020-12-07 13:49:16 +08:00
src/sysdbusregister.cpp \
src/utils.cpp \
src/wpawifidialog.cpp \
src/wificonfigdialog.cpp \
2020-11-24 15:41:24 +08:00
wireless-security/dlghidewifi.cpp \
wireless-security/dlghidewifieapfast.cpp \
wireless-security/dlghidewifieapleap.cpp \
wireless-security/dlghidewifieappeap.cpp \
wireless-security/dlghidewifieappwd.cpp \
wireless-security/dlghidewifieaptls.cpp \
wireless-security/dlghidewifieapttls.cpp \
wireless-security/dlghidewifileap.cpp \
wireless-security/dlghidewifiwep.cpp \
wireless-security/dlghidewifiwpa.cpp \
wireless-security/kylinheadfile.cpp \
hot-spot/dlghotspotcreate.cpp
HEADERS += \
src/backend/dbus-interface/kyenterpricesettinginfo.h \
src/backend/dbus-interface/kylinactiveconnectresource.h \
src/backend/dbus-interface/kylinbluetoothconnectitem.h \
src/backend/dbus-interface/kylinconnectitem.h \
src/backend/dbus-interface/kylinconnectoperation.h \
src/backend/dbus-interface/kylinconnectresource.h \
src/backend/dbus-interface/kylinconnectsetting.h \
src/backend/dbus-interface/kylinnetworkdeviceresource.h \
src/backend/dbus-interface/kylinnetworkresourcemanager.h \
src/backend/dbus-interface/kylinvpnconnectitem.h \
src/backend/dbus-interface/kylinwiredconnectoperation.h \
src/backend/dbus-interface/kywirelessconnectoperation.h \
src/backend/dbus-interface/kywirelessnetitem.h \
src/backend/dbus-interface/kywirelessnetresource.h \
src/backthread.h \
2021-08-06 14:00:14 +08:00
src/nmdemo.h \
src/kylinwiredwidget.h \
src/wifi-auth-thread.h \
src/confform.h \
2021-01-09 16:58:44 +08:00
src/dbusadaptor.h \
src/ksimplenm.h \
src/kylin-dbus-interface.h \
src/kylin-network-interface.h \
src/loadingdiv.h \
src/mainwindow.h \
src/oneconnform.h \
src/onelancform.h \
2020-08-03 10:51:39 +08:00
src/switchbutton.h \
2020-12-07 13:49:16 +08:00
src/sysdbusregister.h \
src/utils.h \
src/wpawifidialog.h \
src/wificonfigdialog.h \
2020-11-24 15:41:24 +08:00
wireless-security/dlghidewifi.h \
wireless-security/dlghidewifieapfast.h \
wireless-security/dlghidewifieapleap.h \
wireless-security/dlghidewifieappeap.h \
wireless-security/dlghidewifieappwd.h \
wireless-security/dlghidewifieaptls.h \
wireless-security/dlghidewifieapttls.h \
wireless-security/dlghidewifileap.h \
wireless-security/dlghidewifiwep.h \
wireless-security/dlghidewifiwpa.h \
wireless-security/kylinheadfile.h \
hot-spot/dlghotspotcreate.h
FORMS += \
src/confform.ui \
src/mainwindow.ui \
src/oneconnform.ui \
src/onelancform.ui \
2020-11-24 15:41:24 +08:00
hot-spot/dlghotspotcreate.ui \
src/wpawifidialog.ui \
src/wificonfigdialog.ui \
2020-11-24 15:41:24 +08:00
wireless-security/dlghidewifi.ui \
wireless-security/dlghidewifieapfast.ui \
wireless-security/dlghidewifieapleap.ui \
wireless-security/dlghidewifieappeap.ui \
wireless-security/dlghidewifieappwd.ui \
wireless-security/dlghidewifieaptls.ui \
wireless-security/dlghidewifieapttls.ui \
wireless-security/dlghidewifileap.ui \
wireless-security/dlghidewifiwep.ui \
wireless-security/dlghidewifiwpa.ui
RESOURCES += \
nmqrc.qrc
2020-02-25 21:52:01 +08:00
unix {
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
}
2020-12-07 13:49:16 +08:00
DISTFILES += \
src/conf/com.kylin.NetworkManager.qt.systemdbus.conf \
src/conf/com.kylin.NetworkManager.qt.systemdbus.service