Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT Creator 4.11 Semantic Issues after upgrade



  • Hi,

    I have recently completely upgraded my Ubuntu workstation to version 20.04, all my applications are working exactly the way they should be except for Qt Creator, all my projects are now reporting semantic errors to do with QtGadgets and variable types (picture attached). The project still runs but, I can no longer use the error checking features which QtCreator usefully has integrated and it results in quite a challenging workspace. I am certain this is to do with fundamental changes made to Ubuntu from 18.04, 19.10 to 20.04 as my colleague is also experiencing the exact same problem with her QT projects and it seems her QT has also been upgraded to the latest stable release (5.12.8) as well. My project does show there has been a QT version change recently and I believe it was working correctly without semantic issues in version 5.12.4, I have tried to revert the versions but I have been unsuccessful.

    qt5_semantic.PNG

    QT Creator: 4.11.0
    My QT version is: 5.12.8
    C++: gcc-10.0.1
    CMake: 3.17.3
    QMake: 3.1

    (I have just updated the C++ and Qmake versions to see if that makes a difference, but it hasn't :'( )

    Any help would be greatly appreciated.

    Best Regards, Ren



  • Downgrading is not successful.

    However upgrading to the latest version of QT Creator (4.12.2), released 1 week ago (02-06-20) does indeed work. This cannot be downloaded/upgraded from Ubuntu aptitude (apt) yet therefore you have to download the installer from [https://www.qt.io/offline-installers](link url).
    I kept my old version as I didn't want to cause issues, though I have to run the latest version manually from the command line.

    Best Regards, Ren



  • Downgrading is not successful.

    However upgrading to the latest version of QT Creator (4.12.2), released 1 week ago (02-06-20) does indeed work. This cannot be downloaded/upgraded from Ubuntu aptitude (apt) yet therefore you have to download the installer from [https://www.qt.io/offline-installers](link url).
    I kept my old version as I didn't want to cause issues, though I have to run the latest version manually from the command line.

    Best Regards, Ren



  • @Renegade243
    I am interested in moving from my present Ubuntu 19.04 + Qt 5.12.2 to Ubuntu 20.04 + whatever Qt comes with it from apt-get.

    I have been holding off, as a while ago there was a post in this forum stating that while it "worked", the Qt Creator was so "slow" as to be unusable. We know how things are when new Ubuntu just comes out....

    I would like to clarify 100% what you are saying:

    1. Are you using the Qt release which comes with Ubuntu 20.04, via apt-get? I absolutely do not want to fetch sources and compile. This is vital!

    2. You are saying that for Creator I should not bother with the apt-get one but just download from Qt, correct? I am OK with that.

    3. Given your answers to #1 & #2, are you now satisfied that Creator under 20.04 is "usable" interactively?

    Many thanks.



  • Hi Jon,

    I too upgraded from Ubuntu 19.10 to 20.04 - the QT Creator version available from apt-get (4.11.0) does not work on Ubuntu 20.04 as there are issues with the semantic checking making the software unusable (upgrading cmake, qmake and gcc) to the latest version does not help [I have verified this over two desktop PCs]. I downloaded the installer for the latest QT creator (4.12.2) given in my above post and that works just fine, absolutely no issues.

    On the whole I would recommend upgrading to Ubuntu 20.04, it is much faster and there is a range of other performance issues which have been solved specifically to do with gnome, both my computers have seen a wide range of improvements and there has been little/no issues faced due to incompatibility etc (I run an FPGA development environment also).

    Best Regards, Ren


Log in to reply