Building Static Qt: how to specify 32 bit?
-
Hi all -
As mentioned in another thread, I'm trying to build a static Qt library on a new Windows PC. These are the steps I've used in the past (and which always worked):
1. $ git clone https://code.qt.io/qt/qt5.git // also tried using the github repo 2. $ cd qt5 3. $ git checkout v5.15.2 // or whatever 4. $ perl init-repository --module-subset=default,-qtwebengine or $ git submodule update --init --recursive $ git clean -ffdx 5. run the following command. We use "-skip qtwebengine" simply because qtwebengine takes forever to build, and we probably won't need it for anything we're doing. $ configure -mp -confirm-license -static -static-runtime -opensource -release -platform win32-g++ -opengl desktop -skip qtwebengine -nomake examples -nomake tests -nomake tools -recheck-all -prefix c:\qt\5.15.2_static 6. mingw32-make -j6 7. mingw32-make install // if a prefix option was specified in configure
Can someone tell me where I need to make a change in order to get a 32-bit build?
Thanks...