From ccf4662486dd924db5e291ddb55933399c336a41 Mon Sep 17 00:00:00 2001 From: KevinDuan Date: Tue, 14 Jun 2022 14:37:49 +0800 Subject: [PATCH] fix build errors --- debian/changelog | 6 ++++++ debian/control | 1 + plugins/component/InfoButton/infobutton.cpp | 1 + plugins/netconnect/deviceframe.cpp | 2 ++ plugins/wlanconnect/deviceframe.cpp | 1 + plugins/wlanconnect/wlanitem.cpp | 1 + src/frontend/mainwindow.cpp | 2 ++ src/frontend/tools/infobutton.cpp | 1 + src/frontend/tools/radioitembutton.cpp | 1 + src/frontend/wificonfigdialog.cpp | 2 ++ 10 files changed, 18 insertions(+) diff --git a/debian/changelog b/debian/changelog index 081207bf..ad0b7e35 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +kylin-nm (3.14.0.0+0512-0k2) yangtze; urgency=medium + + * Fix build error + + -- Kevin Duan Tue, 14 Jun 2022 14:36:20 +0800 + kylin-nm (3.14.0.0+0512-0k1) yangtze; urgency=medium * Fix build depend diff --git a/debian/control b/debian/control index 24f87c10..832f702a 100644 --- a/debian/control +++ b/debian/control @@ -36,6 +36,7 @@ Architecture: any Depends: libkysdk-qtwidgets, network-manager (>=1.2.6), ukui-control-center (>= 3.1.1+1217), + dpkg-dev, ${misc:Depends}, ${shlibs:Depends} Description: Gui Applet tool for display and edit network simply diff --git a/plugins/component/InfoButton/infobutton.cpp b/plugins/component/InfoButton/infobutton.cpp index e434c0fb..26ac05a2 100644 --- a/plugins/component/InfoButton/infobutton.cpp +++ b/plugins/component/InfoButton/infobutton.cpp @@ -1,6 +1,7 @@ #include "infobutton.h" #include #include +#include #include #include diff --git a/plugins/netconnect/deviceframe.cpp b/plugins/netconnect/deviceframe.cpp index 12b59f69..0df12788 100644 --- a/plugins/netconnect/deviceframe.cpp +++ b/plugins/netconnect/deviceframe.cpp @@ -1,4 +1,6 @@ #include "deviceframe.h" +#include +#include #define LAYOUT_MARGINS 18,0,24,0 #define FRAME_HEIGHT 58 diff --git a/plugins/wlanconnect/deviceframe.cpp b/plugins/wlanconnect/deviceframe.cpp index a616d65f..9765faef 100644 --- a/plugins/wlanconnect/deviceframe.cpp +++ b/plugins/wlanconnect/deviceframe.cpp @@ -1,5 +1,6 @@ #include "deviceframe.h" #include +#include #define LAYOUT_MARGINS 18,0,8,0 #define FRAME_HEIGHT 58 diff --git a/plugins/wlanconnect/wlanitem.cpp b/plugins/wlanconnect/wlanitem.cpp index 5d1bbf3c..d3806100 100644 --- a/plugins/wlanconnect/wlanitem.cpp +++ b/plugins/wlanconnect/wlanitem.cpp @@ -1,5 +1,6 @@ #include "wlanitem.h" #include +#include #define FRAME_SPEED 150 #define LIMIT_TIME 60*1000 #define TOTAL_PAGE 8 diff --git a/src/frontend/mainwindow.cpp b/src/frontend/mainwindow.cpp index 1372a8ff..fc4ad02e 100644 --- a/src/frontend/mainwindow.cpp +++ b/src/frontend/mainwindow.cpp @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include "kylinnetworkdeviceresource.h" #include "../backend/dbus-interface/kylinagentinterface.h" diff --git a/src/frontend/tools/infobutton.cpp b/src/frontend/tools/infobutton.cpp index 0dd16cd8..399ed4a8 100644 --- a/src/frontend/tools/infobutton.cpp +++ b/src/frontend/tools/infobutton.cpp @@ -1,6 +1,7 @@ #include "infobutton.h" #include #include +#include #include #define BUTTON_SIZE 36,36 diff --git a/src/frontend/tools/radioitembutton.cpp b/src/frontend/tools/radioitembutton.cpp index 0efbf384..fb408636 100644 --- a/src/frontend/tools/radioitembutton.cpp +++ b/src/frontend/tools/radioitembutton.cpp @@ -1,5 +1,6 @@ #include "radioitembutton.h" #include +#include #include #include #include diff --git a/src/frontend/wificonfigdialog.cpp b/src/frontend/wificonfigdialog.cpp index 23d2d24e..310d5019 100644 --- a/src/frontend/wificonfigdialog.cpp +++ b/src/frontend/wificonfigdialog.cpp @@ -8,6 +8,8 @@ #include #include +#include +#include WiFiConfigDialog::WiFiConfigDialog(QWidget *parent) : QDialog(parent),