Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Slow compilation in Qt Creator

Slow compilation in Qt Creator

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 4 Posters 4.0k 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.
  • B Offline
    B Offline
    bheadmaster
    wrote on last edited by
    #1

    Hello, I just installed Qt Creator 5.4 a few hours ago and I've been trying to find my way in it.
    I have only worked in C++ before, and now the compilation time in the Qt Creator seems so long.

    For only a plain console application with nothing written on it, it takes about 10 seconds to compile. For a Widget application with only one functionless button on the main window, it takes one minute to compile.
    Is there a way to fix this or do I have to get used to it? :)

    I'm using 32-bit Windows XP.
    Cheers!

    P.S.
    While I drag a button across the grid of the window where I should put the buttons and stuff, I can't see the button or the cursor and it makes it very hard to place a button on the right place. What could cause that issue?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Qt build process is a bit more complicated (Qt Creator runs qmake, then make, which in turn executes the UI compiler, Meta Object compiler, Resource compiler, and then C++ compiler and linker). But still, it should not take that long. Please check whether your antivirus software is not getting in the way. Also, you can check (in project settings/ Qt Creator settings) whether you are using nmake or jom to perform the build - jom is faster.

      Or maybe it's some XP-specific thing, I don't know. It's been a few years since I last saw and XP machine.

      (Z(:^

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        [quote author="bheadmaster" date="1422383521"]I'm using 32-bit Windows XP.[/quote]What is your...

        • RAM?
        • CPU speed?
        • Age of your hard disk?
        • Compiler?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • enjoysmathE Offline
          enjoysmathE Offline
          enjoysmath
          wrote on last edited by
          #4

          I agree, this shit is slow af. Has some sort of memory leak or every feature possible is running somewhere in the background. My PC, we could fry eggs on it.

          https://github.com/enjoysmath
          https://math.stackexchange.com/users/26327/exercisingmathematician

          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