Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2fda2ecd authored by Dmitry Kazakov's avatar Dmitry Kazakov

Properly include private QPA headers

parent 17f2c8da
......@@ -394,6 +394,11 @@ set(kritaui_LIB_SRCS
)
if(WIN32)
# Private headers are needed for:
# * KisDlgCustomTabletResolution
# * KisScreenInformationAdapter
include_directories(SYSTEM ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
set(kritaui_LIB_SRCS
${kritaui_LIB_SRCS}
qtlockedfile/qtlockedfile_win.cpp
......@@ -406,7 +411,6 @@ if(WIN32)
input/wintab/kis_tablet_support_win8.cpp
)
else()
include_directories(SYSTEM ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
set(kritaui_LIB_SRCS
${kritaui_LIB_SRCS}
dialogs/KisDlgCustomTabletResolution.cpp
......
......@@ -26,19 +26,10 @@
#include <config-hdr.h>
#ifdef Q_OS_WIN
#if (QT_VERSION == QT_VERSION_CHECK(5, 11, 2))
#include <QtGui/5.11.2/QtGui/qpa/qplatformnativeinterface.h>
#elif (QT_VERSION == QT_VERSION_CHECK(5, 12, 0))
#include <QtGui/5.12.0/QtGui/qpa/qplatformnativeinterface.h>
#elif (QT_VERSION == QT_VERSION_CHECK(5, 12, 1))
#include <QtGui/5.12.1/QtGui/qpa/qplatformnativeinterface.h>
#elif (QT_VERSION == QT_VERSION_CHECK(5, 12, 2))
#include <QtGui/5.12.2/QtGui/qpa/qplatformnativeinterface.h>
#elif (QT_VERSION == QT_VERSION_CHECK(5, 13, 0))
#include <QtGui/5.13.0/QtGui/qpa/qplatformnativeinterface.h>
#endif
#ifdef Q_OS_WIN
#include <qpa/qplatformnativeinterface.h>
#include <d3d11.h>
#include <wrl/client.h>
#include <dxgi1_6.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment