This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compiling kio with Qt5.15 [solved]

Tags: None
(comma "," separated)
franciskassatly
Registered Member
Posts
2
Karma
0

Compiling kio with Qt5.15 [solved]

Thu Feb 11, 2021 2:10 pm
Is kio known to have any problems compiling with Qt5.15? Previously it compiled fine with Qt5.14, but has been producing errors when compiling with Qt5.15
Code: Select all
# kdesrc-build running: 'cmake' '/opt/kde5-src/frameworks/kio' '-G' 'Unix Makefiles' '-DBUILD_TESTING=TRUE' '-DCMAKE_CXX_FLAGS:STRING=-pipe' '-DCMAKE_INSTALL_PREFIX=/opt/kde5/' '-DCMAKE_PREFIX_PATH=/opt/Qt5/'
# from directory: /opt/kde5-src/build/frameworks/kio
-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/share/colorgcc/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/share/colorgcc/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--

Installing in /opt/kde5. Run /opt/kde5-src/build/frameworks/kio/prefix.sh to set the environment for KIO.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Could not set up the appstream test. appstreamcli is missing.
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found GSSAPI: -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for include file attr/libattr.h
-- Looking for include file attr/libattr.h - found
-- Looking for include file sys/xattr.h
-- Looking for include file sys/xattr.h - found
-- Looking for include file sys/acl.h
-- Looking for include file sys/acl.h - found
-- Looking for include file acl/libacl.h
-- Looking for include file acl/libacl.h - found
-- Found ACL support: /usr/lib/libacl.so;/usr/lib/libattr.so
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Failed
-- Looking for getmntinfo
-- Looking for getmntinfo - not found
-- Looking for setmntent
-- Looking for setmntent - found
-- Looking for include file mntent.h
-- Looking for include file mntent.h - found
-- Looking for include files stdio.h, sys/mnttab.h
-- Looking for include files stdio.h, sys/mnttab.h - not found
-- Looking for include file sys/mntent.h
-- Looking for include file sys/mntent.h - not found
-- Looking for include files sys/param.h, sys/mount.h
-- Looking for include files sys/param.h, sys/mount.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file fstab.h
-- Looking for include file fstab.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for volmgt_running in volmgt
-- Looking for volmgt_running in volmgt - not found
-- Performing Test GETMNTINFO_USES_STATVFS
-- Performing Test GETMNTINFO_USES_STATVFS - Failed
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include files sys/types.h, sys/extattr.h
-- Looking for include files sys/types.h, sys/extattr.h - not found
-- Looking for sendfile
-- Looking for sendfile - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Performing Test HAVE_DIRENT_D_TYPE
-- Performing Test HAVE_DIRENT_D_TYPE - Success
-- Performing Test HAVE_STATX
-- Performing Test HAVE_STATX - Failed
-- Found LibXslt: /usr/lib/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.4")
-- Looking for include file stdio.h
-- Looking for include file stdio.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for strtoll
-- Looking for strtoll - found
-- generating /opt/kde5-src/build/frameworks/kio/src/ioslaves/http/kcookiejar/org.kde.kcookiejar5.service from /opt/kde5/lib/cmake/KF5DBusAddons/KF5dbus.service.in
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- generating /opt/kde5-src/build/frameworks/kio/src/kiod/org.kde.kiod5.service from /opt/kde5/lib/cmake/KF5DBusAddons/KF5dbus.service.in
-- generating /opt/kde5-src/build/frameworks/kio/src/kssld/org.kde.kssld5.service from /opt/kde5/lib/cmake/KF5DBusAddons/KF5dbus.service.in
-- generating /opt/kde5-src/build/frameworks/kio/src/kpasswdserver/org.kde.kpasswdserver.service from /opt/kde5/lib/cmake/KF5DBusAddons/KF5dbus.service.in
-- generating /opt/kde5-src/build/frameworks/kio/src/kioexec/org.kde.kioexecd.service from /opt/kde5/lib/cmake/KF5DBusAddons/KF5dbus.service.in
-- Looking for include file arpa/nameser_compat.h
-- Looking for include file arpa/nameser_compat.h - found
-- Looking for include file arpa/nameser8_compat.h
-- Looking for include file arpa/nameser8_compat.h - not found
-- Looking for include files sys/types.h, netinet/in.h
-- Looking for include files sys/types.h, netinet/in.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for res_init in resolv
-- Looking for res_init in resolv - not found
-- Looking for __res_init in resolv
-- Looking for __res_init in resolv - found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect in socket
-- Looking for connect in socket - not found
-- The following features have been enabled:

 * DESIGNERPLUGIN, Build plugin for Qt Designer

-- The following RUNTIME packages have been found:

 * KDED, Daemon providing session services
   KDED is used at runtime for proxy management and cookie storage

-- The following OPTIONAL packages have been found:

 * KF5DocTools (required version >= 5.79.0), Provides tools to generate documentation in various format from DocBook files
   Required to build help ioslave and documentation
 * GSSAPI, Allows KIO to make use of certain HTTP authentication services, <http://web.mit.edu/kerberos/www>
   A MIT or HEIMDAL flavor of GSSAPI can be used
 * X11
 * KF5Wallet (required version >= 5.79.0), Safe desktop-wide storage for passwords
   Required to have permanent storage of passwords for kpasswdserver
 * KF5Notifications (required version >= 5.79.0), Notifications library
   Required to have error notification support in kpac
 * Qt5Qml (required version >= 5.14.0), QtQml, one of the Qt5 modules
   Required to build support for auto-configuration of network proxies

-- The following RECOMMENDED packages have been found:

 * ACL, LibACL, <ftp://oss.sgi.com/projects/xfs/cmd_tars>
   Support for manipulating access control lists
   Support for manipulating access control lists

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.79.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * KF5Crash (required version >= 5.79.0)
 * KF5DBusAddons (required version >= 5.79.0)
 * KF5Service (required version >= 5.79.0)
 * KF5Solid (required version >= 5.79.0)
 * KF5Completion (required version >= 5.79.0)
 * KF5IconThemes (required version >= 5.79.0)
 * KF5ItemViews (required version >= 5.79.0)
 * KF5JobWidgets (required version >= 5.79.0)
 * KF5WindowSystem (required version >= 5.79.0)
 * Qt5Network
 * Qt5Concurrent
 * Qt5Test
 * Qt5X11Extras
 * Qt5 (required version >= 5.14.0)
 * KF5Archive (required version >= 5.79.0)
 * LibXslt, <http://xmlsoft.org/XSLT>
   Required by the KDE help system to process DocBook XML
 * LibXml2, <http://xmlsoft.org>
   Required by the KDE help system to process DocBook XML
 * Qt5Gui (required version >= 5.14.0)
 * KF5Bookmarks (required version >= 5.79.0)
 * KF5Sonnet (required version >= 5.79.0)
 * Gettext
 * KF5I18n (required version >= 5.79.0)
 * KF5TextWidgets (required version >= 5.79.0)
 * Qt5UiPlugin
   Required to build Qt Designer plugins
 * KF5CoreAddons (required version >= 5.79.0)
 * KF5Auth (required version >= 5.79.0)
 * Qt5Core (required version >= 5.14.0)
 * KF5Codecs (required version >= 5.79.0)
 * Qt5Xml (required version >= 5.14.0)
 * Qt5DBus (required version >= 5.14.0)
 * KF5Config (required version >= 5.79.0)
 * Qt5Widgets (required version >= 5.14.0)
 * KF5WidgetsAddons (required version >= 5.79.0)
 * KF5ConfigWidgets (required version >= 5.79.0)
 * KF5XmlGui (required version >= 5.79.0)

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/kde5-src/build/frameworks/kio

-----------------------------------------------------------------------------------------------------------------------------------------------

# kdesrc-build running: 'gmake' '-j' '4'
# from directory: /opt/kde5-src/build/frameworks/kio
Scanning dependencies of target KF5KIONTLM_autogen
Scanning dependencies of target kded_kcookiejar_autogen
Scanning dependencies of target copy_protocols
Scanning dependencies of target protocoltojson_autogen
[  0%] Automatic MOC for target KF5KIONTLM
[  0%] Automatic MOC for target protocoltojson
[  0%] Automatic MOC for target kded_kcookiejar
[  0%] Built target copy_protocols
Scanning dependencies of target kcookiejar5_autogen
[  0%] Automatic MOC for target kcookiejar5
[  0%] Built target protocoltojson_autogen
Scanning dependencies of target ktelnetservice5_autogen
[  0%] Automatic MOC for target ktelnetservice5
[  0%] Built target KF5KIONTLM_autogen
Scanning dependencies of target lockingtest_autogen
[  1%] Automatic MOC for target lockingtest
[  1%] Built target kcookiejar5_autogen
Scanning dependencies of target kpac_dhcp_helper_autogen
[  1%] Automatic MOC for target kpac_dhcp_helper
[  1%] Built target ktelnetservice5_autogen
Scanning dependencies of target KF5KIOCore_autogen
[  1%] Generating moc_predefs.h
[  1%] Built target kpac_dhcp_helper_autogen
[  2%] Automatic MOC for target KF5KIOCore
Scanning dependencies of target protocoltojson
[  2%] Building CXX object src/protocoltojson/CMakeFiles/protocoltojson.dir/protocoltojson_autogen/mocs_compilation.cpp.o
[  2%] Building CXX object src/protocoltojson/CMakeFiles/protocoltojson.dir/main.cpp.o
[  2%] Built target lockingtest_autogen
Scanning dependencies of target KF5KIONTLM
[  2%] Building CXX object src/kntlm/CMakeFiles/KF5KIONTLM.dir/KF5KIONTLM_autogen/mocs_compilation.cpp.o
[  2%] Building CXX object src/kntlm/CMakeFiles/KF5KIONTLM.dir/kntlm.cpp.o
[  2%] Built target kded_kcookiejar_autogen
[  2%] Generating org.kde.KCookieServer.xml
[  2%] Generating kcookieserverinterface.cpp, kcookieserverinterface.h
[  2%] Generating kcookieserverinterface.moc
Scanning dependencies of target kcookiejar5
[  2%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kcookiejar5.dir/kcookiejar5_autogen/mocs_compilation.cpp.o
[  3%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kcookiejar5.dir/kcookieserverinterface.cpp.o
[  4%] Building CXX object src/kntlm/CMakeFiles/KF5KIONTLM.dir/des.cpp.o
[  5%] Linking CXX executable ../../bin/protocoltojson
[  5%] Built target protocoltojson
Scanning dependencies of target ktelnetservice5
[  5%] Building CXX object src/ioslaves/telnet/CMakeFiles/ktelnetservice5.dir/ktelnetservice5_autogen/mocs_compilation.cpp.o
[  5%] Building CXX object src/ioslaves/telnet/CMakeFiles/ktelnetservice5.dir/ktelnetservice.cpp.o
[  5%] Linking CXX shared library ../../bin/libKF5KIONTLM.so
[  5%] Built target KF5KIONTLM
Scanning dependencies of target lockingtest
[  5%] Building CXX object src/ioslaves/trash/tests/CMakeFiles/lockingtest.dir/lockingtest_autogen/mocs_compilation.cpp.o
[  5%] Building CXX object src/ioslaves/trash/tests/CMakeFiles/lockingtest.dir/lockingtest.cpp.o
[  5%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kcookiejar5.dir/main.cpp.o
[  5%] Built target KF5KIOCore_autogen
[  5%] Building CXX object src/ioslaves/trash/tests/CMakeFiles/lockingtest.dir/__/kinterprocesslock.cpp.o
Scanning dependencies of target kpac_dhcp_helper
[  6%] Building CXX object src/kpac/CMakeFiles/kpac_dhcp_helper.dir/kpac_dhcp_helper_autogen/mocs_compilation.cpp.o
[  6%] Building C object src/kpac/CMakeFiles/kpac_dhcp_helper.dir/kpac_dhcp_helper.c.o
[  6%] Linking CXX executable ../../bin/kpac_dhcp_helper
[  7%] Linking CXX executable ../../../bin/ktelnetservice5
[  7%] Built target kpac_dhcp_helper
[  8%] Generating kpasswdserver_interface.cpp, kpasswdserver_interface.h
[  8%] Generating kiofuse_interface.cpp, kiofuse_interface.h
[  8%] Generating klauncher_interface.cpp, klauncher_interface.h
[  8%] Generating kpasswdserver_interface.moc
[  8%] Generating kiofuse_interface.moc
[  8%] Generating klauncher_interface.moc
[  8%] Built target ktelnetservice5
[  8%] Generating kcookieserveradaptor.cpp, kcookieserveradaptor.h
[  8%] Generating kcookieserveradaptor.moc
Scanning dependencies of target KF5KIOCore
[  8%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/KF5KIOCore_autogen/mocs_compilation.cpp.o
Scanning dependencies of target kded_kcookiejar
[  8%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar.dir/kded_kcookiejar_autogen/mocs_compilation.cpp.o
[  8%] Linking CXX executable ../../../../bin/lockingtest
[  8%] Built target lockingtest
[  8%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar.dir/kcookiejar.cpp.o
[  8%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar.dir/kcookieserver.cpp.o
[  8%] Linking CXX executable ../../../../bin/kcookiejar5
[  8%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/idleslave.cpp.o
[  8%] Built target kcookiejar5
[  8%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/connectionbackend.cpp.o
[  8%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar.dir/kcookiewin.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/connection.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/connectionserver.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/krecentdocument.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/kfileitemlistproperties.cpp.o
[ 10%] Building CXX object src/ioslaves/http/kcookiejar/CMakeFiles/kded_kcookiejar.dir/kcookieserveradaptor.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/tcpslavebase.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/directorysizejob.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/forwardingslavebase.cpp.o

[color=#FF0000]In file included from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11:0,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:50:19: error: ‘QSslKey’ does not name a type; did you mean ‘KSslKey’?
     KSslKey(const QSslKey &sslKey);
                   ^~~~~~~
                   KSslKey
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:72:22: error: ‘QSslCipher’ does not name a type; did you mean ‘KSslCipher’?
     KSslCipher(const QSslCipher &);
                      ^~~~~~~~~~
                      KSslCipher
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:121:55: error: ‘QSslCertificate’ does not name a type; did you mean ‘KSslKeyPrivate’?
     KSslError(KSslError::Error error = NoError, const QSslCertificate &cert = QSslCertificate());
                                                       ^~~~~~~~~~~~~~~
                                                       KSslKeyPrivate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:130:5: error: ‘QSslCertificate’ does not name a type; did you mean ‘KSslKeyPrivate’?
     QSslCertificate certificate() const;
     ^~~~~~~~~~~~~~~
     KSslKeyPrivate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:121:79: error: ‘QSslCertificate’ was not declared in this scope
     KSslError(KSslError::Error error = NoError, const QSslCertificate &cert = QSslCertificate());
                                                                               ^~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:121:79: note: suggested alternative: ‘InvalidCertificate’
     KSslError(KSslError::Error error = NoError, const QSslCertificate &cert = QSslCertificate());
                                                                               ^~~~~~~~~~~~~~~
                                                                               InvalidCertificate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:309:33: error: ‘QSslCertificate’ does not name a type; did you mean ‘KSslKeyPrivate’?
     void addCaCertificate(const QSslCertificate &certificate);
                                 ^~~~~~~~~~~~~~~
                                 KSslKeyPrivate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:312:40: error: ‘QSslCertificate’ was not declared in this scope
     void addCaCertificates(const QList<QSslCertificate> &certificates);
                                        ^~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:312:40: note: suggested alternative: ‘addCaCertificate’
     void addCaCertificates(const QList<QSslCertificate> &certificates);
                                        ^~~~~~~~~~~~~~~
                                        addCaCertificate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:312:55: error: template argument 1 is invalid
     void addCaCertificates(const QList<QSslCertificate> &certificates);
                                                       ^
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:313:11: error: ‘QSslCertificate’ was not declared in this scope
     QList<QSslCertificate> caCertificates() const;
           ^~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:313:11: note: suggested alternative: ‘addCaCertificate’
     QList<QSslCertificate> caCertificates() const;
           ^~~~~~~~~~~~~~~
           addCaCertificate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:313:26: error: template argument 1 is invalid
     QList<QSslCertificate> caCertificates() const;
                          ^
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:317:5: error: ‘QSslCertificate’ does not name a type; did you mean ‘KSslKeyPrivate’?
     QSslCertificate localCertificate() const;
     ^~~~~~~~~~~~~~~
     KSslKeyPrivate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:318:11: error: ‘QSslCertificate’ was not declared in this scope
     QList<QSslCertificate> peerCertificateChain() const;
           ^~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:318:11: note: suggested alternative: ‘addCaCertificate’
     QList<QSslCertificate> peerCertificateChain() const;
           ^~~~~~~~~~~~~~~
           addCaCertificate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:318:26: error: template argument 1 is invalid
     QList<QSslCertificate> peerCertificateChain() const;
                          ^
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:321:40: error: ‘QSslCertificate’ was not declared in this scope
     void setCaCertificates(const QList<QSslCertificate> &certificates);
                                        ^~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:321:40: note: suggested alternative: ‘addCaCertificate’
     void setCaCertificates(const QList<QSslCertificate> &certificates);
                                        ^~~~~~~~~~~~~~~
                                        addCaCertificate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:321:55: error: template argument 1 is invalid
     void setCaCertificates(const QList<QSslCertificate> &certificates);
                                                       ^
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:324:36: error: ‘QSslCertificate’ does not name a type; did you mean ‘KSslKeyPrivate’?
     void setLocalCertificate(const QSslCertificate &certificate);
                                    ^~~~~~~~~~~~~~~
                                    KSslKeyPrivate
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:361:5: error: ‘QSslConfiguration’ does not name a type
     QSslConfiguration sslConfiguration() const;
     ^~~~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:368:36: error: ‘QSslConfiguration’ does not name a type
     void setSslConfiguration(const QSslConfiguration &configuration);
                                    ^~~~~~~~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:0:
/opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:50:36: error: ‘QSslError::SslError’ has not been declared
     bool isErrorIgnored(QSslError::SslError error) const;
                                    ^~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:68:50: error: incomplete type ‘QSslError’ used in nested name specifier
     void setIgnoredErrors(const QList<QSslError::SslError> &errors);
                                                  ^~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:68:50: error: incomplete type ‘QSslError’ used in nested name specifier
/opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:68:58: error: template argument 1 is invalid
     void setIgnoredErrors(const QList<QSslError::SslError> &errors);
                                                          ^
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:139:16: error: field ‘socket’ has incomplete type ‘QSslSocket’
     QSslSocket socket;
                ^~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:18:7: note: forward declaration of ‘class QSslSocket’
 class QSslSocket;
       ^~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp: In member function ‘void KIO::TCPSlaveBase::TcpSlaveBasePrivate::setSslMetaData()’:
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:76:9: error: ‘QSslCipher’ was not declared in this scope
         QSslCipher cipher = socket.sessionCipher();
         ^~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:76:9: note: suggested alternative: ‘KSslCipher’
         QSslCipher cipher = socket.sessionCipher();
         ^~~~~~~~~~
         KSslCipher
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:77:68: error: ‘cipher’ was not declared in this scope
         sslMetaData.insert(QStringLiteral("ssl_protocol_version"), cipher.protocolString());
                                                                    ^~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:77:68: note: suggested alternative: ‘linger’
         sslMetaData.insert(QStringLiteral("ssl_protocol_version"), cipher.protocolString());
                                                                    ^~~~~~
                                                                    linger
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:29: error: invalid use of incomplete type ‘class QSslError’
             if (sslErrors[i].certificate().isNull()) {
                             ^
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:30: error: invalid use of incomplete type ‘class QSslError’
             if (sslErrors[i].certificate().isNull()) {
                              ^~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:88:54: error: invalid use of incomplete type ‘class QSslError’
                 sslErrors[i] = QSslError(sslErrors[i].error(), peerCertificateChain[0]);
                                                      ^
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:88:55: error: invalid use of incomplete type ‘class QSslError’
                 sslErrors[i] = QSslError(sslErrors[i].error(), peerCertificateChain[0]);
                                                       ^~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:88:87: error: invalid use of incomplete type ‘class QSslError’
                 sslErrors[i] = QSslError(sslErrors[i].error(), peerCertificateChain[0]);
                                                                                       ^
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:96:21: error: invalid use of incomplete type ‘const class QSslError’
                 if (error.certificate() == cert) {
                     ^~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:96:21: error: invalid use of incomplete type ‘const class QSslError’
                 if (error.certificate() == cert) {
                     ^~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:97:66: error: invalid use of incomplete type ‘const class QSslError’
                     errorStr += QString::number(static_cast<int>(error.error())) + QLatin1Char('\t');
                                                                  ^~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:97:66: error: invalid use of incomplete type ‘const class QSslError’
                     errorStr += QString::number(static_cast<int>(error.error())) + QLatin1Char('\t');
                                                                  ^~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp: In member function ‘ssize_t KIO::TCPSlaveBase::read(char*, ssize_t)’:
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:219:57: error: incomplete type ‘QSslSocket’ used in nested name specifier
     if (d->usingSSL && (d->socket.mode() != QSslSocket::SslClientMode)) {
                                                         ^~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp: In member function ‘ssize_t KIO::TCPSlaveBase::readLine(char*, ssize_t)’:
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:234:57: error: incomplete type ‘QSslSocket’ used in nested name specifier
     if (d->usingSSL && (d->socket.mode() != QSslSocket::SslClientMode)) {
                                                         ^~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp: In member function ‘KIO::TCPSlaveBase::SslResult KIO::TCPSlaveBase::TcpSlaveBasePrivate::startTLSInternal(QSsl::SslProtocol, int)’:
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:426:5: error: ‘QSslCipher’ was not declared in this scope
     QSslCipher cipher = socket.sessionCipher();
     ^~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:426:5: note: suggested alternative: ‘KSslCipher’
     QSslCipher cipher = socket.sessionCipher();
     ^~~~~~~~~~
     KSslCipher
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:428:10: error: in argument to unary !
     if (!encryptionStarted || socket.mode() != QSslSocket::SslClientMode
          ^~~~~~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:428:60: error: incomplete type ‘QSslSocket’ used in nested name specifier
     if (!encryptionStarted || socket.mode() != QSslSocket::SslClientMode
                                                            ^~~~~~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:429:16: error: ‘cipher’ was not declared in this scope
             || cipher.isNull() || cipher.usedBits() == 0 || socket.peerCertificateChain().isEmpty()) {
                ^~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:429:16: note: suggested alternative: ‘linger’
             || cipher.isNull() || cipher.usedBits() == 0 || socket.peerCertificateChain().isEmpty()) {
                ^~~~~~
                linger
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp: In member function ‘KIO::TCPSlaveBase::SslResult KIO::TCPSlaveBase::verifyServerCertificate()’:
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:537:20: error: invalid use of incomplete type ‘const class QSslError’
         message += err.errorString() + QLatin1Char('\n');
                    ^~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:537:20: error: invalid use of incomplete type ‘const class QSslError’
         message += err.errorString() + QLatin1Char('\n');
                    ^~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qglobal.h:45:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/usr/include/c++/7.2.1/type_traits: In instantiation of ‘struct std::is_trivial<QSslError>’:
/opt/Qt5/include/QtCore/qtypeinfo.h:66:32:   required from ‘constexpr bool qIsTrivial() [with T = QSslError]’
/opt/Qt5/include/QtCore/qtypeinfo.h:84:35:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/usr/include/c++/7.2.1/type_traits:673:12: error: invalid use of incomplete type ‘class QSslError’
     struct is_trivial
            ^~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qglobal.h:1298:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qtypeinfo.h: In instantiation of ‘constexpr bool qIsTrivial() [with T = QSslError]’:
/opt/Qt5/include/QtCore/qtypeinfo.h:84:35:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qtypeinfo.h:66:32: error: ‘value’ is not a member of ‘std::is_trivial<QSslError>’
     return std::is_trivial<T>::value;
                                ^~~~~
/opt/Qt5/include/QtCore/qtypeinfo.h:70:1: error: body of constexpr function ‘constexpr bool qIsTrivial() [with T = QSslError]’ not a return-statement
 }
 ^
/opt/Qt5/include/QtCore/qtypeinfo.h: In instantiation of ‘class QTypeInfo<QSslError>’:
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qtypeinfo.h:84:35: error: ‘constexpr bool qIsTrivial() [with T = QSslError]’ called in a constant expression
         isComplex = !qIsTrivial<T>(),
                      ~~~~~~~~~~~~~^~
/opt/Qt5/include/QtCore/qtypeinfo.h:63:23: note: ‘constexpr bool qIsTrivial() [with T = QSslError]’ is not usable as a constexpr function because:
 static constexpr bool qIsTrivial()
                       ^~~~~~~~~~
/opt/Qt5/include/QtCore/qtypeinfo.h:80:10: error: enumerator value for ‘isComplex’ is not an integer constant
     enum {
          ^
In file included from /opt/Qt5/include/QtCore/qglobal.h:45:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/usr/include/c++/7.2.1/type_traits: In instantiation of ‘struct std::is_trivially_copyable<QSslError>’:
/opt/Qt5/include/QtCore/qtypeinfo.h:56:49:   required from ‘constexpr bool qIsRelocatable() [with T = QSslError]’
/opt/Qt5/include/QtCore/qtypeinfo.h:86:42:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/usr/include/c++/7.2.1/type_traits:679:12: error: invalid use of incomplete type ‘class QSslError’
     struct is_trivially_copyable
            ^~~~~~~~~~~~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qglobal.h:1298:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qtypeinfo.h: In instantiation of ‘constexpr bool qIsRelocatable() [with T = QSslError]’:
/opt/Qt5/include/QtCore/qtypeinfo.h:86:42:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qtypeinfo.h:56:49: error: ‘value’ is not a member of ‘std::is_trivially_copyable<QSslError>’
     return std::is_trivially_copyable<T>::value && std::is_trivially_destructible<T>::value;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/Qt5/include/QtCore/qglobal.h:45:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/usr/include/c++/7.2.1/type_traits: In instantiation of ‘struct std::is_trivially_destructible<QSslError>’:
/opt/Qt5/include/QtCore/qtypeinfo.h:56:49:   required from ‘constexpr bool qIsRelocatable() [with T = QSslError]’
/opt/Qt5/include/QtCore/qtypeinfo.h:86:42:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/usr/include/c++/7.2.1/type_traits:1446:12: error: invalid use of incomplete type ‘class QSslError’
     struct is_trivially_destructible
            ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qglobal.h:1298:0,
                 from /opt/Qt5/include/QtCore/qchar.h:43,
                 from /opt/Qt5/include/QtCore/qstring.h:49,
                 from /opt/Qt5/include/QtCore/QString:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:12,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qtypeinfo.h: In instantiation of ‘constexpr bool qIsRelocatable() [with T = QSslError]’:
/opt/Qt5/include/QtCore/qtypeinfo.h:86:42:   required from ‘class QTypeInfo<QSslError>’
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qtypeinfo.h:56:49: error: ‘value’ is not a member of ‘std::is_trivially_destructible<QSslError>’
     return std::is_trivially_copyable<T>::value && std::is_trivially_destructible<T>::value;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/opt/Qt5/include/QtCore/qtypeinfo.h:60:1: error: body of constexpr function ‘constexpr bool qIsRelocatable() [with T = QSslError]’ not a return-statement
 }
 ^
/opt/Qt5/include/QtCore/qtypeinfo.h: In instantiation of ‘class QTypeInfo<QSslError>’:
/opt/Qt5/include/QtCore/qlist.h:152:62:   required from ‘T& QList<T>::Node::t() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:57:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qtypeinfo.h:86:42: error: ‘constexpr bool qIsRelocatable() [with T = QSslError]’ called in a constant expression
         isRelocatable = qIsRelocatable<T>(),
                         ~~~~~~~~~~~~~~~~~^~
/opt/Qt5/include/QtCore/qtypeinfo.h:53:23: note: ‘constexpr bool qIsRelocatable() [with T = QSslError]’ is not usable as a constexpr function because:
 static constexpr bool qIsRelocatable()
                       ^~~~~~~~~~~~~~
/opt/Qt5/include/QtCore/qtypeinfo.h:80:10: error: enumerator value for ‘isRelocatable’ is not an integer constant
     enum {
          ^
/opt/Qt5/include/QtCore/qtypeinfo.h:87:26: error: invalid application of ‘sizeof’ to incomplete type ‘QSslError’
         isLarge = (sizeof(T)>sizeof(void*)),
                          ^
/opt/Qt5/include/QtCore/qtypeinfo.h:89:24: error: invalid application of ‘sizeof’ to incomplete type ‘QSslError’
         sizeOf = sizeof(T)
                        ^
In file included from /opt/Qt5/include/QtCore/qobject.h:49:0,
                 from /opt/Qt5/include/QtCore/qiodevice.h:45,
                 from /opt/Qt5/include/QtCore/qfiledevice.h:43,
                 from /opt/Qt5/include/QtCore/qfile.h:44,
                 from /opt/Qt5/include/QtCore/QFile:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:13,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QSslError]’:
/opt/Qt5/include/QtCore/qlist.h:921:18:   required from ‘void QList<T>::dealloc(QListData::Data*) [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:874:16:   required from ‘QList<T>::~QList() [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:70:15:   required from here
/opt/Qt5/include/QtCore/qlist.h:526:61: error: invalid use of incomplete type ‘class QSslError’
         while (from != to) --to, reinterpret_cast<T*>(to)->~T();
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qobject.h:49:0,
                 from /opt/Qt5/include/QtCore/qiodevice.h:45,
                 from /opt/Qt5/include/QtCore/qfiledevice.h:43,
                 from /opt/Qt5/include/QtCore/qfile.h:44,
                 from /opt/Qt5/include/QtCore/QFile:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:13,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QSslError]’:
/opt/Qt5/include/QtCore/qlist.h:835:18:   required from ‘void QList<T>::detach_helper(int) [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:849:18:   required from ‘void QList<T>::detach_helper() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:178:64:   required from ‘void QList<T>::detach() [with T = QSslError]’
/opt/Qt5/include/QtCore/qlist.h:580:9:   required from ‘T& QList<T>::operator[](int) [with T = QSslError]’
/opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:87:28:   required from here
/opt/Qt5/include/QtCore/qlist.h:492:30: error: invalid use of incomplete type ‘class QSslError’
                 current->v = new T(*reinterpret_cast<T*>(src->v));
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qobject.h:49:0,
                 from /opt/Qt5/include/QtCore/qiodevice.h:45,
                 from /opt/Qt5/include/QtCore/qfiledevice.h:43,
                 from /opt/Qt5/include/QtCore/qfile.h:44,
                 from /opt/Qt5/include/QtCore/QFile:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:13,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qlist.h:505:17: error: invalid use of incomplete type ‘class QSslError’
                 new (current) T(*reinterpret_cast<T*>(src));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
In file included from /opt/Qt5/include/QtCore/qobject.h:49:0,
                 from /opt/Qt5/include/QtCore/qiodevice.h:45,
                 from /opt/Qt5/include/QtCore/qfiledevice.h:43,
                 from /opt/Qt5/include/QtCore/qfile.h:44,
                 from /opt/Qt5/include/QtCore/QFile:1,
                 from /opt/kde5-src/frameworks/kio/src/core/global.h:13,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/global.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/slavebase.h:10,
                 from /opt/kde5-src/build/frameworks/kio/src/core/kio/slavebase.h:1,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.h:18,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:13:
/opt/Qt5/include/QtCore/qlist.h:511:51: error: invalid use of incomplete type ‘class QSslError’
                 (reinterpret_cast<T*>(current))->~T();
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from /opt/kde5-src/frameworks/kio/src/core/ktcpsocket.h:15:0,
                 from /opt/kde5-src/frameworks/kio/src/core/ksslcertificatemanager.h:11,
                 from /opt/kde5-src/frameworks/kio/src/core/tcpslavebase.cpp:17:
/opt/kde5-src/frameworks/kio/src/core/ksslerroruidata.h:17:7: note: forward declaration of ‘class QSslError’
 class QSslError;
       ^~~~~~~~~
src/core/CMakeFiles/KF5KIOCore.dir/build.make:205: recipe for target 'src/core/CMakeFiles/KF5KIOCore.dir/tcpslavebase.cpp.o' failed
gmake[2]: *** [src/core/CMakeFiles/KF5KIOCore.dir/tcpslavebase.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 10%] Linking CXX shared module ../../../../bin/kf5/kded/kcookiejar.so
[ 11%] Built target kded_kcookiejar
CMakeFiles/Makefile2:1091: recipe for target 'src/core/CMakeFiles/KF5KIOCore.dir/all' failed
gmake[1]: *** [src/core/CMakeFiles/KF5KIOCore.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
gmake: *** [all] Error 2[/color]

Last edited by franciskassatly on Fri Feb 12, 2021 9:43 pm, edited 1 time in total.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Compiling kio with Qt5.15

Fri Feb 12, 2021 11:58 am
I don't think the forum is the correct place to report this, you should report your findings to https://bugs.kde.org and mention it with the bug number on the kde-devel mailing list


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
franciskassatly
Registered Member
Posts
2
Karma
0

Re: Compiling kio with Qt5.15

Fri Feb 12, 2021 9:41 pm
I think I've figured it now. Qt5.14 was compiling with SSL support by default, which kio seems to need, but Qt5.15 needed a newer version of SSL, so it wasn't compiling SSL support by default.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]