diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 4f98b9b0614..60f54027af2 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 00000000000..9e4f3c83bde --- /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