Enable Qt6 CI

This commit is contained in:
Alexander Lohnau 2023-07-26 21:08:32 +02:00
parent 6fbecf28da
commit 6300e9d0c6
4 changed files with 39 additions and 7 deletions

View file

@ -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/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/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

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: CC0-1.0
Dependencies:
- 'on': ['@all']
- 'on': ['Linux/Qt5', 'FreeBSD/Qt5', 'Windows/Qt5']
'require':
'frameworks/extra-cmake-modules': '@stable'
'frameworks/kcoreaddons': '@stable'
@ -21,13 +21,39 @@ Dependencies:
'frameworks/kpeople': '@stable'
'frameworks/kwindowsystem': '@stable'
'frameworks/qqc2-desktop-style': '@stable'
- 'on': ['Linux', 'FreeBSD']
- 'on': ['Linux/Qt5', 'FreeBSD/Qt5']
'require':
'frameworks/kpackage': '@stable'
'libraries/pulseaudio-qt': '@stable'
'libraries/plasma-wayland-protocols': '@stable'
- 'on': ['Linux']
- 'on': ['Linux/Qt5']
'require':
'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'

View file

@ -18,6 +18,10 @@
#include <mstcpip.h>
#endif
#if defined(Q_OS_WIN) || defined(Q_OS_FREEBSD)
#include <QNetworkInterface>
#endif
#include <QHostInfo>
#include <QMetaEnum>
#include <QNetworkProxy>

View file

@ -11,9 +11,8 @@
#include <dbushelper.h>
#include <KPluginFactory>
#include <KStartupInfo>
#if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
#include <KStartupInfo>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <QX11Info>
#else