[Development] Failed to run configure.bat in qt/qt5 on MINGW64/MSYS2 shell?

Dennis Oberst dennis.oberst at qt.io
Fri Aug 25 10:07:44 CEST 2023


Hey, can you please try: ../../configure -release -developer-build -nomake examples -nomake tests -- -DFEATURE_system_zlib=OFF


________________________
Dennis Oberst
Software Engineer

The Qt Company GmbH
Erich-Thilo-Str. 10
12489 Berlin, Germany
dennis.oberst at qt.io
https://www.qt.io

Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

________________________________
From: Haowei Hsu <hwhsu1231 at gmail.com>
Sent: Friday, August 25, 2023 9:55 AM
To: Dennis Oberst <dennis.oberst at qt.io>
Cc: Qt development mailing list <development at qt-project.org>
Subject: Re: [Development] Failed to run configure.bat in qt/qt5 on MINGW64/MSYS2 shell?

Hello, Dennis. About what you suggested:

Hey, it seems like you only have a static version of zlib on your system. You can either install a dynamic version of zlib or use the bundled zlib that if provided with Qt by using: "-zlib qt" as argument on the configure script.

It's not working. What do I miss?

hwhsu1231 at vb-windows MINGW64 /d/Repo/tmp/qt-6.2.4/build/mingw-release
$ ../../configure -release -developer-build -nomake examples -nomake tests -zlib qt
+ mkdir -p qtbase
+ cd qtbase
+ exec /d/Repo/tmp/qt-6.2.4/qtbase/configure -top-level -release -developer-build -nomake examples -nomake tests -zlib qt
-- Windows 10 SDK version:
CMake Error at D:/Repo/tmp/qt-6.2.4/qtbase/cmake/QtProcessConfigureArgs.cmake:269 (message):
  Invalid value 'yes' supplied to command line option 'zlib'.
Call Stack (most recent call first):
  D:/Repo/tmp/qt-6.2.4/qtbase/cmake/QtProcessConfigureArgs.cmake:426 (qtConfAddError)
  D:/Repo/tmp/qt-6.2.4/qtbase/cmake/QtProcessConfigureArgs.cmake:458:EVAL:1 (qt_commandline_enum)
  D:/Repo/tmp/qt-6.2.4/qtbase/cmake/QtProcessConfigureArgs.cmake:458 (cmake_language)
  D:/Repo/tmp/qt-6.2.4/qtbase/cmake/QtProcessConfigureArgs.cmake:656 (qt_call_function)



hwhsu1231 at vb-windows MINGW64 /d/Repo/tmp/qt-6.2.4/build/mingw-release
$

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


More information about the Development mailing list