Windows QPA: Move initialization of resources out of the Qt namespace
Q_INIT_RESOURCE() should not be within the Qt namespace; the namespace is appended to the resource function. Task-number: QTBUG-60118 Change-Id: I05203c3196ccdcffaf27658bcd7f3ec1c25f22d9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
f074d72c8f
commit
eca6f5492c
@ -88,6 +88,11 @@
|
|||||||
|
|
||||||
#include "qwindowsopengltester.h"
|
#include "qwindowsopengltester.h"
|
||||||
|
|
||||||
|
static inline void initOpenGlBlacklistResources()
|
||||||
|
{
|
||||||
|
Q_INIT_RESOURCE(openglblacklists);
|
||||||
|
}
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -210,7 +215,7 @@ static inline unsigned parseOptions(const QStringList ¶mList,
|
|||||||
|
|
||||||
QWindowsIntegrationPrivate::QWindowsIntegrationPrivate(const QStringList ¶mList)
|
QWindowsIntegrationPrivate::QWindowsIntegrationPrivate(const QStringList ¶mList)
|
||||||
{
|
{
|
||||||
Q_INIT_RESOURCE(openglblacklists);
|
initOpenGlBlacklistResources();
|
||||||
|
|
||||||
static bool dpiAwarenessSet = false;
|
static bool dpiAwarenessSet = false;
|
||||||
int tabletAbsoluteRange = -1;
|
int tabletAbsoluteRange = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user