Ignore:
Timestamp:
Jun 17, 2013, 11:08:02 PM (12 years ago)
Author:
Dmitry A. Kuminov
Message:

core: Don't hide plugin load error message by the resolve entry failure.

When the DLL can't be loaded, it makes no sense to try to resolve any entry points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/plugin/qlibrary.cpp

    r846 r1151  
    689689            }
    690690#  else
    691             qtPluginQueryVerificationDataFunction = (QtPluginQueryVerificationDataFunction) resolve("qt_plugin_query_verification_data");
     691            if (pHnd)
     692                qtPluginQueryVerificationDataFunction = (QtPluginQueryVerificationDataFunction) resolve("qt_plugin_query_verification_data");
    692693#  endif
    693694#endif
Note: See TracChangeset for help on using the changeset viewer.