QTcreator 9 or 14 custom plugin on linux
-
Dear all, I'm on debian12 , I've compile my custom widget library obtaining a file.so ..... so I copy that file.so on usr/lib/x86_64-linux-gnu/qtcreator/plugins/ folder with sudo ..... for safety i copy the same (whitout using sudo and without root permissions) on usr/lib/x86_64-linux-gnu/qt6/plugins/designer ..... and in usr/lib/x86_64-linux-gnu/qt5/plugins/designer ... too ... but still qtdreator not show me my custom widget ....
any suggest is appreciated
regards -
for first need to copy here: /home/myuser/Qt/5.15.2/gcc_64/plugins/designer/file.so .... (if usr/lib .... is quite equal, need to find tool folder too ... so better a non root installations).
BUT
forgot to copy here too .... /home/myuser/Qt/Tools/QtCreator/lib/qtcreator/plugins/file.soif 2 different version need to use one only at time OR file.so compiled for QT5 and one for QT6, but you can use only if you compile and use: mycustoWidgetqt5 and other different mycustoWidgetqt6
these solve the problem.
-
When you want to use a plugin you have to make sure that the plugin is compiled with the exact same Qt version as QtCreator. It then has to be copied to the designer plugin subdir which is also used by QtCreator.
-
When you want to use a plugin you have to make sure that the plugin is compiled with the exact same Qt version as QtCreator. It then has to be copied to the designer plugin subdir which is also used by QtCreator.
@Christian-Ehrlicher I recompiled the plugin with qtcreator I use ..... and put xxxx.so in that library .... for chech folder and qtcreator in use I control "help" menù of qtcreator ..... think these is the right way to do ...... but nothing happens ....
Maybe problem is on /..../home/QT forlder I have a qtcreator version installed from online_installer app ..... but system (debian 12) have QTcreator 9 download and install from debian repo ..... qt framework or debian So can make some confusion on these?
-
@Christian-Ehrlicher I recompiled the plugin with qtcreator I use ..... and put xxxx.so in that library .... for chech folder and qtcreator in use I control "help" menù of qtcreator ..... think these is the right way to do ...... but nothing happens ....
Maybe problem is on /..../home/QT forlder I have a qtcreator version installed from online_installer app ..... but system (debian 12) have QTcreator 9 download and install from debian repo ..... qt framework or debian So can make some confusion on these?
@gfxx said in QTcreator 9 or 14 custom plugin on linux:
So can make some confusion on these?
Yes.
Which one do you want to use?
And again: you have to build the plug-in using same Qt version which was used to build QtCreator you're using. -
@gfxx said in QTcreator 9 or 14 custom plugin on linux:
So can make some confusion on these?
Yes.
Which one do you want to use?
And again: you have to build the plug-in using same Qt version which was used to build QtCreator you're using. -
for first need to copy here: /home/myuser/Qt/5.15.2/gcc_64/plugins/designer/file.so .... (if usr/lib .... is quite equal, need to find tool folder too ... so better a non root installations).
BUT
forgot to copy here too .... /home/myuser/Qt/Tools/QtCreator/lib/qtcreator/plugins/file.soif 2 different version need to use one only at time OR file.so compiled for QT5 and one for QT6, but you can use only if you compile and use: mycustoWidgetqt5 and other different mycustoWidgetqt6
these solve the problem.
-
G gfxx has marked this topic as solved on