Results 1 to 3 of 3

Thread: [qt4,win,g++] how does Qt find a plugin?

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    84
    Thanks
    7
    Thanked 2 Times in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default [qt4,win,g++] how does Qt find a plugin?

    hi,

    i use the g++ version of qt4 which has odbc support compiled as
    a plugin. everything works fine but if i want to run the program
    on another computer where qt is not installed i do not have any
    database drivers because qt cannot find the plugin (which i copied
    with all the other qt libs in the working directory of the app)

    how can i tell qt on another machine where to find plugins?

    regards,
    jh

  2. #2
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: [qt4,win,g++] how does Qt find a plugin?

    IMHO, I think that the QT on another machine is not compiled with ODBC support, so there is no way to make your app work on that machine.

    Maybe I'm wrong.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [qt4,win,g++] how does Qt find a plugin?

    Quote Originally Posted by jh
    which i copied with all the other qt libs in the working directory of the app
    Try moving those plugins to "sqldrivers" subdirectory of the directory where the executable was installed.

  4. The following user says thank you to jacek for this useful post:

    jh (20th March 2006)

Similar Threads

  1. Trouble with plugin system's documentation
    By niklas in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2009, 22:07
  2. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  3. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  4. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.