Fix build of the network pane

This commit is contained in:
Victor Tran 2020-03-17 20:20:23 +11:00
parent 7a5fa021e2
commit 9636709c95
No known key found for this signature in database
GPG key ID: FBA10B22D602BAC1
4 changed files with 23 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" sourcelanguage="en_US" language="ja_JP">
<TS version="2.1" language="ja_JP" sourcelanguage="en_US">
<context>
<name>AppsListModel</name>
<message>
@ -305,7 +305,7 @@
<message>
<location filename="../choosebackground.ui" line="506"/>
<source>Done</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../choosebackground.cpp" line="93"/>
@ -896,7 +896,7 @@
<message>
<location filename="../infopanedropdown.ui" line="2423"/>
<source>Browse...</source>
<translation type="unfinished"></translation>
<translation type="unfinished">...</translation>
</message>
<message>
<location filename="../infopanedropdown.ui" line="2445"/>
@ -1288,7 +1288,7 @@
<location filename="../mainwindow.ui" line="152"/>
<location filename="../mainwindow.cpp" line="1171"/>
<source>Open Status Center</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.ui" line="316"/>
@ -1909,7 +1909,7 @@
<message>
<location filename="../rundialog.ui" line="50"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../rundialog.ui" line="81"/>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" sourcelanguage="en_US" language="ja_JP">
<TS version="2.1" language="ja_JP" sourcelanguage="en_US">
<context>
<name>AddLocaleDialog</name>
<message>

View file

@ -4,7 +4,7 @@
#
#-------------------------------------------------
QT += core gui widgets dbus thelib ModemManagerQt NetworkManagerQt network
QT += core gui widgets dbus thelib network
TARGET = tsnm
TEMPLATE = lib
@ -25,6 +25,21 @@ blueprint {
DEFINES += "SHAREDIR=\\\"/usr/share/theshell/tsnm/\\\""
}
#For some reason they got rid of QMake support, so we'll have to hack this in for now
qtHaveModule(ModemManagerQt) {
QT += ModemManagerQt
} else {
INCLUDEPATH += /usr/include/KF5/ModemManagerQt/
LIBS += -lKF5ModemManagerQt
}
qtHaveModule(NetworkManagerQt) {
QT += NetworkManagerQt
} else {
INCLUDEPATH += /usr/include/KF5/NetworkManagerQt/
LIBS += -lKF5NetworkManagerQt
}
# 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

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" sourcelanguage="en_US" language="vi_VN">
<TS version="2.1" language="vi_VN" sourcelanguage="en_US">
<context>
<name>AddUserDialog</name>
<message>