Sine Striker
2023-12-13 bbd0f1932fcf7a730d8ab9410e158f2b1035bc23
src/core/windowagentbase.cpp
@@ -3,8 +3,10 @@
#include "qwkglobal_p.h"
#ifdef Q_OS_WINDOWS
#if defined(Q_OS_WINDOWS) && !defined(QWINDOWKIT_FORCE_QT_WINDOW_CONTEXT)
#  include "win32windowcontext_p.h"
#elif defined(Q_OS_MAC) && !defined(QWINDOWKIT_FORCE_QT_WINDOW_CONTEXT)
#  include "cocoawindowcontext_p.h"
#else
#  include "qtwindowcontext_p.h"
#endif
@@ -28,8 +30,11 @@
        if (windowContextFactoryMethod) {
            return windowContextFactoryMethod();
        }
#ifdef Q_OS_WINDOWS
#if defined(Q_OS_WINDOWS) && !defined(QWINDOWKIT_FORCE_QT_WINDOW_CONTEXT)
        return new Win32WindowContext();
#elif defined(Q_OS_MAC) && !defined(QWINDOWKIT_FORCE_QT_WINDOW_CONTEXT)
        return new CocoaWindowContext();
#else
        return new QtWindowContext();
#endif