QGenericUnixTheme: Fix build, adding missing #includes

qdbuslistener.cpp:105:5: error: ‘QJsonParseError’ was not declared in this scope
qgenericunixtheme.cpp:247:21: error: invalid use of incomplete type ‘class QDBusConnectionInterface’
qkdetheme.cpp:91:109: error: ‘QSettings’ was not declared in this scope; did you mean ‘QString’?
qkdetheme.cpp:712:30: error: ‘QStandardPaths’ has not been declared

Probably amends 53fb13456fffe8bfd192f9197c6d1703854b49a2.

Change-Id: I673a2fa3f34c162d4d76fffdf160ed8a7af1fc66
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Thiago Macieira 2025-03-11 09:55:25 -07:00
parent 6685da4ec9
commit 01ad117b32
3 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,9 @@
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformservices.h>
#include <private/qdbustrayicon_p.h>
#include <qjsonarray.h>
#include <qjsondocument.h>
#include <qjsonobject.h>
QT_BEGIN_NAMESPACE
using namespace Qt::StringLiterals;

View File

@ -48,6 +48,7 @@
#include <qpa/qplatformintegration.h>
#include <QtCore/QStandardPaths>
#ifndef QT_NO_DBUS
#include <QtDBus/QDBusConnectionInterface>
#include <private/qdbustrayicon_p.h>
#endif
#if QT_CONFIG(mimetype)

View File

@ -11,6 +11,8 @@
#include <private/qdbustrayicon_p.h>
#include <private/qdbusplatformmenu_p.h>
#include <private/qdbusmenubar_p.h>
#include <QSettings>
#include <QStandardPaths>
QT_BEGIN_NAMESPACE