PDA

View Full Version : Problem loading custom library in Qt4.5



ches
10th March 2009, 11:07
hello
I have previously created custom widgets for use within Qt Designer 4.3.4, using the custom widget plugin example as a template.

Now using the same template, but with Q_EXPORT_PLUGIN2, it compiles the codes and inserts the lib###.so file into the correct directory which QtDesigner 4.5 sees as a "Failed Plugin" and is unable to load. The error message is on 1 line and I cant see / copy the whole of it unfortunately.

I'm stumped. I've read the "new" custom widget plugin example doc, but still do no know where the problem could be.

Please help!

I'm going to have to start over building the clock example again, and will let u know if I find the problem.

ches
10th March 2009, 12:37
Apologies!
Just panicked. And rushing.

Just used the "new" customwidget plugin file and changed the class names.

Now how do I remove a thread?
:rolleyes:

ComaWhite
10th March 2009, 19:46
you don't you leave it so other users might gain from it