Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Impossible to build changes only in Qt Creator 8.0.1
Qt 6.11 is out! See what's new in the release blog

Impossible to build changes only in Qt Creator 8.0.1

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 631 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • thomas.denicoloT Offline
    thomas.denicoloT Offline
    thomas.denicolo
    wrote on last edited by
    #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" -j8

    How can I solve this problem?

    1 Reply Last reply
    0
    • thomas.denicoloT Offline
      thomas.denicoloT Offline
      thomas.denicolo
      wrote on last edited by thomas.denicolo
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved