Closed bobhairgrove closed 8 months ago
Why are you using the ver
branch?
I tried master and 1.4 on Debian 12, very similar cmake version, no issues.
OK, I had two problems here ...
The following command line built successfully now:
cmake -S .. -B . -DQUAZIP_QT_MAJOR_VERSION=6 -DCMAKE_PREFIX_PATH=/home/bob/code/Qt/6.5.3/gcc_64/lib/cmake/Qt6
Sorry for the noise ... however, it might be a good idea to add a note to the documentation that this is necessary for building with Qt 6?
You seem to have Qt located in a specific directory so that makes sense. I installed it from package manager and did not have to add anything extra for example.
Instructions to specify custom Qt install has been added to main readme.
Trying to build QuaZip on Linux Ubuntu 22.04 with Qt 6.5. My CMake version is 3.26.3.
I extracted the QuaZip sources to a directory such as this:
Then I tried to run
cmake
like this:This was the result:
It isn't finding QuaZip's VERSION, apparently.
Some time ago, with QuaZip 1.3 and Qt 5, I was able to complete the build successfully by using the code in the
ver
branch. What do I need to do now?