PDA

View Full Version : [Help]Qt Plugin Problem



cometyang
7th February 2008, 20:04
I'm trying to write a qt plugin with qwt. The build process was successful, however, when I try to launch it. The plugin loader tell me that it is not a valid Qt plugin. But when I move all all the code related with Qwt, the plugin is correctly recognized.

Is there anyone know how to solve it?

Thanks in advance.

jpn
8th February 2008, 10:57
On Windows? What if you open the plugin in Dependency Walker? Do you have Qwt in PATH?

cometyang
8th February 2008, 12:08
Now, the problem solved. I download the src code and compile Qt and Qwt again.
It seems the pre-compiled version of Qt downloaded from Trolltech lead to the problem.

devarajdaimane
5th March 2008, 05:26
I'm trying to create my own .dll for my application. is it possible to create .dll without using application plugins..? if so please tell me with simple example...

jpn
5th March 2008, 06:24
Use "lib" TEMPLATE, see qmake docs for an example: http://doc.trolltech.com/latest/qmake-variable-reference.html#template