Opened 14 years ago
Closed 13 years ago
#206 closed defect (fixed)
QLibrary::load() may give invalid error string
Reported by: | rudi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Qt 4.7 |
Component: | QtCore | Version: | 4.6.3 |
Severity: | medium | Keywords: | |
Cc: |
Description
When loading a DLL fails because a dependent module of the requested one is missing, QLibray::errorString() is wrong.
The reason for that is, that in this case DosLoadModule returns ERROR_FILE_NOT_FOUND. QLibraryPivate::load_sys() then appends ".DLL" and retries the load. It should not do that, if the failing module is different from the one that was attempted to load.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | qlibrary_os2.diff added |
---|
comment:1 by , 14 years ago
Milestone: | Qt Enhanced → Qt 4.7 |
---|
Note:
See TracTickets
for help on using tickets.
Fix for the above problem