summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-08-25 09:36:25 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-08-25 14:43:37 +0200
commit848e64ea8abb39228e9c446da19ff46c7f4d4023 (patch)
treec02b7d3a17210742f20683745a533fbc47818eb3 /src
parent407a39d3ca91fe6595c2ad9e0697c261a7e02680 (diff)
Add qfunctions_win_p.h header for Windows helper functions
For now just includes qfunctions_winrt_p.h Once submodules have been moved over to qfunctions_win_p.h we can move non-WinRT specific content from qfunctions_winrt_p.h to _win_p.h. Change-Id: I467bb4991c67a8769b60b9cf9f26aa553c439b92 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/CMakeLists.txt2
-rw-r--r--src/corelib/kernel/qfunctions_win_p.h24
2 files changed, 25 insertions, 1 deletions
diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt
index 4f98b9b061..60f54027af 100644
--- a/src/corelib/CMakeLists.txt
+++ b/src/corelib/CMakeLists.txt
@@ -534,7 +534,7 @@ qt_internal_extend_target(Core CONDITION WIN32
kernel/qcoreapplication_win.cpp
kernel/qelapsedtimer_win.cpp
kernel/qeventdispatcher_win.cpp kernel/qeventdispatcher_win_p.h
- kernel/qfunctions_winrt_p.h
+ kernel/qfunctions_win_p.h kernel/qfunctions_winrt_p.h
kernel/qsharedmemory_win.cpp
kernel/qsystemsemaphore_win.cpp
kernel/qwineventnotifier.cpp kernel/qwineventnotifier.h kernel/qwineventnotifier_p.h
diff --git a/src/corelib/kernel/qfunctions_win_p.h b/src/corelib/kernel/qfunctions_win_p.h
new file mode 100644
index 0000000000..9e4f3c83bd
--- /dev/null
+++ b/src/corelib/kernel/qfunctions_win_p.h
@@ -0,0 +1,24 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef QFUNCTIONS_WIN_P_H
+#define QFUNCTIONS_WIN_P_H
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
+#if defined(Q_OS_WIN)
+
+#include <QtCore/private/qfunctions_winrt_p.h>
+
+#endif // Q_OS_WIN
+
+#endif // QFUNCTIONS_WIN_P_H