Results 1 to 5 of 5

Thread: [Help]Qt Plugin Problem

  1. #1
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    3

    Default [Help]Qt Plugin Problem

    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.
    Last edited by cometyang; 7th February 2008 at 21:10.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: [Help]Qt Plugin Problem

    On Windows? What if you open the plugin in Dependency Walker? Do you have Qwt in PATH?
    J-P Nurmi

  3. #3
    Join Date
    Dec 2007
    Posts
    4
    Thanks
    3

    Default Re: [Help]Qt Plugin Problem

    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.

  4. #4
    Join Date
    Mar 2008
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [Help]Qt Plugin Problem

    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...

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: [Help]Qt Plugin Problem

    Use "lib" TEMPLATE, see qmake docs for an example: http://doc.trolltech.com/latest/qmak....html#template
    J-P Nurmi

Similar Threads

  1. problem with plugin mysql
    By jose.va18 in forum Installation and Deployment
    Replies: 2
    Last Post: 19th September 2007, 12:12
  2. Qt 4.3.1 Windows Svg plugin problem
    By tzioboro in forum Installation and Deployment
    Replies: 7
    Last Post: 14th September 2007, 10:37
  3. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  4. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05
  5. QPSQL plugin problem
    By tuxi in forum Qt Programming
    Replies: 0
    Last Post: 12th March 2007, 20:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.