qmlpuppet: fix standalone build

Change-Id: I0a7da757e78a68f65163d4e383323d34a5b70670
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2022-12-21 16:32:45 +01:00
parent 9a7f152b96
commit d5cf9ffd37

View File

@@ -17,6 +17,10 @@
#include <QQmlComponent> #include <QQmlComponent>
#include <QQmlEngine> #include <QQmlEngine>
#if defined(Q_OS_WIN) && defined(QT_NO_DEBUG)
#include <Windows.h>
#endif
void QmlPuppet::initCoreApp() void QmlPuppet::initCoreApp()
{ {
// Since we always render text into an FBO, we need to globally disable // Since we always render text into an FBO, we need to globally disable