diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6e2e1d9cb..0d37970c1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -93,10 +93,6 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS Widgets ) -if (QT_MAJOR_VERSION STREQUAL "6") - find_package(Qt6 REQUIRED COMPONENTS Core5Compat) -endif() - find_package( KF${KF_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED @@ -138,10 +134,6 @@ target_link_libraries(ghostwriter PRIVATE ${CMARK_LIBS} ) -target_link_libraries(ghostwriter PRIVATE - Qt::Core5Compat -) - set_target_properties(ghostwriter PROPERTIES WIN32_EXECUTABLE ON MACOSX_BUNDLE ON diff --git a/src/editor/markdownhighlighter.cpp b/src/editor/markdownhighlighter.cpp index 245999105..d7d5bc19c 100644 --- a/src/editor/markdownhighlighter.cpp +++ b/src/editor/markdownhighlighter.cpp @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/src/markdown/memoryarena.cpp b/src/markdown/memoryarena.cpp index 8e1db78b1..72b09c171 100644 --- a/src/markdown/memoryarena.cpp +++ b/src/markdown/memoryarena.cpp @@ -7,8 +7,6 @@ #ifndef MEMORY_ARENA_CPP #define MEMORY_ARENA_CPP -#include - #include "memoryarena.h" namespace ghostwriter diff --git a/src/spelling/spellcheckdecorator.cpp b/src/spelling/spellcheckdecorator.cpp index efdb68843..14792d728 100644 --- a/src/spelling/spellcheckdecorator.cpp +++ b/src/spelling/spellcheckdecorator.cpp @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include