[Qt-interest] qsqlite driver not loaded
Dan Milburn
danmilburn at clara.co.uk
Thu Mar 4 16:34:37 CET 2010
Oliver.Knoll at comit.ch wrote:
> Velusamy, Baskar wrote on Wednesday, March 03, 2010 6:42 PM:
>
>> Try to copy QT "plugin" directories to the executable location.
>
> But JUST the SUBdirectories therein!
>
> "If you distribute any of the plugins that come with Qt (the ones located in the plugins directory), you must copy the sub-directory under plugins where the plugin is located to your applications root folder (i.e., do not include the plugins directory)." (http://doc.trolltech.com/4.6/plugins-howto.html)
>
> I guess that can't be repeated enough... ;)
>
Or.. they could change Qt so it works in a manner that's not totally
counter-intuitive. It's not complicated. If Qt puts its plugins under
a 'plugins' directory, users will reasonably assume that they should do
likewise.
At the very least, they should put the documentation for this much more
clearly on the 'Deploying Qt Applications' page, and not on the 'How to
Create Qt Plugins' page, which, guess what, people will probably only
read if they want to create a plugin.
Dan
More information about the Qt-interest-old
mailing list