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

Cristian Adam cristian.adam at qt.io
Sun Aug 20 10:26:40 CEST 2023


Hi,

I mean just use the link that I've provided. "niXman" MinGW builds are the ones that we always used to build Qt.

choco uses packages are were not tested by any us and might not work. The link you provided with the 11.2.0 version used a MinGW from winlibs.com<https://winlibs.com/>.

I know that you have your workflow with choco, but choco mingw package is broken (for Qt) since version 8.1, when they shipped the last "niXman" build from SourceForce.

If you use the Qt SDK just select the MinGW 11.2.0 toolchain, which will get you a "niXman" toolchain that works.

MSYS2 is a different story, they have their own MinGW GCC builds and they build Qt themselves, so things have to work 🙂

Cheers,
Cristian

________________________________
From: Haowei Hsu <hwhsu1231 at gmail.com>
Sent: Sunday, August 20, 2023 05:18
To: Cristian Adam <cristian.adam at qt.io>
Cc: Qt development mailing list <development at qt-project.org>; Alexandru Croitor <alexandru.croitor at qt.io>
Subject: Re: [Development] Failed to run configure.bat in qt/qt5 repository on Windows?

Hello, Cristian.

Not only the MinGW 12.2.0 choco package have the 106395 – [12 regression] [mingw] "redeclared without dllimport attribute: previous dllimport ignored" on C++ friend since r12-299-ga0fdff3cf33f72 (gnu.org)<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106395> bug, but it can't actually configure Qt.

Do you mean that I should downgrade the MinGW from 12.2.0 to 11.2.0?
If so, how about install mingw 11.2.0 using choco?

  *   choco install mingw --version=11.2.0
  *   choco install mingw --version=11.2.0.07112021

Link: https://community.chocolatey.org/packages/mingw/11.2.0
Link: https://community.chocolatey.org/packages/mingw/11.2.0.07112021
---
Haowei Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230820/bf0e564a/attachment-0001.htm>


More information about the Development mailing list