← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1877927] [NEW] Clang fail create code model in QtCreator

 

Public bug reported:

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)

** Affects: qtcreator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
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:
  New

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


Follow ups