FlightGear
next
fake_qguiapp_p.h
Go to the documentation of this file.
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
QGuiApplicationPrivate
Definition
fake_qguiapp_p.h:13
QGuiApplicationPrivate::focus_window
static QPointer< QWindow > focus_window
Definition
fake_qguiapp_p.h:18
src
GUI
fake_qguiapp_p.h
Generated on Tue Jun 3 2025 12:58:39 for FlightGear by
1.13.2