Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT5 KArchive Not Found



  • I am trying to use KArchive to zip a file.
    I can get the example file to work if I use CMAKE, but QT is unable to find it the .pro file comments say

    Show how to use KArchive using qmake

    Set $QMAKEPATH to your KArchive install prefix if this is not found.

    QT += KArchive
    SOURCES += main.cpp

    How do I set the $QMAKEPATH


  • Lifetime Qt Champion

    Hi,

    @export QMAKEPATH=/path/to/your/karchive@

    in your console where you will run cmake


Log in to reply