Skip to content

Commit

Permalink
Drop unused qt5compat dependency
Browse files Browse the repository at this point in the history
(cherry picked from commit 72850a2)

72850a2 Drop unused qt5compat dependency

Co-authored-by: Antonio Rojas <[email protected]>
  • Loading branch information
antonio-rojas committed Jul 29, 2024
1 parent 5eade41 commit 9f3bf1a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/editor/markdownhighlighter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <QRegularExpression>
#include <QStaticText>
#include <QString>
#include <QStringRef>
#include <QSyntaxHighlighter>
#include <QTextCharFormat>
#include <QTextDocument>
Expand Down
2 changes: 0 additions & 2 deletions src/markdown/memoryarena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef MEMORY_ARENA_CPP
#define MEMORY_ARENA_CPP

#include <QLinkedListIterator>

#include "memoryarena.h"

namespace ghostwriter
Expand Down
1 change: 0 additions & 1 deletion src/spelling/spellcheckdecorator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <QList>
#include <QMenu>
#include <QStringList>
#include <QStringRef>
#include <QTextBlock>
#include <QTextBoundaryFinder>
#include <QTextCharFormat>
Expand Down

0 comments on commit 9f3bf1a

Please sign in to comment.