Plugin is not install with INSTALLS (custom widget plugin example)
Solved
General and Desktop
-
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 theplugins/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.
-
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).