Make Quazip work with Qt6 | Add Qt6Core5Compat module to docker container

Job ID: 35130644

Budget: €30 – €250 EUR

I am trying to build
https://github.com/stachenov/quazip

with the docker containers:
https://github.com/state-of-the-art/qt6-docker


Fails because module Qt6Core5Compat is missing.

---------------------------------------------------------------------------------------------------------------------------------
- Could NOT find Qt6Core5Compat (missing: Qt6Core5Compat_DIR)
CMake Error at CMakeLists.txt:67 (find_package):
Found package configuration file:

/opt/Qt/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:

Failed to find required Qt component "Core5Compat".

Expected Config file at
"/opt/Qt/6.4.0/gcc_64/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake"
does NOT exist



Configuring with --debug-find-pkg=Qt6Core5Compat might reveal details why
the package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
---------------------------------------------------------------------------------------------------------------------------------


So goal of the project is to make the quazip compile with the containers.

i need the docker with added Qt6Core5Compat module or QuaZip without QtCore5Compat and only qt6 dependency.

https://github.com/qt/qt5compat
Related categories: Python Linux C++ Programming Docker Qt