Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QtCreator: Issues not displayed in Issue panel any more

I don't know what I did to break my QtCreator but "suddenly" all my compiler issues (warnings/errors) are not displayed in the issues-panel any more but only in the "Compile output" panel (where I can't use them to jump to the erroneous code just by clicking).

In the "Issues" panel only the compile target (e.g. an object file) is being displayed like this:

[path/to/makefile:89: path/to/object/file.cpp.o] Error 1

I'm using Creator together with CMake (with Makefiles) and GCC. The compiler output itself seems not to be the problem (another tool which outputs <file>:<linenr>: <description> shows the same result).

What are the requirements for Creator to correctly parse and display issues printed by the compiler (or any other tool)? How can I investigate what's going on?

I'm using QtCreator 4.6.2 on Fedora 27 (and I tried 4.8.0-beta1 as well with the same result)

like image 760
frans Avatar asked Nov 14 '25 20:11

frans


2 Answers

I don't know the technical reason but for me creating a new build-folder solved the problem.

Possibly a CMake or Qt-Creator update introduced some new elements in the environment in an incompatible way..

like image 124
frans Avatar answered Nov 17 '25 10:11

frans


For what it's worth, I was able to resolve a similar issue by resetting the compilers for each of my build and run configurations under Preferences > Build & Run > Kits in Qt Creator.

These had been set to <No compiler> for some reason, probably related to careless tracking of various CMake files while passing the project back and forth between different architectures.

like image 42
Biennial Avatar answered Nov 17 '25 10:11

Biennial



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!