Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25334

Qt Creator plugin Hunspell can not be used due to missing soname links

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      7cb81fb5baafa5ebd4c0fcd7bb6856c32c6205f6 (qt-creator/qt-creator/master)

      Description

      The hunspell (qtcreator-spellchecker-plugin) plugin can not be loaded due to missing sonames.

      The following Error message is displayed during Qt Creator start up:

      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)'

      The error seems to be caused by the options that qtcreator is build with and not by the plugin itself.

      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 throws 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 install.

      This suggested patch restore the behavior of qmake.

       

      The following symbolic links are missing:

      • /usr/lib/qtcreator/libAdvancedDockingSystem.so -> libAdvancedDockingSystem.so.4
      • /usr/lib/qtcreator/libAggregation.so -> libAggregation.so.4
      • /usr/lib/qtcreator/libClangSupport.so -> libClangSupport.so.4
      • /usr/lib/qtcreator/libCPlusPlus.so -> libCPlusPlus.so.4
      • /usr/lib/qtcreator/libExtensionSystem.so -> libExtensionSystem.so.4
      • /usr/lib/qtcreator/libGLSL.so -> libGLSL.so.4
      • /usr/lib/qtcreator/libLanguageServerProtocol.so.4 -> libLanguageServerProtocol.so.4
      • /usr/lib/qtcreator/libLanguageUtils.so.4 -> libLanguageUtils.so.4
      • /usr/lib/qtcreator/libModeling.so -> libModeling.so.4
      • /usr/lib/qtcreator/libProParser.so -> libProParser.so.4
      • /usr/lib/qtcreator/libqlitehtml.so -> libqlitehtml.so.4
      • /usr/lib/qtcreator/libQmlDebug.so -> libQmlDebug.so.4
      • /usr/lib/qtcreator/libQmlEditorWidgets.so -> libQmlEditorWidgets.so.4
      • /usr/lib/qtcreator/libQmlJS.so -> libQmlJS.so.4
      • /usr/lib/qtcreator/libQtcSsh.so -> libQtcSsh.so.4
      • /usr/lib/qtcreator/libSqlite.so -> libSqlite.so.4
      • /usr/lib/qtcreator/libTracing.so -> libTracing.so.4
      • /usr/lib/qtcreator/libUtils.so -> libUtils.so.4

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              olav Olav Strehl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes