Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multithread compilation
Qt 6.11 is out! See what's new in the release blog

Multithread compilation

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.5k 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.
  • M Offline
    M Offline
    MartinD
    wrote on last edited by
    #1

    How to instruct Qt Creator 4.0.2 on Windows 10 to use all my 8 cores of CPU for compilation for all my projects (I don't want to set -j8 for every configuration of every project)?

    ? D 2 Replies Last reply
    0
    • M MartinD

      How to instruct Qt Creator 4.0.2 on Windows 10 to use all my 8 cores of CPU for compilation for all my projects (I don't want to set -j8 for every configuration of every project)?

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! I guess adding MAKEFLAGS -j8 to the windows environment variables should do the trick.

      1 Reply Last reply
      0
      • M MartinD

        How to instruct Qt Creator 4.0.2 on Windows 10 to use all my 8 cores of CPU for compilation for all my projects (I don't want to set -j8 for every configuration of every project)?

        D Offline
        D Offline
        Devopia53
        wrote on last edited by
        #3

        @MartinD

        Hi,

        You can also set the system environment variable for jom.

        like this: MAKE_COMMAND=C:\Qt\Tools\QtCreator\bin\jom.exe

        or

        Tools -> Options -> Build & Run -> Kits -> Select kit -> Environment -> Change... -> Add : MAKE_COMMAND=C:\Qt\Tools\QtCreator\bin\jom.exe -> Ok

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MartinD
          wrote on last edited by
          #4

          Thanks guys, that works!

          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