Revert Q_DECLARE_EXPORTED_LOGGING_CATEGORY in tst_qdockwidget
Q_DECLARE_EXPORTED_LOGGING_CATEGORY is available from 6.5 only, hence cherrypicking this solution fails. Change-Id: Ib3351a8846bb5cf6047cd2d13c9f7cd242df9c93 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
767bac9c5e
commit
7c61eb101d
@ -43,7 +43,7 @@ QT_REQUIRE_CONFIG(mainwindow);
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
Q_DECLARE_EXPORTED_LOGGING_CATEGORY(lcQpaDockWidgets, Q_WIDGETS_EXPORT);
|
||||
Q_DECLARE_LOGGING_CATEGORY(lcQpaDockWidgets);
|
||||
|
||||
class QToolBar;
|
||||
class QRubberBand;
|
||||
|
@ -16,6 +16,12 @@
|
||||
#include <QtGui/QPainter>
|
||||
#include <QLabel>
|
||||
|
||||
#ifdef QT_BUILD_INTERNAL
|
||||
QT_BEGIN_NAMESPACE
|
||||
Q_LOGGING_CATEGORY(lcQpaDockWidgets, "qt.widgets.dockwidgets");
|
||||
QT_END_NAMESPACE
|
||||
#endif
|
||||
|
||||
bool hasFeature(QDockWidget *dockwidget, QDockWidget::DockWidgetFeature feature)
|
||||
{ return (dockwidget->features() & feature) == feature; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user