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. [Solved] QtBase Module (5.2 alpha) does not compile on Windows
Qt 6.11 is out! See what's new in the release blog

[Solved] QtBase Module (5.2 alpha) does not compile on Windows

Scheduled Pinned Locked Moved General and Desktop
10 Posts 2 Posters 2.7k 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.
  • D Offline
    D Offline
    dasun
    wrote on last edited by
    #1

    I'm getting following error while I try to compile Qt 5.2 (only QtBase Module) . What I'm I missing here? Include path or something?

    bq. qtextcodec.cpp
    ....\corelib\codecs\qtextcodec.cpp(55) : fatal error C1083: Cannot open include
    file: 'private/qcoreglobaldata_p.h': No such file or directory

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

      Make sure you are using the zip package on Windows, not the tarball.

      Also, please try out with newer source code, as the code has moved on since the alpha (beta binary packages are already available, although not "officially").

      (Z(:^

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dasun
        wrote on last edited by
        #3

        Thank You! My bad, I thought tarball will save some bandwidth. :D

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dasun
          wrote on last edited by
          #4

          will qt 5.2 release with msvc2012 x86 binary too? I can't find the angle build against 2012(x86) libraries but only x64

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

            I don't know, Digia plus a few good people from outside are responsible for providing Qt builds. I usually build Qt myself, so I'm not that interested.

            You can ask on the mailing list, or search the archives, IIRC this topic has sprung up a few times already.

            (Z(:^

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dasun
              wrote on last edited by
              #6

              Ill wait one more day and see. As you pointed out, it doesn't matter. I'll compile it my self if they don't provide binaries. I did compile 5.1 alpha version my self but It took one night on my desktop. So, compiling whole framework is last option to me :) Thank you!

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

                I'm happy to help :)

                I'm not a Windows person, but I think you can pass -mp to configure and then it will use all the CPU cores you have. On Linux and Mac the same is done by passing -j to make. If you have a multicore CPU, this is really a good idea: with 9 running jobs (4 core CPU with HyperThreading), Qt compiles in about 20 minutes.

                (Z(:^

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dasun
                  wrote on last edited by
                  #8

                  Thank you! Ill try "-mp" option. I have four-core CPU. I tried jom but It didn't work out well.

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

                    You can also pass -skip webkit if you don't need QtWebKit: this saves a lot of time. Plus the general stuff:
                    @
                    -nomake tests -nomake examples
                    @

                    (Z(:^

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dasun
                      wrote on last edited by
                      #10

                      I did skip QtWebKit. My desktop memory was just 2 GB. Maybe that is the bottleneck. lets see this time with 6GB :)

                      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