QT 5.12 make Mingw 32 release
-
wrote on 10 Dec 2018, 15:30 last edited by
Yes i know but is there a way to make a 32 release from the 64 there is something like this here
they add the -m32 to the compiler and it makes a 32 release and then tests by checking thesizeof(size_t)
if it's 4 for 32 or 8 for 64, I already test by adding this to the argument in QT but it did not work
-
Yes i know but is there a way to make a 32 release from the 64 there is something like this here
they add the -m32 to the compiler and it makes a 32 release and then tests by checking thesizeof(size_t)
if it's 4 for 32 or 8 for 64, I already test by adding this to the argument in QT but it did not work
@AmrCoder
well the Qt DLL files are still 64bit and a 32 bit app wont load them.
But yes, its the same thing as link show.
You just have to compile ALL of Qt to get same effect :)I think using 5.11.3 might be faster than compiling a new Qt but
if you already have all dependencies and a powerfull pc, its
not the biggest task. -
wrote on 10 Dec 2018, 15:48 last edited by
the last question please, is there any chance for 32 version in the next versions QT 5.12.1 for example or it will be only 64?
-
the last question please, is there any chance for 32 version in the next versions QT 5.12.1 for example or it will be only 64?
@AmrCoder
Most likely only 64 bit. -
wrote on 11 Dec 2018, 12:08 last edited by
I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release, Thanks again @nayk
-
wrote on 11 Dec 2018, 14:08 last edited by
you are welcome
-
wrote on 16 Dec 2018, 14:40 last edited by
Hi nayk,
I download it and add it to my QT 5.12 , but When i run the app i get some error about this:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
Where have I not set up?
-
wrote on 16 Dec 2018, 19:50 last edited by
I solve it by copying the folder of the 5.12.0\mingw73_32\plugins\platforms to the same folder that has the exe programe if there is a solution to solve it without this it will be better
-
Hi nayk,
I download it and add it to my QT 5.12 , but When i run the app i get some error about this:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
Where have I not set up?
wrote on 17 Dec 2018, 01:53 last edited by@max.chen try copying the "platforms/qwindows.dll" file to the application subdirectory "platforms".
qwindows.dll - for release mode, qwindowsd.dll - for debug mode.
Other plugins libraries may also be needed for you application. -
wrote on 17 Dec 2018, 02:05 last edited by nayk
I compiled this version with OpenSSL 1.1.1a and put the necessary dll in the "_dll_for_app" directory (libcrypto-1_1.dll, libssl-1_1.dll). OpenSSL is used by Qt5Network for https connections.
MySql 5.6 - for MySQL Qt plugin
PosgreSQL 9.6.11 - for PostgreSQL Qt plugin -
I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release, Thanks again @nayk
@AmrCoder said in QT 5.12 make Mingw 32 release:
I download it and add it to my QT 5.12 and it worked perfectly, really I appreciated that many thanks for you <3 and i hope they make a 32 bit release in the next versions if there is a way we can make a suggestion because most of us need our apps to be in 32 bit release,
You should write a mail to the Interest mailing list or directly create a suggestion in Jira.
In either case, please provide a link here, so we can follow the discussion. Thanks!
Edit: Follow-up: https://lists.qt-project.org/pipermail/interest/2018-December/031798.html
-
I solve it by copying the folder of the 5.12.0\mingw73_32\plugins\platforms to the same folder that has the exe programe if there is a solution to solve it without this it will be better
-
wrote on 6 Feb 2019, 21:42 last edited by
the solution proposed by @nayk works very well, however this is a partial solution, because each time you want to update Qt, you need to build a new version of Qt for x32. I think there is a way to cross compile your application using mingw-64w, but i don't know how to do that. Maybe someone can instruct us how to do it!
-
the solution proposed by @nayk works very well, however this is a partial solution, because each time you want to update Qt, you need to build a new version of Qt for x32. I think there is a way to cross compile your application using mingw-64w, but i don't know how to do that. Maybe someone can instruct us how to do it!
@KATO2 Why do you want to cross compile? Just use MinGW32 to build Qt.
-
FYI: Qt 5.12.2 will ship with Mingw 32 packages included. UWP packages will be dropped.
-
@jsulm official QT 5.12.0 and QT 5.12.1 includes only MinGW 64, not MinGW 32 version was included.
@KATO2 Correct. Nevertheless, that's compiling Qt from source, not cross-compiling.
-
@KATO2 I'd say it may take four weeks until 5.12.2
So if you are in a hurry, you can still consider building Qt yourself.