Where to put my plugin to be seen in Qt Designer ?
-
I installed on Debian 11 Qt 6.5 through the qt-unified-linux-x64-4.5.2-online.run installer. After the installation I created my own plugin (release version) and now I would like to see it listed among the plugins in use in Qt Designer (incorporated in QtCreator after installation). Where should I put it ? I tried putting it in /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/designer/libcustomwidgetplugin.so (path install Qt) and here's what you see from Tools > Form Editor... > About Qt Designer Plugins... (see attached figure):
If instead I put it in /home/myuser/Qt/6.5.0/gcc_64/plugins/designer/ nothing is displayed, even if I refresh it. Can you help me visualize this plugin in Qt Designer ? -
I installed on Debian 11 Qt 6.5 through the qt-unified-linux-x64-4.5.2-online.run installer. After the installation I created my own plugin (release version) and now I would like to see it listed among the plugins in use in Qt Designer (incorporated in QtCreator after installation). Where should I put it ? I tried putting it in /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/designer/libcustomwidgetplugin.so (path install Qt) and here's what you see from Tools > Form Editor... > About Qt Designer Plugins... (see attached figure):
If instead I put it in /home/myuser/Qt/6.5.0/gcc_64/plugins/designer/ nothing is displayed, even if I refresh it. Can you help me visualize this plugin in Qt Designer ?@giorgik63 The folder is correct but you compiled it with the wrong Qt version - you have to compile it with the Qt version which QtCreator is built with.
-
@giorgik63 The folder is correct but you compiled it with the wrong Qt version - you have to compile it with the Qt version which QtCreator is built with.
@Christian-Ehrlicher But the plugin was compiled with Qt 6.5 version with its Qt Creator installation.
-
@Christian-Ehrlicher But the plugin was compiled with Qt 6.5 version with its Qt Creator installation.
@giorgik63 Please take a look what QtCreator was built with (About dialog) - I would guess it's not 6.5
-
@giorgik63 Please take a look what QtCreator was built with (About dialog) - I would guess it's not 6.5
@Christian-Ehrlicher This is what it shows me
-
@Christian-Ehrlicher This is what it shows me
So as I said - it was built with Qt 6.4.3 so when you want that QtCreator can load your plugin you have to compile it witt Qt 6.4.3 as already told you in my first post
-
So as I said - it was built with Qt 6.4.3 so when you want that QtCreator can load your plugin you have to compile it witt Qt 6.4.3 as already told you in my first post
@Christian-Ehrlicher I understand. So if I want to use Qt 6.5 instead, do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?
-
@Christian-Ehrlicher I understand. So if I want to use Qt 6.5 instead, do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?
@giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:
do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?
Why should you recompile Qt from source when you want a QtCreator (= a program which is using Qt) built with a specific version?
IIrc the next QtCreator will be based on Qt6.5 -
@giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:
do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?
Why should you recompile Qt from source when you want a QtCreator (= a program which is using Qt) built with a specific version?
IIrc the next QtCreator will be based on Qt6.5@Christian-Ehrlicher Yes, but how long will I have to wait ?
-
@Christian-Ehrlicher Yes, but how long will I have to wait ?
@giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:
but how long will I have to wait ?
You should ask the QtCreator devs if you want to know it exactly. Or simply compile your plugin with Qt 6.4