[Development] Failed to run configure.bat in qt/qt5 repository on Windows?

Haowei Hsu hwhsu1231 at gmail.com
Wed Aug 23 12:21:37 CEST 2023


Oops! I forgot to add one step in the above commands. There should be:

   - *git checkout 6.2.4*

between the Step 3 and Step 4. Therefore, it should be:

   1. *chdir /d D:\Repo\tmp*
   2. *git clone https://github.com/qt/qt5.git
   <https://github.com/qt/qt5.git> qt-6.2.4*
   3. *chdir qt-6.2.4*
   4.
*git checkout 6.2.4 *
   5. *perl init-repository*
   6. *git status*
   7. *where gcc*
   8.
*set PATH=D:\Repo\tmp\mingw64\bin;%PATH% *
   9. *where gcc*
   10. *gcc --version*
   11. *mkdir build\mingw-release && chdir build\mingw-release*
   12. *..\..\configure.bat -release -developer-build -nomake examples
   -nomake tests -- -DCMAKE_PREFIX_PATH=D:/Repo/tmp/libclang
   -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c*
   13. *cmake --build . --parallel 4 --target qtbase (failed)*

---
Haowei Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230823/0b29e2ba/attachment.htm>


More information about the Development mailing list