Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ option(ENABLE_COV "Enable code coverage" OFF)
if(PROJECT_VERSION_MAJOR EQUAL 6)
set(VERSION_SUFFIX 6)
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10)
find_package(Qt6 COMPONENTS CorePrivate GuiPrivate WidgetsPrivate REQUIRED)
endif()
else()
set(VERSION_SUFFIX)
find_package(QT NAMES Qt5 REQUIRED COMPONENTS Core)
Expand Down
4 changes: 4 additions & 0 deletions platformthemeplugin/qdeepintheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
#ifndef QDEEPINTHEME_H
#define QDEEPINTHEME_H

#include <QMimeDatabase>

Check warning on line 8 in platformthemeplugin/qdeepintheme.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QMimeDatabase> not found. Please note: Cppcheck does not need standard library headers to get proper results.

#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
#include <private/qgenericunixtheme_p.h>
#else
#include <private/qgenericunixthemes_p.h>

Check warning on line 13 in platformthemeplugin/qdeepintheme.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <private/qgenericunixthemes_p.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#endif
#include <qpa/qplatformwindow.h>

Check warning on line 15 in platformthemeplugin/qdeepintheme.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <qpa/qplatformwindow.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <qpa/qplatformnativeinterface.h>

Check warning on line 16 in platformthemeplugin/qdeepintheme.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <qpa/qplatformnativeinterface.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

class DThemeSettings;
class QDeepinTheme : public QGenericUnixTheme
Expand Down
Loading