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

Plugin is not install with INSTALLS (custom widget plugin example)



  • The question is about the custom widget plugin example. Besides other options I see the default installation strings looking into the *.pro file:

    TARGET = $$qtLibraryTarget($$TARGET)
    
    target.path = $$[QT_INSTALL_PLUGINS]/designer
    INSTALLS += target
    

    But if I run it (using CTRL+R) nothing changes in the plugins/designer directory. If I move the dll manually then Qt Designer finds it.

    The docs says

    In the above lines, qmake knows what needs to be copied, and will handle the installation process automatically.

    So I think the installation process must be executed every build time automatically. But it does not.

    Any idea why it happens?

    P.S. I use Windows 10 and Qt 5.13.


  • Moderators

    You need to run make install step, which is not run by Qt Creator. You can either add custom make step in Qt Creator, or run it manually from terminal (cmd.exe).


  • Moderators

    You need to run make install step, which is not run by Qt Creator. You can either add custom make step in Qt Creator, or run it manually from terminal (cmd.exe).


Log in to reply