2019-10-31 09:56:53 +08:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2018-10-19T15:29:47
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2019-12-12 17:22:17 +08:00
|
|
|
QT += core gui x11extras dbus
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TARGET = kylin-nm
|
|
|
|
|
2020-01-09 16:32:16 +08:00
|
|
|
#CONFIG += link_pkgconfig
|
|
|
|
#PKGCONFIG += libnm glib-2.0 gio-2.0 dbus-glib-1
|
2020-02-18 14:01:09 +08:00
|
|
|
#PKGCONFIG += Qt5Svg
|
2020-01-09 16:32:16 +08:00
|
|
|
|
|
|
|
|
2019-10-31 09:56:53 +08:00
|
|
|
target.path = /usr/bin
|
|
|
|
target.source += $$TARGET
|
|
|
|
desktop.path = /etc/xdg/autostart/
|
|
|
|
desktop.files = kylin-nm.desktop
|
|
|
|
|
|
|
|
INSTALLS += target \
|
|
|
|
desktop
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
ksimplenm.cpp \
|
|
|
|
oneconnform.cpp \
|
|
|
|
confform.cpp \
|
|
|
|
kylin-network-interface.c \
|
|
|
|
backthread.cpp \
|
|
|
|
onelancform.cpp \
|
|
|
|
loadingdiv.cpp \
|
2020-01-09 16:32:16 +08:00
|
|
|
wireless-security/dlgconnhidwifi.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisecfast.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisectunneltls.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisecpeap.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisectls.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisecleap.cpp \
|
|
|
|
wireless-security/dlgconnhidwifisecpwd.cpp \
|
|
|
|
wireless-security/dlgconnhidwifiwep.cpp \
|
|
|
|
wireless-security/dlgconnhidwifileap.cpp \
|
|
|
|
wireless-security/dlgconnhidwifiwpa.cpp \
|
2020-02-18 14:01:09 +08:00
|
|
|
kylin-dbus-interface.cpp \
|
|
|
|
hot-spot/dlghotspotcreate.cpp \
|
|
|
|
networkspeed.cpp
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
mainwindow.h \
|
|
|
|
ksimplenm.h \
|
|
|
|
oneconnform.h \
|
|
|
|
confform.h \
|
|
|
|
kylin-network-interface.h \
|
|
|
|
backthread.h \
|
|
|
|
onelancform.h \
|
|
|
|
loadingdiv.h \
|
2020-01-09 16:32:16 +08:00
|
|
|
wireless-security/dlgconnhidwifi.h \
|
|
|
|
wireless-security/dlgconnhidwifisecfast.h \
|
|
|
|
wireless-security/dlgconnhidwifisectunneltls.h \
|
|
|
|
wireless-security/dlgconnhidwifisecpeap.h \
|
|
|
|
wireless-security/dlgconnhidwifisectls.h \
|
|
|
|
wireless-security/dlgconnhidwifisecleap.h \
|
|
|
|
wireless-security/dlgconnhidwifisecpwd.h \
|
|
|
|
wireless-security/dlgconnhidwifiwep.h \
|
|
|
|
wireless-security/dlgconnhidwifileap.h \
|
|
|
|
wireless-security/dlgconnhidwifiwpa.h \
|
|
|
|
wireless-security/kylinheadfile.h \
|
2020-02-18 14:01:09 +08:00
|
|
|
kylin-dbus-interface.h \
|
|
|
|
hot-spot/dlghotspotcreate.h \
|
|
|
|
networkspeed.h
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.ui \
|
|
|
|
oneconnform.ui \
|
|
|
|
confform.ui \
|
|
|
|
onelancform.ui \
|
2020-01-09 16:32:16 +08:00
|
|
|
wireless-security/dlgconnhidwifi.ui \
|
|
|
|
wireless-security/dlgconnhidwifisecfast.ui \
|
|
|
|
wireless-security/dlgconnhidwifisectunneltls.ui \
|
|
|
|
wireless-security/dlgconnhidwifisecpeap.ui \
|
|
|
|
wireless-security/dlgconnhidwifisectls.ui \
|
|
|
|
wireless-security/dlgconnhidwifisecleap.ui \
|
|
|
|
wireless-security/dlgconnhidwifisecpwd.ui \
|
|
|
|
wireless-security/dlgconnhidwifiwep.ui \
|
|
|
|
wireless-security/dlgconnhidwifileap.ui \
|
2020-02-18 14:01:09 +08:00
|
|
|
wireless-security/dlgconnhidwifiwpa.ui \
|
|
|
|
hot-spot/dlghotspotcreate.ui
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
nmqrc.qrc
|
|
|
|
|
2019-12-14 11:05:40 +08:00
|
|
|
TRANSLATIONS = translations/kylin-nm_zh_CN.ts \
|
|
|
|
translations/kylin-nm_bo.ts
|