PDA

View Full Version : [qt4,win,g++] how does Qt find a plugin?



jh
19th March 2006, 19:41
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

Xagen
19th March 2006, 19:52
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.

jacek
19th March 2006, 21:09
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.