fix(bluetooth):the Shared library could not find the variable symbol

共享库找不到extern声明的变量

(cherry picked from commit 4721ff307341860d07aa7964e028414e90ee18c0)
This commit is contained in:
zhaolong 2020-04-08 21:08:16 +08:00 committed by fpc_diesel
parent e6a7c4e351
commit 1633d1b23d
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#include <QHBoxLayout>
#include <QPainter>
const int ItemHeight = 30;
extern const int ItemHeight = 30;
DeviceItem::DeviceItem(const QString &title, QWidget *parent)
: QWidget(parent)

View File

@ -24,7 +24,7 @@
#include "QHBoxLayout"
const int ControlHeight = 35;
extern const int ControlHeight = 35;
SwitchItem::SwitchItem(QWidget *parent)
: QWidget(parent)