qt 6.7.0 to 32 bits plataforms
-
@Redman
With this configuration I manage to compile but to compile static how do I do it?
export PATH="/C/Qt/Tools/CMake_64/bin:$PATH"
export PATH="/C/Qt/Tools/Ninja:$PATH"
export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"
export PATH="/C/msys64/mingw32/bin:$PATH"configure.bat -platform win32-g++ -prefix "C:\Qt\6.7.0\mingw_x32_dro_static" -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests
@jchaviano said in qt 6.7.0 to 32 bits plataforms:
I manage to compile but to compile static how do I do it?
What does this mean? Is Qt built afterwards or not?
-
@jchaviano said in qt 6.7.0 to 32 bits plataforms:
I manage to compile but to compile static how do I do it?
What does this mean? Is Qt built afterwards or not?
@Christian-Ehrlicher not compile
this is my configurationexport PATH="/C/Qt/Tools/CMake_64/bin:$PATH"
export PATH="/C/Qt/Tools/Ninja:$PATH"
export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"
export PATH="/C/msys64/mingw32/bin:$PATH"
cmake --version
cmake version 3.24.2
ninja --version
1.10.2
python --version
Python 3.11.6
mingw32-make --version
GNU Make 4.4
Built for Windows32
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.this is the error
Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile
-
@Christian-Ehrlicher not compile
this is my configurationexport PATH="/C/Qt/Tools/CMake_64/bin:$PATH"
export PATH="/C/Qt/Tools/Ninja:$PATH"
export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"
export PATH="/C/msys64/mingw32/bin:$PATH"
cmake --version
cmake version 3.24.2
ninja --version
1.10.2
python --version
Python 3.11.6
mingw32-make --version
GNU Make 4.4
Built for Windows32
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.this is the error
Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile
Please do not post pictures but text and the first error message. Also I'm not sure if a msys based gcc is really supported. At least you should not use msys to build Qt.
-
@Christian-Ehrlicher not compile
this is my configurationexport PATH="/C/Qt/Tools/CMake_64/bin:$PATH"
export PATH="/C/Qt/Tools/Ninja:$PATH"
export PATH="/C/Users/creazy/AppData/Local/Programs/Python/Python312-32:$PATH"
export PATH="/C/msys64/mingw32/bin:$PATH"
cmake --version
cmake version 3.24.2
ninja --version
1.10.2
python --version
Python 3.11.6
mingw32-make --version
GNU Make 4.4
Built for Windows32
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.this is the error
Sorry, my mistake, I assumed it would compile but no. what I want is to compile it static but first things first... get it to compile
@jchaviano
I have 2 options to compile with visual studio or mingw32. I decided on mingw32 since visual studio requires installing a few gigabytes. Which version of mingw32 is supported by qt to compile version 6.7.0 -
@jchaviano
I have 2 options to compile with visual studio or mingw32. I decided on mingw32 since visual studio requires installing a few gigabytes. Which version of mingw32 is supported by qt to compile version 6.7.0Any version providing GCC 11.2 or later.
See Step 2 Install Build Requirements -
Take a look here. https://doc.qt.io/qt-6/windows-building.html
I built Qt 6.5.2 32bit from sources aswell.@Redman
The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32 -
@Redman
The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32@jchaviano The MingW64 tool chain (i.e. GCC) is quite capable of generating a 32-bit target. CMake and Python bit-ness (is that a word?) I do not believe will be an issue.
The Install Build Requirements imply that online installer provides sufficient MingW goodness. You may need a more complete, separate MingW64 than that bundled by the Qt online installer; that is available from the link above.
-
@Redman
The next question is to compile to 32 bits I need to download cmake to 32 ninja to 32 and pyton to 32 and mingw to 32 all to 32 or can I use what comes with qt default maintenance to compile to 32 since I did not find anything that explains the process at 32@jchaviano I assume you are building on a 64bit machine. So you should have all you need if you installed 64bit Qt from the maintenance tool.
I had a similiar question a while ago, maybe it helps:
https://forum.qt.io/topic/150349/qt6-build-32bit-on-64bit/2?_=1698387917573 -
@jchaviano I assume you are building on a 64bit machine. So you should have all you need if you installed 64bit Qt from the maintenance tool.
I had a similiar question a while ago, maybe it helps:
https://forum.qt.io/topic/150349/qt6-build-32bit-on-64bit/2?_=1698387917573@Redman
My question apparently you used visual studio in your example to compile to 32 but the cmake and the nija were from the installation of qt. I want to compile qt to 32 bits using MinGW 11.2 or do I have to download everything before 32. Please contact me at my personal chat -
@ChrisW67
These are the parameters I use to compile to 32 ./configure.bat -platform win32-g++ -release -static -prefix "C:\Qt\6.7.0\mingw_x32_dro_static" -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests
......
Is it like that or am I doing something wrong?