diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-03 15:40:47 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-06 11:52:14 +0200 |
commit | 8dd6957cd7a1d86714b32b97dffe603a8636848a (patch) | |
tree | 7793275d713c3341e01bb8dafc3d1ec9af2f58db /src/platformheaders/xcbfunctions | |
parent | 18cfabafa615e42c4af092edca5bb35eced4de5e (diff) |
Make QtPlatformHeaders a private module
The APIs will be reintroduced as part of the new platform interface
API where appropriate.
Clients that still depend on the platform headers can include it
via QT += platformheaders-private.
Change-Id: Ifbd836d833d19f3cf48cd4f933d7fe754c06d2d9
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/platformheaders/xcbfunctions')
-rw-r--r-- | src/platformheaders/xcbfunctions/qxcbscreenfunctions_p.h (renamed from src/platformheaders/xcbfunctions/qxcbscreenfunctions.h) | 13 | ||||
-rw-r--r-- | src/platformheaders/xcbfunctions/qxcbwindowfunctions_p.h (renamed from src/platformheaders/xcbfunctions/qxcbwindowfunctions.h) | 13 | ||||
-rw-r--r-- | src/platformheaders/xcbfunctions/xcbfunctions.pri | 4 |
3 files changed, 26 insertions, 4 deletions
diff --git a/src/platformheaders/xcbfunctions/qxcbscreenfunctions.h b/src/platformheaders/xcbfunctions/qxcbscreenfunctions_p.h index 99624bd5d6..f040701941 100644 --- a/src/platformheaders/xcbfunctions/qxcbscreenfunctions.h +++ b/src/platformheaders/xcbfunctions/qxcbscreenfunctions_p.h @@ -40,7 +40,18 @@ #ifndef QXCBSCREENFUNCTIONS_H #define QXCBSCREENFUNCTIONS_H -#include <QtPlatformHeaders/QPlatformHeaderHelper> +// +// 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. +// + +#include <QtPlatformHeaders/private/qplatformheaderhelper_p.h> QT_BEGIN_NAMESPACE diff --git a/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h b/src/platformheaders/xcbfunctions/qxcbwindowfunctions_p.h index b0e6cb6a1d..26b0798fc8 100644 --- a/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h +++ b/src/platformheaders/xcbfunctions/qxcbwindowfunctions_p.h @@ -40,7 +40,18 @@ #ifndef QXCBWINDOWFUNCTIONS_H #define QXCBWINDOWFUNCTIONS_H -#include <QtPlatformHeaders/QPlatformHeaderHelper> +// +// 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. +// + +#include <QtPlatformHeaders/private/qplatformheaderhelper_p.h> QT_BEGIN_NAMESPACE diff --git a/src/platformheaders/xcbfunctions/xcbfunctions.pri b/src/platformheaders/xcbfunctions/xcbfunctions.pri index 3fbee53854..5ca2721506 100644 --- a/src/platformheaders/xcbfunctions/xcbfunctions.pri +++ b/src/platformheaders/xcbfunctions/xcbfunctions.pri @@ -1,3 +1,3 @@ HEADERS += \ - $$PWD/qxcbwindowfunctions.h \ - $$PWD/qxcbscreenfunctions.h + $$PWD/qxcbwindowfunctions_p.h \ + $$PWD/qxcbscreenfunctions_p.h |