[Qt-creator] Custom widget not showing in Qt Designer on Linux
Robert Wood
robert.wood at apostrophe.co.uk
Thu Feb 25 14:31:19 CET 2010
On 24/02/10 15:13, Friedemann Kleint wrote:
> This probably originates from Qt Designer trying to load a phonon plugin. Try
> to remove /opt/qtsdk-2010.02/qt/plugins/designer/libphononwidgets.so and clear
> the environment variable QT_PLUGIN_PATH. If it still doesn't work, try to put
> /opt/qtsdk-2010.02/qt/bin as the first directory in the PATH.
Hi again,
Spent quite some time chasing my tail on this in that if I change the
path so /opt/qtsdk-2010.02/qt/bin is at the start of my path, it stops
the mysql classes working.
I have even tried taking the analogue clock widget example and building
that with exactly the same result. ie it builds locally, the .so is not
put anywhere else and the only way to get designer to see it is by
coping the file which gives errors about headers.
So, would you be able to confirm:
1. *Should* the .so file be automatically put into a plugins directory?
2. If not, and putting it in manually, why am I getting errors. even if
I put an absolute path to the relevant header file?
3. If 1 is true, what can be done to track down why that's not happening?
I can just live with creator not opening files is designer as I can open
them manually there. It's a pain, but not terrible. IT would be nice to
have that working without breaking mysql!
It's frustrating because I have a custom widget I really want to be able
to drag on to forms in designer!
Cheers,
Rob
More information about the Qt-creator-old
mailing list