Changes between Version 1 and Version 2 of FAQ_general_tips
- Timestamp:
- Nov 27, 2014, 6:20:06 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ_general_tips
v1 v2 1 1 [[PageOutline(1-2,Contents,inline)]] 2 2 3 = FAQ -- common run-time errors =3 = FAQ -- common tips = 4 4 5 5 6 6 7 == Plugin loader failure 1 == 8 === Error message === 7 == Compilation without console in Microsoft Windows using CMake == 8 === Solution === 9 Add in your CMakeLists.txt : 9 10 {{{ 10 #!div style="color: red" 11 000038 [2014-02-28 15:50:58.750509] <error> cannot load plugin '!PluginName.dll'. Plugin loader returned 12 error: The shared library was not found. 11 IF(WIN32) 12 LINK_LIBRARIES(${QT_QTMAIN_LIBRARY}) 13 SET(GUI_TYPE WIN32) 14 ENDIF(WIN32) 13 15 }}} 14 15 === Solution ===16 17 See [http://qt-project.org/doc/qt-5/deployment-plugins.html] for more information about development of Qt plugins.18 You can set QT_DEBUG_PLUGINS environment variable to a non-zero value to see more information from plugin loader.19 20 1. Check if filename '!PluginName.dll' is correct in your XML file.21 X. Check if the correct version (release/debug) is used, see plugins ''postfix'' attribute in the XML.22 X. Check if this file exists in the same directory as the executable.