binarycreator error: Could not create handler object for archive
-
I'm investigating a workaround for this issue https://bugreports.qt.io/browse/QTIFW-3330 and I'm wanting to use the latest version, as recommended there, so I've built my own using the latest source from git against a static build of Qt 6.6.3. This is on Windows 11 using The MSVC 2022 toolchain and I've followed the documentation and included the dependencies using this qmake config:
qmake CONFIG+=libarchive \ INCLUDEPATH+=path\to\installer-framework\src\libs\3rdparty\zlib \ INCLUDEPATH+=path\to\installer-framework\src\libs\3rdparty\bzip2 \ INCLUDEPATH+=path\to\installer-framework\src\libs\3rdparty\xz\src\liblzma\api
I've put the relevant .lib files in the top level
lib
dir and the linker doesn't complain.When I run my version of binarycreator.exe I get this error.
Caught exception: Could not create handler object for archive "C:/Users/<user>/AppData/Local/Temp/binarycreator-MATeac/<pacakge_id>/<myversion>generic.7z": "void __cdecl QInstallerTools::createArchive(const class QString &,const class QList<class QString> &,enum QInstaller::AbstractArchive::CompressionLevel)".
The error is the same with a version built without libarchive by just configuring using
qmake
by itself.What is going wrong here?