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. Slow compilation in QtCreator
Forum Updated to NodeBB v4.3 + New Features

Slow compilation in QtCreator

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    goocreations
    wrote on last edited by
    #1

    I'm using QtCreator for my project. The project uses CMake and builds about 30 very small shared libraries and an executable. When I change a single line of code and compile it, QtCreator takes somwhere between 3 - 5 minutes to compile my project (yes, it's a quite big one). However when I compile it directly via the terminal, the compilation takes less than 20 seconds. When I look at the compilation output, it seems that CMake and my compiler (via the terminal) only compile the files and libraries that were changed and quickly skip over the rest. QtCreator however takes way longer to process the files that were not even changed.

    Why does this happen? Is it because I'm using CMake, or is this generally an optimization problem in QtCreator?

    I'm working on a 64bit Linux with the latests gcc compiler.

    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