Issue with running configure.bat (Windows)
-
I'm running a Windows 10 64 bit OS, Version 1903 Build 18362.356. I have EMSDK installed with the Wasm backend (I installed with the command
emsdk install latest-upstream
and activated that). I have version 1.38.45 of Emscripten. I installed MinGW and sed and added them to my PATH variable.Then I tried to configure but got an error saying that it can't find
qt5/qtbase/configure.bat
and that I may have forgotten to runinit-repository
.configure.bat
is right there in the Qt5 root directory, so I don't know why it's trying to look somewhere else, andinit-repository
won't run on Windows.Anyway, any help on here would be appreciated. Thanks.
-
@DragonOsman said in Issue with running config.bat (Windows):
init-repository won't run on Windows
It will if you install Perl
-
I have Perl, since I had to use it when building OpenSSL. So I have to run it as
perl init-repository
. Will do, then.And why is it not using the configure.bat file in the root directory? Is there something I need to know?
-
@DragonOsman said in Issue with running configure.bat (Windows):
And why is it not using the configure.bat file in the root directory? Is there something I need to know?
I guess the one in root directory calls qtbase/configure.bat and aborts if it is not there.
-
It's working for now so the main question I opened this thread for is solved. But I have other questions now.
How do I specify a specific C++ standard, for example if I want to build with C++17? And how do I enable Desktop OpenGL and OpenGL ES 3.2 (what does the "ES" mean, anyway?)? And I want to use HTML and JavaScript as well since I downloaded the source for Qt 5.13 to use with Wasm. So do I need QML for that?
Should I close this one and open a new thread for these questions or is this thread fine?
-
@DragonOsman said in Issue with running configure.bat (Windows):
How do I specify a specific C++ standard, for example if I want to build with C++17?
-c++std c++17
You can always ask a command for parameters it supports.
See./configure -h | grep c++
-
@DragonOsman said in Issue with running configure.bat (Windows):
Should I close this one and open a new thread for these questions or is this thread fine?
Yes please, so other users can expect to find answers to the issue based on topic title.
If not, the solution(s) for the new issue will be embedded within the posts.