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

مهدي شينون mehdi.chinoune at hotmail.com
Sat Oct 14 20:07:05 CEST 2023


Hi,


None of the patches is required to build qt6-base, It could build 
successfully without them.

Some of them are about renaming to avoid conflict with qt5-base, one to 
fix building PyQt6 another for PySide6 ...etc



على ٢٩/٠٣/٤٥ ‫٠٦:٥٣ م، كتب Cristian Adam via Development:
> Hi,
>
> You are trying to compile Qt on a configuration that Qt is not 
> officially supporting, namely MSYS2.
>
> At Supported Platforms | Qt 6.6 
> <https://doc.qt.io/qt-6/supported-platforms.html> you can see that on 
> Windows Qt supports building with the Visual C++ compiler and a MinGW 
> toolchain. The MinGW toolchain that Qt uses is mentioned at MinGW - Qt 
> Wiki <https://wiki.qt.io/MinGW>.
>
> If you want to build Qt with MSYS2 see Base Package: 
> mingw-w64-qt6-base - MSYS2 Packages 
> <https://packages.msys2.org/base/mingw-w64-qt6-base> for more 
> information. There you can see that the MSYS2 project has a few 
> patches that need to be applied on top.
>
> Cheers,
> Cristian.
> Supported Platforms | Qt 6.6 
> <https://doc.qt.io/qt-6/supported-platforms.html>
> The platforms supported by Qt.
> doc.qt.io
>
>
> ------------------------------------------------------------------------
> *From:* Development <development-bounces at qt-project.org> on behalf of 
> Haowei Hsu <hwhsu1231 at gmail.com>
> *Sent:* Saturday, October 14, 2023 16:59
> *To:* 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, Qt Development Team.
>
> This time, I tried with *6.6.0* version, 
> qt-everywhere-src-6.6.0.tar.xz 
> <https://download.qt.io/archive/qt/6.6/6.6.0/single/qt-everywhere-src-6.6.0.tar.xz>,
> but it still failed to build 'docs' target.
>
>  1. *mkdir build && cd build*
>  2. *mkdir mingw-release && cd mingw-release*
>  3. *../../configure -release -developer-build -nomake examples
>     -nomake tests -- -DFEATURE_system_zlib=OFF -DFEATURE_zstd=OFF*
>  4. *cmake --build . --target docs --parallel 4* *(failed)*
>
> Since it is *the latest release version* for now, I wonder
> whether it is a bug? Or did I miss something?
>
> ---
> Haowei Hsu
>
>


More information about the Development mailing list