Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69601 - [qtcreator] Qt Creator plugin Hunspell can not be used due to missing soname links
Attached to Project:
Arch Linux
Opened by Olav Strehl (Olav) - Tuesday, 09 February 2021, 19:55 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 18 February 2021, 17:04 GMT
Opened by Olav Strehl (Olav) - Tuesday, 09 February 2021, 19:55 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 18 February 2021, 17:04 GMT
|
DetailsThe hunspell plugin can not be loaded due to missing sonames.
(Error message is displayed during Qt Creator start up) The "cmake install" command does not install the sonames (symbolic link) without version for the libraries in the "/usr/lib/qtcreator/" folder, because in the function "add_qtc_library" the default value of NAMELINK_OPTION is set to NAMELINK_SKIP. Therefore, qt-creator plugins on Linux/Unix platforms cannot find the libraries and throw an error during linking. Change the default from NAMELINK_SKIP to NAMELINK_COMPONENT fix the problem. Before the cmake build system was used, those symbolic links were installed. See: https://bugreports.qt.io/browse/QTCREATORBUG-25334 |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 18 February 2021, 17:04 GMT
Reason for closing: Won't fix
Thursday, 18 February 2021, 17:04 GMT
Reason for closing: Won't fix
Sorry for being to imprecise. The issue occurs during loading of the SpellChecker plugin. (qtcreator-spellchecker-plugin-git)
Error message:
Could not resolve dependency 'Core(4.4.1)'
Could not resolve dependency 'TextEditor(4.4.1)'
Could not resolve dependency 'ProjectExplorer(4.4.1)'
Could not resolve dependency 'CppEditor(4.4.1)'
Could not resolve dependency 'CppTools(4.4.1)'
But seems to be caused by the options that qtcreator is build with and not by the plugin itself.
The 'new' "cmake install" command does not install the sonames(symbolic link) without version for the libraries in the "/usr/lib/qtcreator/" folder. Therefore, qt-creator plugins on Linux/Unix platforms cannot find the libraries and throw an error during linking. The links were set before the build system were changed to cmake.
A suggested patch can be found attached to the Qt Bug report.