← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1877927] Re: Clang fail create code model in QtCreator

 

This bug was fixed in the package qtcreator - 4.12.4-1

---------------
qtcreator (4.12.4-1) unstable; urgency=medium

  * Team upload.
  * New upstream release.
  * Use the default LLVM/clang Debian versions, rather than hardcoding 8.
    Hopefully qtcreator will properly support newer LLVM versions fast enough.
    (Closes: #966007)
    - switch the libclang-8-dev build dependency to libclang-dev >= 8
    - switch the llvm-8-dev build dependency to llvm-dev >= 8
    - get the LLVM root using llvm-config
  * Switch the generic clang recommend to a dependency of the exact clang-N
    used to build (Closes: #919860, #952718) (LP: #1890434, #1877927)
    - add the clang build dependency to get the used clang executable
  * Drop the Debian man page, as it is outdated, and it offers no useful
    information.
  * Force the version of libqt5designercomponents5 as dependency to be at least
    the same as used during the build. (Closes: #966169)
  * Remove the kate-data suggest, as it does not exist anymore; syntax
    highlighting files are already provided by KF5SyntaxHighlighting.

 -- Pino Toscano <pino@xxxxxxxxxx>  Wed, 19 Aug 2020 19:00:23 +0200

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

-- 
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/1877927

Title:
  Clang fail create code model in QtCreator

Status in qtcreator package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu version: Ubuntu 20.04 LTS
  QtCreator version: 4.11.0-2build2

  After installing Ubuntu 20.04 and QtCreator I can't develop with
  QtCreator. It print hundred of code errors like incomplete QString
  class in Q_OBJECT macro or doesn't recognize any Qt class. Buidling
  the code works and compiler doen't print any errors so this comes from
  code model plugin in QtCreator.

  I found out that qtcreator depends on libclang1-8 but by default it
  install clang-10 as clang resolve to it. I solved this problem with
  code model plugin by installing clang-8 which resolved all errors
  reported by itand now works properly.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: qtcreator 4.11.0-2build2
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Mon May 11 07:44:55 2020
  InstallationDate: Installed on 2020-05-06 (4 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: qtcreator
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References