Impossible to build changes only in Qt Creator 8.0.1
-
I have updated Qt Creator to version 8.0.1
I am using theDesktop Kit 5.12.1 MingGW 64-bit .After updating to this latest version of Qt Creator, the compiler recompiles the whole project and all files every time, not just changed files.
I re-downloaded from git all sources: all files have the same mod date, the system clock is correctly synchronized.
I have already tried to:
- delete * .user files and create a new one
- perform clean, qmake, rebuild and ... build
These are the commands I execute:
Clean: "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" clean -j8
QMake: "C:\Qt\5.12.1\mingw73_64\bin\qmake.exe" [PATH-PROJECT].pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Build: "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" -j8How can I solve this problem?
-
I noticed one thing, in reality it is not true that all the sources are compiled but only a part.
The following environment variables are defined in the project:
REPO_1 = <path1>
REPO_2 = <path2>
Both the project folder, REPO_1 folder and REPO_2 folder are git repositories, all up-to-date.The project is composed as follows:
- project.pro
- include ($$(REPO_1 )/Repo1.pri)
- include ($$(REPO_2)/Repo2.pri)
- ..src files..
The only part that is always compiled is REPO_1, for some reason that eludes me. Instead the sources of the project and REPO_2 no.
I can't understand why the compiler chooses to recompile the sources of that folder. - project.pro