Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Static Qt: how to specify 32 bit?
Forum Updated to NodeBB v4.3 + New Features

Building Static Qt: how to specify 32 bit?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 217 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    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...

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved