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. stop qt build process compiling multiple files in one invocation on windows
Forum Update on Monday, May 27th 2025

stop qt build process compiling multiple files in one invocation on windows

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 306 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.
  • C Offline
    C Offline
    Conrad_Jones
    wrote on 27 Feb 2020, 07:20 last edited by
    #1

    How can I stop the Qt build process building multiple files in one invocation of the compiler ? The reason being is sccache can't cache this calls, I get no caching on a windows build this way, my Mac and linux builds are around 20 minutes (cache fully populated) the windows build is multiple hours.

    To be clear this is building Qt itself from source, not a target app.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 27 Feb 2020, 18:47 last edited by
      #2

      @Conrad_Jones said in stop qt build process compiling multiple files in one invocation on windows:

      To be clear this is building Qt itself from source, not a target app.

      Why do you rebuild Qt completely the whole day?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      C 1 Reply Last reply 28 Feb 2020, 00:29
      0
      • C Christian Ehrlicher
        27 Feb 2020, 18:47

        @Conrad_Jones said in stop qt build process compiling multiple files in one invocation on windows:

        To be clear this is building Qt itself from source, not a target app.

        Why do you rebuild Qt completely the whole day?

        C Offline
        C Offline
        Conrad_Jones
        wrote on 28 Feb 2020, 00:29 last edited by
        #3

        @Christian-Ehrlicher sorry I'm not being rude but that doesn't make sense (I appreciate English my not be your first language)

        do you mean why do I rebuild Qt multiple times ?

        because of changes.:

        upgrade qt version,
        change compile options
        change configure options
        use internal libpng, internal zlib internal libjpeg.

        quite often you build something then realise you need different options when you run up against an issue, supporting 3 operating systems with multiple permutations of each requires different build options.

        1 Reply Last reply
        0

        1/3

        27 Feb 2020, 07:20

        • Login

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