Building the Qt540 beta from source on win32.
-
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! -
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
-
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
-
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.
-
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?
-
I'd first call configure.bat, IIRC it should generate configure.exe
-
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?
-
configure.bat should have but "here":https://bugreports.qt-project.org/browse/QTBUG-42069 you have the workaround
-
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
-
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 :)
-
Well, since I don't own the thread, I can't do so... :/
-
I forgot that you jumped in :-D