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. Compiling Qt from sources
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt from sources

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 1.9k Views 2 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 mrjj
    8 Oct 2018, 13:00

    Hi
    What version of mingw ?
    I think mingw do not have support for std::recursive_mutex
    or at least not in the version that comes with 5.9.2
    Or at least thats what i found on google.
    But most post are few years old.

    O Offline
    O Offline
    ODБOï
    wrote on 8 Oct 2018, 13:39 last edited by
    #3

    Hi,
    Thx for answer
    @mrjj said in Compiling Qt from sources:

    What version of mingw ?

    This is not a version that comes with Qt but a separate installation of minGw, is this bad ?

    mingw32-make - v
    output :
    GNU Make 4.2.1
    Built for x86_64-w64-mingw32

    I will try to :
    use more recent verions
    use minGw witch comes with qt tools

    Thank you

    M 1 Reply Last reply 8 Oct 2018, 14:09
    0
    • O ODБOï
      8 Oct 2018, 13:39

      Hi,
      Thx for answer
      @mrjj said in Compiling Qt from sources:

      What version of mingw ?

      This is not a version that comes with Qt but a separate installation of minGw, is this bad ?

      mingw32-make - v
      output :
      GNU Make 4.2.1
      Built for x86_64-w64-mingw32

      I will try to :
      use more recent verions
      use minGw witch comes with qt tools

      Thank you

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 8 Oct 2018, 14:09 last edited by
      #4

      @LeLev
      Hi
      Its not bad pr se, but i did burn my fingers using other version
      that the one Qt provides. One issue can be 64 bit but it seems you are using 32.
      so i would try the included mingw.
      I know the test is not trivial due to huge compile times:)

      O 1 Reply Last reply 8 Oct 2018, 14:22
      3
      • M mrjj
        8 Oct 2018, 14:09

        @LeLev
        Hi
        Its not bad pr se, but i did burn my fingers using other version
        that the one Qt provides. One issue can be 64 bit but it seems you are using 32.
        so i would try the included mingw.
        I know the test is not trivial due to huge compile times:)

        O Offline
        O Offline
        ODБOï
        wrote on 8 Oct 2018, 14:22 last edited by
        #5

        @mrjj Thaks, i will try this tomorrow

        O 1 Reply Last reply 9 Oct 2018, 14:10
        0
        • O ODБOï
          8 Oct 2018, 14:22

          @mrjj Thaks, i will try this tomorrow

          O Offline
          O Offline
          ODБOï
          wrote on 9 Oct 2018, 14:10 last edited by ODБOï 10 Sept 2018, 14:10
          #6

          hi @mrjj

          6 houres ans 20 minutes and it is still running, is this normal ?

          Intel Core i5-6500 / 3.20 GHz
          8 Go RAM

          M 1 Reply Last reply 9 Oct 2018, 14:26
          0
          • O ODБOï
            9 Oct 2018, 14:10

            hi @mrjj

            6 houres ans 20 minutes and it is still running, is this normal ?

            Intel Core i5-6500 / 3.20 GHz
            8 Go RAM

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 9 Oct 2018, 14:26 last edited by
            #7

            @LeLev
            thats a bit long. does it uses all cores ?
            i mean did u use the -j option ?

            O 1 Reply Last reply 9 Oct 2018, 15:05
            4
            • M mrjj
              9 Oct 2018, 14:26

              @LeLev
              thats a bit long. does it uses all cores ?
              i mean did u use the -j option ?

              O Offline
              O Offline
              ODБOï
              wrote on 9 Oct 2018, 15:05 last edited by
              #8

              @mrjj No.. Sadly i have not used -j , next time, for sure i will use it, Thank you

              1 Reply Last reply
              0
              • O Offline
                O Offline
                ODБOï
                wrote on 10 Oct 2018, 10:43 last edited by ODБOï 10 Oct 2018, 10:49
                #9

                Hi @mrjj, finally done!

                But just a empty qtquick App 600Mo ?

                I knew static makes the executable bigger but i was not expecting 600mo. There must be some techniques to optimise the executable size, no ?

                edit : actually that was a debug build, release version is 20Mo

                @mrjj meny thx for help

                M 1 Reply Last reply 10 Oct 2018, 11:28
                1
                • O ODБOï
                  10 Oct 2018, 10:43

                  Hi @mrjj, finally done!

                  But just a empty qtquick App 600Mo ?

                  I knew static makes the executable bigger but i was not expecting 600mo. There must be some techniques to optimise the executable size, no ?

                  edit : actually that was a debug build, release version is 20Mo

                  @mrjj meny thx for help

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 10 Oct 2018, 11:28 last edited by
                  #10

                  @LeLev
                  Good work :)
                  and yes, debug builds are amazingly fat.

                  O 1 Reply Last reply 10 Oct 2018, 15:04
                  2
                  • M mrjj
                    10 Oct 2018, 11:28

                    @LeLev
                    Good work :)
                    and yes, debug builds are amazingly fat.

                    O Offline
                    O Offline
                    ODБOï
                    wrote on 10 Oct 2018, 15:04 last edited by
                    #11

                    @mrjj Hi,

                    I have a last question pls :

                    The folder where i installed Qt static version has now size of 638 Go ! is this 'normal' ?

                    M 1 Reply Last reply 10 Oct 2018, 16:09
                    0
                    • O ODБOï
                      10 Oct 2018, 15:04

                      @mrjj Hi,

                      I have a last question pls :

                      The folder where i installed Qt static version has now size of 638 Go ! is this 'normal' ?

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 10 Oct 2018, 16:09 last edited by mrjj 10 Oct 2018, 16:10
                      #12

                      @LeLev
                      I would check where you had build folder. it most like is in that folder too.
                      Seems a bit big :)
                      So there might be tons of .o files etc remaining.

                      1 Reply Last reply
                      3
                      • O Offline
                        O Offline
                        ODБOï
                        wrote on 11 Oct 2018, 09:54 last edited by
                        #13

                        Hi
                        i have saved 300Go by deleting \mingw53_32_static\examples

                        1 Reply Last reply
                        1
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 11 Oct 2018, 10:02 last edited by
                          #14

                          Hi,

                          Always build with -nomake tests -nomake examples especially when doing a static build.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          3

                          12/14

                          10 Oct 2018, 16:09

                          • Login

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