fix build errors

This commit is contained in:
KevinDuan 2022-06-14 14:37:49 +08:00
parent dab6995a77
commit ccf4662486
10 changed files with 18 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
kylin-nm (3.14.0.0+0512-0k2) yangtze; urgency=medium
* Fix build error
-- Kevin Duan <duankaiwen@kylinos.cn> Tue, 14 Jun 2022 14:36:20 +0800
kylin-nm (3.14.0.0+0512-0k1) yangtze; urgency=medium kylin-nm (3.14.0.0+0512-0k1) yangtze; urgency=medium
* Fix build depend * Fix build depend

1
debian/control vendored
View File

@ -36,6 +36,7 @@ Architecture: any
Depends: libkysdk-qtwidgets, Depends: libkysdk-qtwidgets,
network-manager (>=1.2.6), network-manager (>=1.2.6),
ukui-control-center (>= 3.1.1+1217), ukui-control-center (>= 3.1.1+1217),
dpkg-dev,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
Description: Gui Applet tool for display and edit network simply Description: Gui Applet tool for display and edit network simply

View File

@ -1,6 +1,7 @@
#include "infobutton.h" #include "infobutton.h"
#include <QEvent> #include <QEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QApplication> #include <QApplication>
#include <QDebug> #include <QDebug>

View File

@ -1,4 +1,6 @@
#include "deviceframe.h" #include "deviceframe.h"
#include <QPainterPath>
#include <QPainter>
#define LAYOUT_MARGINS 18,0,24,0 #define LAYOUT_MARGINS 18,0,24,0
#define FRAME_HEIGHT 58 #define FRAME_HEIGHT 58

View File

@ -1,5 +1,6 @@
#include "deviceframe.h" #include "deviceframe.h"
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#define LAYOUT_MARGINS 18,0,8,0 #define LAYOUT_MARGINS 18,0,8,0
#define FRAME_HEIGHT 58 #define FRAME_HEIGHT 58

View File

@ -1,5 +1,6 @@
#include "wlanitem.h" #include "wlanitem.h"
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#define FRAME_SPEED 150 #define FRAME_SPEED 150
#define LIMIT_TIME 60*1000 #define LIMIT_TIME 60*1000
#define TOTAL_PAGE 8 #define TOTAL_PAGE 8

View File

@ -6,6 +6,8 @@
#include <QDBusReply> #include <QDBusReply>
#include <QKeyEvent> #include <QKeyEvent>
#include <QProcess> #include <QProcess>
#include <QPainter>
#include <QPainterPath>
#include "kylinnetworkdeviceresource.h" #include "kylinnetworkdeviceresource.h"
#include "../backend/dbus-interface/kylinagentinterface.h" #include "../backend/dbus-interface/kylinagentinterface.h"

View File

@ -1,6 +1,7 @@
#include "infobutton.h" #include "infobutton.h"
#include <QEvent> #include <QEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QApplication> #include <QApplication>
#define BUTTON_SIZE 36,36 #define BUTTON_SIZE 36,36

View File

@ -1,5 +1,6 @@
#include "radioitembutton.h" #include "radioitembutton.h"
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QSvgRenderer> #include <QSvgRenderer>
#include <QApplication> #include <QApplication>
#include <QStyle> #include <QStyle>

View File

@ -8,6 +8,8 @@
#include <KWindowEffects> #include <KWindowEffects>
#include <QtConcurrent> #include <QtConcurrent>
#include <QPainter>
#include <QPainterPath>
WiFiConfigDialog::WiFiConfigDialog(QWidget *parent) : WiFiConfigDialog::WiFiConfigDialog(QWidget *parent) :
QDialog(parent), QDialog(parent),