Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 64bit Qt build on WIndows
Qt 6.12 LTS is out! See what's new in the release blog

64bit Qt build on WIndows

Scheduled Pinned Locked Moved General and Desktop
13 Posts 3 Posters 5.0k 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.
  • K Offline
    K Offline
    krojew
    wrote on last edited by
    #4

    [quote author="JKSH" date="1389965053"]Hi,

    I haven't encountered this message before, but...

    If MSVC and/or Qt are in your system PATH, remove them. Make sure you do your compilation from the "Developer Command Prompt for VS2013"

    Did you do a full clean of your build tree between compilation attempts?[/quote]

    I'm using the command prompt. I've done 32 bit build earlier and did a nmake clean before 64.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      krojew
      wrote on last edited by
      #5

      After downloading git sources, the build fails on missing header files. I found that there are no headers, those without .h extension, present anywhere. I followed all git wiki instructions. Is there a way to build Qt on windows atm?

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #6

        nmake clean does not do a full clean, because there are many layers of Makefiles. You need...
        @
        git clean -dfx
        git submodule foreach "git clean -dfx"
        @

        ...as described in http://qt-project.org/wiki/Building_Qt_5_from_Git

        I regularly build Qt on Windows and clean using the above command. No issues whatsoever. :)

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • K Offline
          K Offline
          krojew
          wrote on last edited by
          #7

          I managed to find that the Perl script for generating headers did not work. For some reason, when run during full clean build, it doesn't generate any files and build just fails in the end. You have to manually execute it from qtbase first. Also there are some other errors in current git (ex. dom.cpp not seeing dom.h), but this is to be expected from a dev branch.
          After some tweaking I managed to build qtbase but then failed on svg, due to syncqt.pl failing to generate anything beyond qtbase.

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #8

            The version of Perl that comes bundled with Git for Windows is old and buggy. Have you:

            Installed a more recent version of Perl, and

            Made sure that it is found in your PATH before the Git Perl?

            Also, I recommend doing a successful compile of revision that is guaranteed to be good (e.g. the 'v5.2.0' tag in the stable branch), before trying to compile the dev branch.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • K Offline
              K Offline
              krojew
              wrote on last edited by
              #9

              I have the most recent version of Perl.

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #10

                Is it found in your PATH before the Git Perl?

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  krojew
                  wrote on last edited by
                  #11

                  Yes, it is. ActivePerl to be exact, if it makes a difference.

                  1 Reply Last reply
                  0
                  • JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #12

                    ActivePerl 5.16 should work fine. This is quite odd. Could you please post the output of configure.bat, from the line that says "Running configuration tests..." onwards?

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      krojew
                      wrote on last edited by
                      #13

                      At the moment that would be quite difficult, since a clean git checkout involves me using two separate machines (don't ask...) and that takes some time. Will do that during the next few days.

                      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
                      • Unsolved