Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.2
-
None
-
Ubuntu 22.04
-
-
d0a192064e (qt-creator/qt-creator/7.0) d0a192064e (qt-creator/qt-creator/master) d0a192064e (qt-creator/qt-creator/qds-3.3) d0a192064e (qt-creator/tqtc-qt-creator/7.0)
Description
Hello,
I updated to QtCreator 6.0.2 yesterday (by updating to Ubuntu 22.04), and it seems that environment variables can no longer be used in the project .includes file as before. I used to add for example a line
${ROOTSYS}/include
(with older versions it was $$(ROOTSYS)/include) in order for code completion to work with my code based on the ROOT framework. I don't know if the syntax has changed (I could not find any mention anywhere), but all variants of '${}', '$${}', '$()' have been tried and failed.
Strangely, not only environment variables but also QtCreator's own variable to find the build directory, i.e.
%{buildDir}
no longer works in order to find the header files generated during build time.
Both the environment variables and buildDir still work in the project build configuration, and compilation is not a problem.
Could you help me please?
Best regards