Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. binarycreator error: Could not create handler object for archive
Forum Updated to NodeBB v4.3 + New Features

binarycreator error: Could not create handler object for archive

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 120 Views
  • 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.
  • G Offline
    G Offline
    g1ennr
    wrote on 1 May 2024, 23:19 last edited by g1ennr 5 Jan 2024, 23:21
    #1

    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?

    1 Reply Last reply
    0

    1/1

    1 May 2024, 23:19

    • Login

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