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 Build time
Forum Updated to NodeBB v4.3 + New Features

Slow Build time

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
18 Posts 4 Posters 2.6k Views 3 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.
  • mrjjM mrjj

    @Thembalami-Msimango

    Look in task manager when you compile

    alt text

    Is all your cores fully used?

    T Offline
    T Offline
    Thembalami Msimango
    wrote on last edited by
    #9

    @mrjj Screenshot (4).png mine has 2 cores but I think its showing only one when its like this

    jsulmJ 2 Replies Last reply
    0
    • T Thembalami Msimango

      @mrjj Screenshot (4).png mine has 2 cores but I think its showing only one when its like this

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #10

      @Thembalami-Msimango Right click on the graph and select "Logical processors" (or whatever the english text is).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • T Thembalami Msimango

        @mrjj Screenshot (4).png mine has 2 cores but I think its showing only one when its like this

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #11

        @Thembalami-Msimango Go to Project settings ->Build -> Build steps and check what is set in "Parallel jobs" (it should be the number of logical cores of your CPU).

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • T Offline
          T Offline
          Thembalami Msimango
          wrote on last edited by Thembalami Msimango
          #12

          Screenshot (5).png

          I am having trouble understanding what u said there your phrasing knocked me out😅

          but there is no parallel jobs option or anything here @jsulm

          jsulmJ 1 Reply Last reply
          0
          • T Thembalami Msimango

            Screenshot (5).png

            I am having trouble understanding what u said there your phrasing knocked me out😅

            but there is no parallel jobs option or anything here @jsulm

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #13

            @Thembalami-Msimango said in Slow Build time:

            but there is no parallel jobs option or anything here

            There is, you need to expand "Details".
            But you can already see "-j4" which means 4 build processes are used, so looks good.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            T 1 Reply Last reply
            1
            • jsulmJ jsulm

              @Thembalami-Msimango said in Slow Build time:

              but there is no parallel jobs option or anything here

              There is, you need to expand "Details".
              But you can already see "-j4" which means 4 build processes are used, so looks good.

              T Offline
              T Offline
              Thembalami Msimango
              wrote on last edited by
              #14

              @jsulm Eish ohk I see, I guess I will have to switch to a different IDE since this one seems to have problems beyond reach, thank you

              jsulmJ 1 Reply Last reply
              0
              • T Thembalami Msimango

                @jsulm Eish ohk I see, I guess I will have to switch to a different IDE since this one seems to have problems beyond reach, thank you

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #15

                @Thembalami-Msimango The IDE is most probably not the problem here. QtCreator simply calls qmake and then make. You could try to build manually in a terminal to see whether it is also slow or not.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                T 1 Reply Last reply
                3
                • jsulmJ jsulm

                  @Thembalami-Msimango The IDE is most probably not the problem here. QtCreator simply calls qmake and then make. You could try to build manually in a terminal to see whether it is also slow or not.

                  T Offline
                  T Offline
                  Thembalami Msimango
                  wrote on last edited by
                  #16

                  @jsulm problem is I don't know how to build on terminal...and my lecturer was building on terminal but he is using UBUNTU......is there a tutorial maybe on how to build on terminal

                  1 Reply Last reply
                  0
                  • KH-219DesignK Offline
                    KH-219DesignK Offline
                    KH-219Design
                    wrote on last edited by
                    #17

                    If the course instructor is using Ubuntu, then (despite the overhead of installing extra tools), you might find it simplest to:

                    • install VirtualBox
                    • create an Ubuntu VM
                    • use qmake in a terminal window inside your Ubuntu VM

                    Hopefully in this way you can eliminate any discrepancy between the instructor's procedure and your own, and maximize chances of success (with success being defined here as "replicating whatever the instructor is doing without errors").

                    I would also recommend matching the exact Ubuntu version preferred by the instructor, and the exact Qt version.

                    www.219design.com
                    Software | Electrical | Mechanical | Product Design

                    1 Reply Last reply
                    2
                    • KH-219DesignK Offline
                      KH-219DesignK Offline
                      KH-219Design
                      wrote on last edited by
                      #18

                      I should have also mentioned, for completeness: I 100% agree with @jsulm 's hypothesis that "The IDE is most probably not the problem here"

                      However, the set of possibilities that contains the actual problem could still be a very large set (possibly unbounded?).

                      Therefore, if you are under a deadline for coursework, that is why I recommend just sticking verbatim to whatever the instructor is doing.

                      www.219design.com
                      Software | Electrical | Mechanical | Product Design

                      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