File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 31
31
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
32
32
#include < qpa/qplatformintegration.h>
33
33
#include < private/qguiapplication_p.h>
34
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
35
+ #include < private/qdesktopunixservices_p.h>
36
+ #else
34
37
#include < private/qgenericunixservices_p.h>
35
38
#endif
39
+ #endif
36
40
37
41
static gboolean
38
42
_xdp_parent_export_qt (XdpParent *parent,
@@ -45,7 +49,11 @@ _xdp_parent_export_qt (XdpParent *parent,
45
49
}
46
50
47
51
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
52
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
53
+ if (const auto services = dynamic_cast <QDesktopUnixServices*>(QGuiApplicationPrivate::platformIntegration ()->services ()))
54
+ #else
48
55
if (const auto services = dynamic_cast <QGenericUnixServices*>(QGuiApplicationPrivate::platformIntegration ()->services ()))
56
+ #endif
49
57
{
50
58
g_autofree char *handle = g_strdup (services->portalWindowIdentifier (w).toUtf8 ().constData ());
51
59
You can’t perform that action at this time.
0 commit comments