From 848e64ea8abb39228e9c446da19ff46c7f4d4023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 25 Aug 2022 09:36:25 +0200 Subject: [PATCH] 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 --- src/corelib/CMakeLists.txt | 2 +- src/corelib/kernel/qfunctions_win_p.h | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/corelib/kernel/qfunctions_win_p.h 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 + +#endif // Q_OS_WIN + +#endif // QFUNCTIONS_WIN_P_H