Debian Codegraph @

src/GUI/fake_qguiapp_p.h

raw symbols SCIP
1 #pragma once
2
3 #include <QPointer>
4
5 QT_BEGIN_NAMESPACE
6
7 // fake the qguiapplication_p.h header, which is problematic
8 // to include directly on macOS, becuase we don't synchronize
9 // our macOS min version with the Qt one. As a result, we
10 // get errors including the real version. To work around
11 // this, delcare the one symnbol we need
12 class Q_GUI_EXPORT QGuiApplicationPrivate
13 {
14 public:
15 #if QT_VERSION < QT_VERSION_CHECK(5, 12,7)
16 static QWindow* focus_window;
17 #else
18 static QPointer<QWindow> focus_window;
19 #endif
20 };
21
22 QT_END_NAMESPACE
23