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

2023-10-21 Thread Haowei Hsu
Hello, Chinoune. You didn't answer my earliest question: Why aren't you using the > pre-built packages from MSYS2? > Do they miss some features? About that, it's because in the previous email someone told me that: I had better build 'qdoc' myself if I want to build docs of the specific Qt >

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

2023-10-20 Thread Haowei Hsu
BTW, the following is the artifacts. You can take a look. --- Haowei Hsu qt-6.6.0-doc.zip -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

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

2023-10-15 Thread Thiago Macieira
On Saturday, 14 October 2023 12:45:20 PDT مهدي شينون wrote: > As I said in another message, cmake is picking some libraries from MSYS > environment (Which is a fork of CygWin) which is no compatible with > MinGW-w64. So you did, but you hadn't said which one, so the detail escaped me. I looked

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

2023-10-15 Thread مهدي شينون
على ٣٠/٠٣/٤٥ ‫٠٧:٣١ ص، كتب مهدي شينون: على ٣٠/٠٣/٤٥ ‫٠٧:١٩ ص، كتب Haowei Hsu: Hello, mehdi. After running *'pacman -R gcc msys2-runtime-devel'*, I then built it again. This time, the previous error disappeared. However, there is a new error. --- Haowei Hsu It seems that you are using an

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

2023-10-15 Thread مهدي شينون
على ٣٠/٠٣/٤٥ ‫٠٧:١٩ ص، كتب Haowei Hsu: Hello, mehdi. After running *'pacman -R gcc msys2-runtime-devel'*, I then built it again. This time, the previous error disappeared. However, there is a new error. --- Haowei Hsu It seems that you are using an outdated MSYS2 Please update your packages

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

2023-10-15 Thread Haowei Hsu
Hello, mehdi. After running *'pacman -R gcc msys2-runtime-devel'*, I then built it again. This time, the previous error disappeared. However, there is a new error. --- Haowei Hsu hwhsu1231@vb-windows MINGW64 /c/Test/qt-everywhere-src-6.6.0/build/mingw-release $ pacman -R msys2-runtime-devel

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

2023-10-14 Thread مهدي شينون
على ٣٠/٠٣/٤٥ ‫٠٦:٢١ ص، كتب مهدي شينون: Hi, Please, remove 'msys2-runtime-devel' package ('pacman _rusc msys2-runtime-devel' and try again. cmake is picking libraries from MSYS environment. see: https://www.msys2.org/docs/environments/ M. Chinoune I mean 'pacman -Rusc msys2-runtime-devel'

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

2023-10-14 Thread مهدي شينون
على ٣٠/٠٣/٤٥ ‫٠٤:٠٧ ص، كتب Haowei Hsu: Hello, Qt Development Team. Here are my installed mingw64-specific packages in the MINGW64 shell. Run the command: * *pacman -Qs mingw-w64-x86_64* See the /LOG-my-mingw64-installed-packages.txt/ Any idea what happened? --- Haowei Hsu Hi, Please,

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

2023-10-14 Thread Haowei Hsu
Hello, Qt Development Team. Here are my installed mingw64-specific packages in the MINGW64 shell. Run the command: - *pacman -Qs mingw-w64-x86_64* See the *LOG-my-mingw64-installed-packages.txt* Any idea what happened? --- Haowei Hsu hwhsu1231@vb-windows MINGW64 ~ $ pacman -Qs

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

2023-10-14 Thread Haowei Hsu
Hello, Thiago. That said, it's a good idea to install the mingw64-postgresql package > instead > and not depend on C:/Program Files. > I installed mingw-w64-x86_64-postgresql and tried it again, but it still failed to build 6.6.0.

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

2023-10-14 Thread مهدي شينون
على ٢٩/٠٣/٤٥ ‫٠٨:٣٧ م، كتب مهدي شينون: libwinpthread.dll.a belongs to mingw-w64-libwinpthread-git package while librt.a belongs to msys-runtime-devel package (cygwin) which should be installed when building for MinGW-w64. I mean msys-runtime-devel shouldn't be installed. -- Development

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

2023-10-14 Thread مهدي شينون
على ٢٩/٠٣/٤٥ ‫٠٨:٤٠ م، كتب Thiago Macieira: On Saturday, 14 October 2023 08:59:01 PDT مهدي شينون wrote: Hi Haowei Hsu, According the log posted by you, cmake is picking libraries outside of MINGW64 environment i.e. from MSYS environment and

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

2023-10-14 Thread Thiago Macieira
On Saturday, 14 October 2023 08:59:01 PDT مهدي شينون wrote: > Hi Haowei Hsu, > > > According the log posted by you, cmake is picking libraries outside of > MINGW64 environment i.e. from MSYS environment and `C:\Program Files\` > which are both not compatible with MinGW-w64. Why wouldn't they

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

2023-10-14 Thread مهدي شينون
على ٢٩/٠٣/٤٥ ‫٠٨:٢٦ م، كتب Thiago Macieira: Anyway, the problem here is not Qt, but the environment, somehow. The symbol "sem_wait" is defined in two libraries: libpthread.dll.a(libwinpthread_1_dll_d000137.o):(.text+0x0): multiple definition of `sem_wait

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

2023-10-14 Thread Thiago Macieira
On Saturday, 14 October 2023 10:53:02 PDT Cristian Adam via Development wrote: > You are trying to compile Qt on a configuration that Qt is not officially > supporting, namely MSYS2. MSYS2's MINGW64 works just fine. I was building using it up until yesterday (now I'm using UCRT64). Anyway, the

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

2023-10-14 Thread مهدي شينون
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

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

2023-10-14 Thread مهدي شينون
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 على ٢٩/٠٣/٤٥

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

2023-10-14 Thread 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 you can see that on Windows Qt supports building with the Visual C++ compiler and a MinGW toolchain. The

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

2023-10-14 Thread مهدي شينون
Hi Haowei Hsu, According the log posted by you, cmake is picking libraries outside of MINGW64 environment i.e. from MSYS environment and `C:\Program Files\` which are both not compatible with MinGW-w64. Q: Why don't you use the pre-built packages, do they miss something? M. Chinoune --

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

2023-10-14 Thread Haowei Hsu
Hello, Qt Development Team. This time, I tried with *6.6.0* version, 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

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

2023-10-13 Thread Jörg Bornemann via Development
On 10/7/23 19:10, Haowei Hsu wrote: It's been a while since the last time we discuss this issue. And recently, I re-tried to configure qt-6.2.4 with msys2/mingw64 shell. However, it still failed with the same error again: Sounds like https://bugreports.qt.io/browse/QTBUG-105267 -- Jörg

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

2023-10-12 Thread Thiago Macieira
On Thursday, 24 August 2023 23:49:26 PDT Haowei Hsu wrote: > Hello, Qt Development Team. > > I tried to run configure.bat on *6.2.4* branch of qt/qt5 > repository. > The following commands are what I run: > >1. *export LC_ALL=en_US.UTF8* >2. *cd

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

2023-10-12 Thread Hasselmann Mathias via Development
Hi, MSYS2 provides prebuilt packages for Qt. I'd suspect the build scripts of theses packages being a good starting point for building modified versions of Qt with this toolchain: Latest:

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

2023-10-07 Thread Thiago Macieira
On Saturday, 7 October 2023 10:10:05 PDT Haowei Hsu wrote: > Hello, Qt Development Team. > > It's been a while since the last time we discuss this issue. > And recently, I re-tried to configure qt-6.2.4 with msys2/mingw64 shell. > However, it still failed with the same error again: As we've

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

2023-10-07 Thread Axel Spoerl via Development
Hi, just ran the configure command without any issues on 6.2.9 / mingw64. Which submodules are you using? Is the build tree clean? Is there a specific reason for using -developer-build in release mode? Does a simple ../../configure (without arguments) work? Have you tested 6.5 / 6.6 as well? I

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

2023-10-07 Thread Haowei Hsu
Hello, Qt Development Team. It's been a while since the last time we discuss this issue. And recently, I re-tried to configure qt-6.2.4 with msys2/mingw64 shell. However, it still failed with the same error again: Configuring 'qttools' > -- CMAKE_BUILD_TYPE was set to: 'Release' > -- Performing

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

2023-08-25 Thread Haowei Hsu
Hello, Dennis. I followed the command you provided: *../../configure -release -developer-build -nomake examples -nomake tests > -- -DFEATURE_system_zlib=OFF* However, it still failed. You can see the attachment with the full log: *log-still-failed-with-feature-system-zlib-off.txt* --- Haowei

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

2023-08-25 Thread Dennis Oberst via Development
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.obe...@qt.io https://www.qt.io

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

2023-08-25 Thread Haowei Hsu
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.

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

2023-08-25 Thread Dennis Oberst via Development
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. Dennis Oberst Software Engineer The Qt

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

2023-08-25 Thread Haowei Hsu
Hello, Qt Development Team. I tried to run configure.bat on *6.2.4* branch of qt/qt5 repository. The following commands are what I run: 1. *export LC_ALL=en_US.UTF8* 2. *cd /d/Repo/tmp/qt-6.2.4* 3. *git status* 4. *mkdir build && cd build* 5. *mkdir