Changes between Version 3 and Version 4 of FAQ_runtime
- Timestamp:
- Feb 28, 2014, 4:43:00 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ_runtime
v3 v4 3 3 = FAQ -- common run-time errors = 4 4 5 == Plugin loader failure == 5 == Plugin loader failure 1 == 6 === Error message === 7 {{{ 8 #!div style="color: red" 9 000038 [2014-02-28 15:50:58.750509] <error> cannot load plugin '!PluginName.dll'. Plugin loader returned 10 error: The shared library was not found. 11 }}} 12 13 === Solution === 14 15 See [http://qt-project.org/doc/qt-5/deployment-plugins.html] for more information about development of Qt plugins. 16 You can set QT_DEBUG_PLUGINS environment variable to a non-zero value to see more information from plugin loader. 17 18 1. Check if filename '!PluginName.dll' is correct in your XML file. 19 X. Check if the correct version (release/debug) is used, see plugins ''postfix'' attribute in the XML. 20 X. Check if this file exists in the same directory as the executable. 21 22 == Plugin loader failure 2 == 6 23 === Error message === 7 24 {{{ … … 16 33 You can set QT_DEBUG_PLUGINS environment variable to a non-zero value to see more information from plugin loader. 17 34 18 1. Check if filename '!PluginName.dll' is correct in your XML file. 19 X. Check if the correct version (release/debug) is used, see plugins ''postfix'' attribute in the XML. 20 X. Check if this file exists in the same directory as the executable. 21 X. Check if this component CMakeLists.txt uses ```create_export``` and ```pacpus_plugin``` macros and that it adds generated files to the source file list, e.g.: 35 1. Check if this component CMakeLists.txt uses ```create_export``` and ```pacpus_plugin``` macros and that it adds generated files to the source file list, e.g.: 22 36 {{{ 23 37 create_export(EXPORT_HDR ${PROJECT_NAME})