Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KTorrent
Commits
d5b96763
Commit
d5b96763
authored
Aug 10, 2022
by
Laurent Montel
Browse files
Prepare cmake to qt6 support
parent
efcfdaa3
Pipeline
#215589
passed with stage
in 2 minutes and 7 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ktmagnetdownloader/CMakeLists.txt
View file @
d5b96763
...
...
@@ -3,7 +3,7 @@ ecm_mark_nongui_executable(ktmagnetdownloader)
target_sources
(
ktmagnetdownloader PRIVATE magnetdownloader.cpp magnettest.cpp
)
target_link_libraries
(
ktmagnetdownloader ktcore Qt
5
::Widgets Qt
5
::Network
)
target_link_libraries
(
ktmagnetdownloader ktcore Qt::Widgets Qt::Network
)
install
(
TARGETS ktmagnetdownloader
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
ktupnptest/CMakeLists.txt
View file @
d5b96763
...
...
@@ -6,7 +6,7 @@ ki18n_wrap_ui(ktupnptest upnptestwidget.ui)
target_link_libraries
(
ktupnptest
Qt
5
::Network
Qt::Network
KF5::Torrent
KF5::CoreAddons
KF5::I18n
...
...
plugins/ipfilter/CMakeLists.txt
View file @
d5b96763
...
...
@@ -25,7 +25,7 @@ target_link_libraries(
KF5::WidgetsAddons
)
find_package
(
Qt
5
Test
${
QT5_REQUIRED_VERSION
}
)
if
(
Qt
5
Test_DIR
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
Test
${
QT5_REQUIRED_VERSION
}
)
if
(
Qt
${
QT_MAJOR_VERSION
}
Test_DIR
)
add_subdirectory
(
tests
)
endif
()
plugins/ipfilter/tests/CMakeLists.txt
View file @
d5b96763
include
(
ECMAddTests
)
ecm_add_test
(
ipblocklisttest.cpp ../ipblocklist.cpp TEST_NAME ipblocklisttest LINK_LIBRARIES ktcore Qt
5
::Core Qt
5
::Network KF5::Torrent Qt
5
::Test
)
ecm_add_test
(
ipblocklisttest.cpp ../ipblocklist.cpp TEST_NAME ipblocklisttest LINK_LIBRARIES ktcore Qt::Core Qt::Network KF5::Torrent Qt::Test
)
plugins/mediaplayer/CMakeLists.txt
View file @
d5b96763
...
...
@@ -41,6 +41,6 @@ target_link_libraries(
KF5::KIOFileWidgets
KF5::XmlGui
KF5::WidgetsAddons
# Qt
5
::MultimediaWidgets
# Qt
:
::MultimediaWidgets
)
install
(
FILES ktorrent_mediaplayerui.rc DESTINATION
${
KXMLGUI_INSTALL_DIR
}
/ktorrent
)
plugins/search/CMakeLists.txt
View file @
d5b96763
...
...
@@ -19,7 +19,7 @@ kconfig_add_kcfg_files(ktorrent_search searchpluginsettings.kcfgc)
target_link_libraries
(
ktorrent_search
ktcore
Qt
5
::WebEngineWidgets
Qt::WebEngineWidgets
KF5::Torrent
KF5::CoreAddons
KF5::Completion
...
...
plugins/syndication/CMakeLists.txt
View file @
d5b96763
...
...
@@ -24,7 +24,7 @@ ki18n_wrap_ui(ktorrent_syndication feedwidget.ui managefiltersdlg.ui filteredito
target_link_libraries
(
ktorrent_syndication
ktcore
Qt
5
::WebEngineWidgets
Qt::WebEngineWidgets
KF5::Torrent
KF5::CoreAddons
KF5::ConfigCore
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment