Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. KArchive Qt6?
Qt 6.11 is out! See what's new in the release blog

KArchive Qt6?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 648 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Swerved
    wrote on last edited by
    #1

    I'm trying to build KArchive with Qt6:

    mkdir build && cd build && cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=C:\kderoot -DCMAKE_BUILD_TYPE=release -DCMAKE_PREFIX_PATH=C:\kderoot;C:\Qt\6.3.0\msvc2019_64;C:\Dev\Swerve\thirdparty\karchive\zlib;C:\Dev\Swerve\thirdparty\karchive\bzip2;C:\Dev\Swerve\thirdparty\karchive\libLZMA -DQT_MAJOR_VERSION=6
    

    Output:

    CMake Error at C:/kderoot/share/ECM/kde-modules/KDEInstallDirs6.cmake:200 (find_package):
      Could not find a configuration file for package "Qt6" that is compatible
      with requested version "".
    
      The following configuration files were considered but not accepted:
    
        C:/Qt/6.3.0/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake, version: 6.3.0 (64bit)
    
    Call Stack (most recent call first):
      C:/kderoot/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include)
      CMakeLists.txt:14 (include)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Dev/Swerve/thirdparty/karchive/build/CMakeFiles/CMakeOutput.log".
    

    The Qt5 build with 5.15.2 is fine, but naturally, I want to build with Qt6.

    Any ideas?

    Using Quazip anyway so this is not a massive priority, but keen to try out karchive if possible.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If memory serves well, KDE is in the process of preparing their software stack to build with Qt 6.

      You might need a development version of the ECM.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Swerved
        wrote on last edited by
        #3

        Thank you for the info. I guess I will have to wait, probably when 6.4 is out at least.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved