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

Problem with static deployment



  • Hey, I have a problem with the static deployment of my application.
    The project is this one: https://github.com/Magnus2552/quickcurver/
    When I try to run qmake -config release, it just says Project ERROR: Plugin material is missing a classname entry, please add one to the qmldir file.. It compiles fine, when I don't try to build a static version, so I don't know what is going wrong.
    The source of the problem is for sure the qml-material plugin that I use: I import the qml-material plugin the way that it is described here in this section, is there anything else that I have to do for a static compilation?
    Thanks in advance
    Steps to reproduce my problem:

    1. Clone my repo including submodules (Installation instructions)
    2. Run the following command sequence
    cd quickcurver
    mkdir build
    PATH=/path/to/qt/bin:$PATH
    export PATH
    qmake --config release ..
    


  • I solved this finally by linking to the plugin as well on compilation.


Log in to reply