Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building the Qt540 beta from source on win32.
Qt 6.11 is out! See what's new in the release blog

Building the Qt540 beta from source on win32.

Scheduled Pinned Locked Moved Installation and Deployment
17 Posts 3 Posters 6.1k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #5

    AFAIK, on windows, you should use the zip file.

    An alternative if you want to build Qt, is to clone it and checkout the 5.4 branch

    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
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #6

      Well, it doesn't matter what kind of archive I use, the .exe is always missing... (besides, all packages should have the same content, shouldn't they?)
      However, I will give the checkout a try as soon as I get back to work
      Thanks for your reply!

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #7

        Ok, the version I checked out from gitorious can be configured, but it turned out to be version 5.3.3 ... eventough I'm quite sure I told him to clone the 5.4 version... but I'm not exactly what you would call a git expert...

        After that I downloaded the .zip archive containing the Qt5.4beta source code again... the problem remains:

        the command "[...] \qt-everywhere-opensource-src-5.4.0-beta\qtbase\configure.exe" could not be found

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #8

          There's not only the content but also the line endings that matters.

          You clone a repository not a branch, once cloned you need to checkout 5.4

          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
          0
          • M Offline
            M Offline
            mapaton
            wrote on last edited by
            #9

            As a quick experiment I copied the configure.exe out of a released 5.3 source disto and dropped it into the 5.4 disto. While I can run configure now it quickly says something about not having a GPL'd license and pukes.

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #10

              Ok, I uploaded an image comparing the content of two recently downloaded .zip files of the source code - one containing the alpha, the other containing the beta.
              We are inside the "qtbase" folder:

              !https://farm6.staticflickr.com/5604/15603441731_60b3569027_o.png!

              In the beta folder, the "configure.exe" is simply missing... there might be an obscure workaround, but to be honest, I think a re-upload would be the best solution?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #11

                I'd first call configure.bat, IIRC it should generate configure.exe

                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
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #12

                  Ok, since I had some spare time, I went through everything one more time.

                  Step by step:

                  I used a different PC, installed Perl and Python (just to be sure), set the PATH variable accordingly and downloaded the zipped source code of the alpha and the beta release.

                  I unzipped both using the same tool and folder-strucutre, created new folders for the configurations. I opened two windows shells and changed into the two empty folders for the configurations.

                  After that i typed the identical configuration command into both shells:
                  @..\qt-everywhere-opensource-src-5.4.0-[...]\configure -opensource -debug-and-release -confirm-license -skip qtwebkit -skip qtwebengine -mp@

                  Same result as always: the alpha will configure correctly, while the beta will fail right at the beginning

                  !https://farm6.staticflickr.com/5610/15435436847_a92cfeb64a_o.png!

                  After that I followed your hint with the configure.bat and took a look at the script: the same for both files (alpha and beta). If I understand correctly the configure.bat will (after some tests) change into the qtbase directory and call the configure.bat there.

                  Except for the copyright this file is identical in both releases, too.
                  One of the first things done by the batch script ist
                  @if not exist %QTSRC%.gitignore goto sconf@

                  Since I can't find the .gitignore file anywhere, I assume the goto will be executed und we will end up in these lines:
                  @
                  :sconf
                  %QTSRC%\configure.exe %*
                  :exit
                  @

                  But since the configure.exe doesn't exist, the configuration will fail!

                  Did I miss out a step? Where would the configure.exe be created?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #13

                    configure.bat should have but "here":https://bugreports.qt-project.org/browse/QTBUG-42069 you have the workaround

                    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
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #14

                      Thanks a lot! This is what I've been looking for!
                      Eventhough I'm not too happy with using that workaround, I think it will do. After all it still is just the beta release...

                      Over and out

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #15

                        Well, at least it's just a glitch, would have been worse if configure.exe was out of reach :D

                        Anyway, since it's working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                        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
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #16

                          Well, since I don't own the thread, I can't do so... :/

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #17

                            I forgot that you jumped in :-D

                            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
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt
                            • Unsolved