[Qt-interest] Qt plugins with mapped drives on Windows?

Paul Miller paul at fxtech.com
Fri Sep 10 18:06:18 CEST 2010


I have a mapped virtual drive (ie. real path of D:\paul mapped to 
C:\home\paul), and when I override the Qt library path to a path in 
C:\home\paul\ the plugins fail to load.

I traced this down to the QFactoryLoader and it is getting the path to 
the plugins and then canonilizing them to something like this:

Volume{0a7fb7da-c17b-4a39-a299-f999dccca61b}/paul/plugins/imageformats/qjpeg4.dll

And it fails to load. So it looks like the factory loader doesn't work 
with virtual drives like this. If I explicitly set the library path to 
D:\paul\ then it works.

Just wanted to make sure this was SUPPOSED to work before I file an 
issue. Seems like a bug. If I install an application on a virtual mapped 
drive that includes its own copy of the plugins, the app wouldn't be 
able to find them.




More information about the Qt-interest-old mailing list