Enable Qt6 CI
This commit is contained in:
parent
6fbecf28da
commit
6300e9d0c6
4 changed files with 39 additions and 7 deletions
|
@ -7,3 +7,6 @@ include:
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
|
||||||
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml
|
||||||
|
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows-qt6.yml
|
||||||
|
|
36
.kde-ci.yml
36
.kde-ci.yml
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
- 'on': ['@all']
|
- 'on': ['Linux/Qt5', 'FreeBSD/Qt5', 'Windows/Qt5']
|
||||||
'require':
|
'require':
|
||||||
'frameworks/extra-cmake-modules': '@stable'
|
'frameworks/extra-cmake-modules': '@stable'
|
||||||
'frameworks/kcoreaddons': '@stable'
|
'frameworks/kcoreaddons': '@stable'
|
||||||
|
@ -21,13 +21,39 @@ Dependencies:
|
||||||
'frameworks/kpeople': '@stable'
|
'frameworks/kpeople': '@stable'
|
||||||
'frameworks/kwindowsystem': '@stable'
|
'frameworks/kwindowsystem': '@stable'
|
||||||
'frameworks/qqc2-desktop-style': '@stable'
|
'frameworks/qqc2-desktop-style': '@stable'
|
||||||
|
- 'on': ['Linux/Qt5', 'FreeBSD/Qt5']
|
||||||
- 'on': ['Linux', 'FreeBSD']
|
|
||||||
'require':
|
'require':
|
||||||
'frameworks/kpackage': '@stable'
|
'frameworks/kpackage': '@stable'
|
||||||
'libraries/pulseaudio-qt': '@stable'
|
'libraries/pulseaudio-qt': '@stable'
|
||||||
'libraries/plasma-wayland-protocols': '@stable'
|
'libraries/plasma-wayland-protocols': '@stable'
|
||||||
|
- 'on': ['Linux/Qt5']
|
||||||
- 'on': ['Linux']
|
|
||||||
'require':
|
'require':
|
||||||
'frameworks/modemmanager-qt': '@stable'
|
'frameworks/modemmanager-qt': '@stable'
|
||||||
|
|
||||||
|
- 'on': ['Linux/Qt6', 'FreeBSD/Qt6', 'Windows/Qt6']
|
||||||
|
'require':
|
||||||
|
'frameworks/extra-cmake-modules': '@latest-kf6'
|
||||||
|
'frameworks/kcoreaddons': '@latest-kf6'
|
||||||
|
'frameworks/kconfig': '@latest-kf6'
|
||||||
|
'frameworks/ki18n': '@latest-kf6'
|
||||||
|
'frameworks/kitemmodels': '@latest-kf6'
|
||||||
|
'frameworks/kcontacts': '@latest-kf6'
|
||||||
|
'frameworks/kirigami': '@latest-kf6'
|
||||||
|
'frameworks/kdbusaddons': '@latest-kf6'
|
||||||
|
'frameworks/knotifications': '@latest-kf6'
|
||||||
|
'frameworks/kiconthemes': '@latest-kf6'
|
||||||
|
'frameworks/kio': '@latest-kf6'
|
||||||
|
'frameworks/kcmutils': '@latest-kf6'
|
||||||
|
'frameworks/kservice': '@latest-kf6'
|
||||||
|
'frameworks/solid': '@latest-kf6'
|
||||||
|
'frameworks/kpeople': '@latest-kf6'
|
||||||
|
'frameworks/kwindowsystem': '@latest-kf6'
|
||||||
|
'frameworks/qqc2-desktop-style': '@latest-kf6'
|
||||||
|
- 'on': ['Linux/Qt6', 'FreeBSD/Qt6']
|
||||||
|
'require':
|
||||||
|
'frameworks/kpackage': '@latest-kf6'
|
||||||
|
'libraries/pulseaudio-qt': '@latest-kf6'
|
||||||
|
'libraries/plasma-wayland-protocols': '@latest-kf6'
|
||||||
|
- 'on': ['Linux/Qt6']
|
||||||
|
'require':
|
||||||
|
'frameworks/modemmanager-qt': '@latest-kf6'
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
#include <mstcpip.h>
|
#include <mstcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN) || defined(Q_OS_FREEBSD)
|
||||||
|
#include <QNetworkInterface>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QHostInfo>
|
#include <QHostInfo>
|
||||||
#include <QMetaEnum>
|
#include <QMetaEnum>
|
||||||
#include <QNetworkProxy>
|
#include <QNetworkProxy>
|
||||||
|
|
|
@ -11,9 +11,8 @@
|
||||||
#include <dbushelper.h>
|
#include <dbushelper.h>
|
||||||
|
|
||||||
#include <KPluginFactory>
|
#include <KPluginFactory>
|
||||||
#include <KStartupInfo>
|
|
||||||
|
|
||||||
#if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
|
#if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
|
||||||
|
#include <KStartupInfo>
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
#include <QX11Info>
|
#include <QX11Info>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue