Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
Windows Vista 64 and Windows 7 64 when running 32-bit Qt app
-
9c419f945f1644e1bb66f4b5216a3d3adddb75b9
Description
Following code fragment executes differently (in release mode) on Windows Vista 64 and Windows 7 64 when running 32-bit Qt app.
// full filename has "dll" extension. Example: c:/project/test.dll QString filename = "c:/project/test"; QLibrary lib(filename); if (! lib.load()) return false; QString fname = lib.fileName(); lib.unload(); // in Windows Vista returned fname has "dll" extenstion; in Windows 7 it has "DLL" extension. Therefore subsequent call "isLibrary" fails because it checks for lower-case "dll";