Commit 42a9c696 authored by Laurent Montel's avatar Laurent Montel
Browse files

Adapt build system against qt6

parent df72ed86
......@@ -26,7 +26,7 @@ include(FeatureSummary)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055a00)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
Core
Widgets
Network
......
......@@ -3,9 +3,9 @@ add_definitions(-DTRANSLATION_DOMAIN=\"fileviewdropboxplugin\")
kcoreaddons_add_plugin(fileviewdropboxplugin SOURCES fileviewdropboxplugin.cpp INSTALL_NAMESPACE "dolphin/vcs")
target_link_libraries(fileviewdropboxplugin
Qt5::Core
Qt5::Widgets
Qt5::Network
Qt::Core
Qt::Widgets
Qt::Network
KF5::I18n
KF5::XmlGui
KF5::KIOCore
......
......@@ -17,8 +17,8 @@ kconfig_add_kcfg_files(fileviewgitplugin
)
target_link_libraries(fileviewgitplugin
Qt5::Core
Qt5::Widgets
Qt::Core
Qt::Widgets
KF5::I18n
KF5::XmlGui
KF5::KIOCore
......
......@@ -46,8 +46,8 @@ kconfig_add_kcfg_files(fileviewhgplugin
)
target_link_libraries(fileviewhgplugin
Qt5::Core
Qt5::Widgets
Qt::Core
Qt::Widgets
KF5::KIOCore
KF5::I18n
KF5::CoreAddons
......
......@@ -6,7 +6,7 @@ kcoreaddons_add_plugin(
INSTALL_NAMESPACE "kf5/kfileitemaction")
target_link_libraries(mountisoaction
Qt5::DBus
Qt::DBus
KF5::I18n
KF5::KIOWidgets
KF5::Solid)
......@@ -24,8 +24,8 @@ kconfig_add_kcfg_files(fileviewsvnplugin
)
target_link_libraries(fileviewsvnplugin
Qt5::Core
Qt5::Widgets
Qt::Core
Qt::Widgets
KF5::I18n
KF5::XmlGui
KF5::KIOCore
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment