[Qt-interest] problems finding sql plugins on Windows (Qt4.4.3)
Ross Bencina
rossb-lists at audiomulch.com
Thu Aug 13 12:28:31 CEST 2009
David García wrote:
> It is possible that the path of the installation would contains
> spaces? In Windows enviroments it can be hurt.
Hi David
Well yes there are spaces, everything usually ends up in C:/Program
Files/AudioMulch 2.0.x/ I do hope Qt can deal with that, it would be a
major flaw for a cross-platform framework if it didn't.
But this shouldn't be a problem when using the -qt-sql-sqlite configure
flag, because the plugin is statically linked in to QSql.dll
I assume there's some other problem with loading the embedded plugin. I
already had my customers clear the plugin cache in the registry but that
didn't help. One possibility which I just thought of is that I'm only
shipping with the QSql.dll configured with -qt-sql-sqlite, the other Qt DLLs
are older versions built without that flag -- would that affect plugin
loading?
Thanks
Ross.
El 13/08/2009, a las 6:33, Ross Bencina escribió:
> Hi All
>
> I ship the Qt dlls with my app, including the sqllite plugin.
>
> I found that when the app was installed on a non-root (C:) volume on
> Windows, Qt sometimes didn't find the sqllite plugin (which means
> Assistant
> couldn't open my help file).
>
> So, I rebuilt Qt with the -qt-sql-sqlite which helped on some
> systems, but
> now I'm getting reports of "Cannot load sqlite database driver" even
> when
> its installed on C:
>
> Aside from specifying the -qt-sql-sqlite flag is there anything else
> I need
> to do to static link the sql lite plugin?
>
> Thanks!
>
> Ross.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list