Unsolved How to compile 32 bit with Qt X64 bit on Win10 X64?
-
Hi,
I'm using Qt 5.12 x64 bit on Win 10 X64 bit with VS2017.I use windeployqt preogram to deploy my code on x64 machines.
But I need to deploy the code on 32bit windows unfortunatelly! How can I do this on my machine?...
Regards,
Mucip:) -
Download Qt 5.12 32Bit, compile it with a 32bit compiler and deploy it...
-
Hi,
Thanks but this is not a easy solution. I'm searching the other way...Regards,
Mucip:) -
Hi,
That is the easy solution. You can't run a 64bit application on a 32bit version of Windows.
-
@Mucip said in How to compile 32 bit with Qt X64 bit on Win10 X64?:
Thanks but this is not a easy solution
You can use a VM running the 32-bit OS and install Qt 32 bit with the 32 bit compiler, so not to spoil your current 64 bit development environment. It's not that difficult...
Follow @Christian-Ehrlicher suggestion please, it'll save you time and headaches.
-
Dear @SGaist
I guess I found a way. I install MinGW by MintenanceTool on same Qt. Now it's OK but unfortunatelly I used webengine widgets and I faced below error massage!
Why?...:-1: error: Unknown module(s) in QT: webenginewidgets
Regards,
Mucip:) -
Hi
On windows, webengine is not available for mingw as it cant compile it due to it being based
on Chromium.
https://bugreports.qt.io/browse/QTBUG-42725 -
Hi @mrjj,
This really terrible... :(
Well, Is there any way to except the form which is using webengine while compiling and running?Regards,
Mucip:) -
@Mucip
yep its no so fun when you really need visual studio.im not sure what this sentense means ?
- Is there any way to except the form which is using webengine while compiling and running?
-
Hi @mrjj,
We may decide running code depends on platfom,#ifdef Q_OS_LINUX serial->setPortName("ttyUSB0"); #else #ifdef Q_OS_WIN serial->setPortName("com4"); #endif #endif
Is there any way to get this case depends on VC or MinGW choice?
Regards,
Mucip:) -
Hi
Well mingw defines__MINGW32__ or __MINGW64__