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
KIO Extras
Commits
a671d036
Commit
a671d036
authored
Oct 11, 2022
by
Volker Krause
Browse files
Add extra includes and link targets needed to compile with Qt 6
parent
4c8398ef
Pipeline
#246493
passed with stage
in 4 minutes and 52 seconds
Changes
7
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
nfs/CMakeLists.txt
View file @
a671d036
...
...
@@ -55,7 +55,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\")
include_directories
(
${
TIRPC_INCLUDE_DIRS
}
)
add_library
(
kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c
)
target_link_libraries
(
kio_nfs KF5::KIOCore KF5::I18n Qt::Network
${
TIRPC_LIBRARIES
}
)
target_link_libraries
(
kio_nfs KF5::KIOCore
KF5::ConfigCore
KF5::I18n Qt::Network
${
TIRPC_LIBRARIES
}
)
set_target_properties
(
kio_nfs PROPERTIES OUTPUT_NAME
"nfs"
)
if
(
AVOID_UNUSED_VARIABLE_WARNING_FLAG
)
...
...
sftp/CMakeLists.txt
View file @
a671d036
...
...
@@ -35,6 +35,7 @@ endif()
target_link_libraries
(
kio_sftp
KF5::KIOCore
KF5::WidgetsAddons
# KMessageBox
KF5::ConfigCore
KF5::I18n
Qt::Network
ssh
)
...
...
smb/CMakeLists.txt
View file @
a671d036
...
...
@@ -88,6 +88,9 @@ target_link_libraries(kio_smb_static
KDSoap::WSDiscoveryClient
Threads::Threads
# std::async
)
if
(
QT_MAJOR_VERSION EQUAL
"6"
)
target_link_libraries
(
kio_smb_static Qt6::Core5Compat
)
endif
()
# Final plugin target.
add_library
(
kio_smb MODULE main.cpp
)
...
...
smb/kdsoap-ws-discovery-client/src/wsdiscoveryclient.cpp
View file @
a671d036
...
...
@@ -161,3 +161,4 @@ void WSDiscoveryClient::receivedMessage(const KDSoapMessage &replyMessage, const
}
}
#include
"moc_wsdiscoveryclient.cpp"
smb/kio_smb_config.cpp
View file @
a671d036
...
...
@@ -9,8 +9,6 @@
#include
<KConfig>
#include
<KConfigGroup>
#include
<QTextCodec>
void
SMBWorker
::
reparseConfiguration
()
{
m_context
.
authenticator
()
->
loadConfiguration
();
...
...
thumbnail/comiccreator.h
View file @
a671d036
...
...
@@ -21,6 +21,7 @@
#include
<QByteArray>
#include
<QStringList>
#include
<QImage>
#include
<QObject>
class
KArchiveDirectory
;
class
QEventLoop
;
...
...
thumbnail/macros.h
View file @
a671d036
// SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de>
// SPDX-License-Identifier: LGPL-2.0-or-later
#include
<QObject>
// clang-format off
#define EXPORT_THUMBNAILER_WITH_JSON(className, json) \
extern "C" \
...
...
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