← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1876436] Re: ClangFormat Plugin broken

 

This bug was fixed in the package qtcreator - 4.14.0-2

---------------
qtcreator (4.14.0-2) unstable; urgency=medium

  * Team upload.
  * Build qtcreator with cmake instead of qmake, as it is supported (and
    encouraged) by upstream:
    - adapt the installation paths to the Debian locations; patch
      debian_paths.diff
    - add the cmake build dependency
    - drop all the other patches related to qmake bits that are not needed
      anymore: rpath_nonlinux.diff, remove_libexec.diff,
      fix_documentation_path.diff, and desktop_nonlinux.diff
    - adapt rules:
      - force the cmake buildsystem, as dh prefers qmake when autodetecting
      - pass -DBUILD_QBS=OFF to not build the embedded copy of qbs
      - enable, build, and install the documentation only when qtcreator-doc
        is built
      - remove duplicated installed files to keep qtcreator-data.install simple
      - export QTC_BUILD_PLUGIN_HELLOWORLD=FALSE to not build the HelloWorld
        plugin (replaces the qmake variable IDE_PACKAGE_MODE=1)
    - update install files
    - create compatibility symlinks for the moved paths of the HTML docs
  * Drop all the LICENSE.LGPL symlinks we create, as those license files are
    not installed anymore.
  * Remove extra executable permissions from qmldir files.
  * Update lintian overrides.
  * Disable shlibs on the internal libraries, as it is pointless.
  * Add the libqt5svg5-dev, and libzstd-dev build dependencies for extra
    features.
  * Drop the unapplied patches always_autotect_qt_versions, and
    fix_qt_version_autodetection.diff: they were added many years ago, with
    not many details on what was the actual problem or whether it was reported
    upstream; they have not been applied for a year and we got no reports about
    them, so drop them for good.
  * Export QTC_BUILD_PLUGIN_CLANGFORMAT=FALSE to disable the build of the
    ClangFormat plugin, as it requires clang-format with a patch not accepted
    yet (Closes: #939825) (LP: #1876436); see:
    - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939825#49
    - https://bugreports.qt.io/browse/QTCREATORBUG-22923

 -- Pino Toscano <pino@xxxxxxxxxx>  Wed, 23 Dec 2020 09:10:13 +0100

** Changed in: qtcreator (Ubuntu)
       Status: Confirmed => Fix Released

** Bug watch added: Debian Bug tracker #939825
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939825

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1876436

Title:
  ClangFormat Plugin broken

Status in qtcreator package in Ubuntu:
  Fix Released

Bug description:
  Description:
  When starting QtCreator everytime I get the error message that ClangFormat Plugin cannot be loaded.

  Initial Situation:
  a) Plugin ClangFormat is activated in a previous session.
  b) Alternatively try to activate the plugin and click on error messages.

  Expected behaviour:
  Plugin is loaded

  Actual behaviour:
  Window opens with the message "Initialization of plugin failed: Disabling ClangFormat plugin as it has not been built against a modified Clang's libFormat."

  Cause:
  I did some research and found that this error message is misleading.
  The true issue is that the library "libClangFormat.so" was not included in the package (or was not build).

  Extra Information:
  As I use this plugin in my projects work it is essentiell to have it included in the qtcreator distribution. It is important to improve code stability within my projects.

  I have recently switched from official QtCreator distribution (which
  includes this plugin) and was surprised on this error on such a basic
  plugin.

  Platform:
  Ubuntu 20.04 LTS x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1876436/+subscriptions


References