2019-10-31 09:56:53 +08:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2018-10-19T15:29:47
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2020-10-11 15:02:18 +08:00
|
|
|
QT += core gui x11extras dbus KWindowSystem svg
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
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
|
2020-03-17 15:18:49 +08:00
|
|
|
|
2020-03-20 18:48:59 +08:00
|
|
|
# CONFIG += link_pkgconfig
|
|
|
|
# PKGCONFIG += gsettings-qt
|
2020-07-20 19:17:22 +08:00
|
|
|
LIBS += -L/usr/lib/ -lgsettings-qt -lX11
|
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
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2020-03-20 18:57:05 +08:00
|
|
|
# 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)
|
|
|
|
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
SOURCES += \
|
2020-03-30 15:14:10 +08:00
|
|
|
src/backthread.cpp \
|
|
|
|
src/confform.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-03-30 15:14:10 +08:00
|
|
|
src/utils.cpp \
|
2020-12-03 09:35:00 +08:00
|
|
|
src/wpawifidialog.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 \
|
2020-03-30 15:14:10 +08:00
|
|
|
wireless-security/kylinheadfile.cpp \
|
|
|
|
hot-spot/dlghotspotcreate.cpp
|
|
|
|
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2020-03-30 15:14:10 +08:00
|
|
|
src/backthread.h \
|
|
|
|
src/confform.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-03-30 15:14:10 +08:00
|
|
|
src/utils.h \
|
2020-12-03 09:35:00 +08:00
|
|
|
src/wpawifidialog.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 \
|
2020-01-09 16:32:16 +08:00
|
|
|
wireless-security/kylinheadfile.h \
|
2020-03-12 08:51:39 +08:00
|
|
|
hot-spot/dlghotspotcreate.h
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
FORMS += \
|
2020-03-30 15:14:10 +08:00
|
|
|
src/confform.ui \
|
|
|
|
src/mainwindow.ui \
|
|
|
|
src/oneconnform.ui \
|
|
|
|
src/onelancform.ui \
|
2020-11-24 15:41:24 +08:00
|
|
|
hot-spot/dlghotspotcreate.ui \
|
2020-12-03 09:35:00 +08:00
|
|
|
src/wpawifidialog.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
|
2019-10-31 09:56:53 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
nmqrc.qrc
|
|
|
|
|
2020-02-25 21:52:01 +08:00
|
|
|
unix {
|
|
|
|
UI_DIR = .ui
|
|
|
|
MOC_DIR = .moc
|
|
|
|
OBJECTS_DIR = .obj
|
|
|
|
}
|
|
|
|
|
2019-12-14 11:05:40 +08:00
|
|
|
TRANSLATIONS = translations/kylin-nm_zh_CN.ts \
|
2020-06-30 09:34:19 +08:00
|
|
|
translations/kylin-nm_tr.ts \
|
2019-12-14 11:05:40 +08:00
|
|
|
translations/kylin-nm_bo.ts
|
2020-03-16 10:34:14 +08:00
|
|
|
|
|
|
|
DISTFILES +=
|