Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt6.8.1 Windows 32 bit with msvc143
Forum Updated to NodeBB v4.3 + New Features

Qt6.8.1 Windows 32 bit with msvc143

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 738 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.
  • Q Offline
    Q Offline
    Qt6User
    wrote on last edited by
    #1

    Hello

    The online Qt maintenance installer shows the option for msvc2022_64 (msvc143 with 64 bit) libraries. How can i get the msvc2022_32 OR msvc143 with 32bit(or x86) libraries for Qt6.8.1?

    Please assist.

    Christian EhrlicherC 1 Reply Last reply
    0
    • Q Qt6User

      Hello

      The online Qt maintenance installer shows the option for msvc2022_64 (msvc143 with 64 bit) libraries. How can i get the msvc2022_32 OR msvc143 with 32bit(or x86) libraries for Qt6.8.1?

      Please assist.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Qt6User said in Qt6.8.1 Windows 32 bit with msvc143:

      How can i get the msvc2022_32 OR msvc143 with 32bit(or x86) libraries for Qt6.8.1?

      There are no pre-build 32bit libs anymore - you have to compile them by yourself. Why do you need them? Is there really a Windows 10 with 32bit available where you could run this on?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Q 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @Qt6User said in Qt6.8.1 Windows 32 bit with msvc143:

        How can i get the msvc2022_32 OR msvc143 with 32bit(or x86) libraries for Qt6.8.1?

        There are no pre-build 32bit libs anymore - you have to compile them by yourself. Why do you need them? Is there really a Windows 10 with 32bit available where you could run this on?

        Q Offline
        Q Offline
        Qt6User
        wrote on last edited by
        #3

        @Christian-Ehrlicher We support 32 bit versions of some of our products and they require the Qt 32 bit binaries built with msvc143.

        On same note -
        a) Is it possible to build individual Qt modules like QtCore without full Qt build? Any instructions for this?
        b) Is there CMake build available for latest Qt versions?

        B 1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Qt can only build with cmake and yes you can build only specific modules. See configure --help.
          Is there really a windows 10 32bit available?

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            re. Windows 10 32-bit flavor: yes it was a thing, you could download ISOs for it.
            However the other year (I think 2023) Microsoft stop selling it.

            1 Reply Last reply
            0
            • Q Qt6User

              @Christian-Ehrlicher We support 32 bit versions of some of our products and they require the Qt 32 bit binaries built with msvc143.

              On same note -
              a) Is it possible to build individual Qt modules like QtCore without full Qt build? Any instructions for this?
              b) Is there CMake build available for latest Qt versions?

              B Offline
              B Offline
              Bonnie
              wrote on last edited by Bonnie
              #6

              @Qt6User

              1. Open x86 Native Tools Command Prompt for VS 2022
              2. set PATH to make cmake, ninja and python available
              3. cd to a clean build folder
              4. path\to\source\configure.bat -debug-and-release -force-debug-info -nomake examples -qt-zlib -submodules qtbase -openssl-runtime -- -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR=path\to\OpenSSLx86(v1.1 and v3 are acceptable, the prebuilt libs use v3)

              As you can see in the above command, you can choose the submodule qtbase, not QtCore only.

              But you can choose to build QtCore only by

              cmake --build . --target Core

              Then you'll find the library files in .\qtbase subfolders: bin, include, lib, and so on, manually copy the files you need.

              If you want a clean and easy install, then you better building full qtbase using

              cmake --build .

              And install to your destination folder by

              cmake --install . --prefix path/to/install

              [Added] Seems the above command only installs Release files, so need to call another command to also install the Debug files

              cmake --install . --prefix path/to/install --config Debug

              Q 1 Reply Last reply
              1
              • B Bonnie

                @Qt6User

                1. Open x86 Native Tools Command Prompt for VS 2022
                2. set PATH to make cmake, ninja and python available
                3. cd to a clean build folder
                4. path\to\source\configure.bat -debug-and-release -force-debug-info -nomake examples -qt-zlib -submodules qtbase -openssl-runtime -- -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR=path\to\OpenSSLx86(v1.1 and v3 are acceptable, the prebuilt libs use v3)

                As you can see in the above command, you can choose the submodule qtbase, not QtCore only.

                But you can choose to build QtCore only by

                cmake --build . --target Core

                Then you'll find the library files in .\qtbase subfolders: bin, include, lib, and so on, manually copy the files you need.

                If you want a clean and easy install, then you better building full qtbase using

                cmake --build .

                And install to your destination folder by

                cmake --install . --prefix path/to/install

                [Added] Seems the above command only installs Release files, so need to call another command to also install the Debug files

                cmake --install . --prefix path/to/install --config Debug

                Q Offline
                Q Offline
                Qt6User
                wrote on last edited by Qt6User
                #7

                @Bonnie I used below sequence of commands to build 32 bit version of Qt6 libs from source in "Developer Command Prompt for VS2022"

                git clone --branch v6.8.1 git://code.qt.io/qt/qt5.git .
                
                
                e:\QT6>cd qt-build
                
                e:\QT6\qt-build>..\configure.bat -debug-and-release -force-debug-info -nomake examples -qt-zlib -submodules qtbase -openssl-runtime -init-submodules -- -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR="C:\workarea\openssl-3.4.0.1-windows-msvc143-x86" -DCMAKE_INSTALL_PREFIX="C:/QT6_INSTALL" 
                
                e:\QT6>cmake --build . --parallel 
                

                The above command builds all OK.

                ninja install
                

                Now when i goto the install Directory then i see that i "qml", "translations" and "phrasebooks" folders are missing which the 64 bit install of Qt6 has available?

                a) AM i missing any other modules in my configure command?
                b) How can i see all the module names which can be specified?

                C:\workarea\QT6_INSTALL>dir

                Directory of C:\QT6_INSTALL

                01/15/2025 04:24 PM <DIR> .
                01/15/2025 04:34 PM <DIR> ..
                01/15/2025 04:24 PM <DIR> bin
                01/15/2025 04:23 PM <DIR> doc
                01/15/2025 04:23 PM <DIR> include
                01/15/2025 04:24 PM <DIR> lib
                01/15/2025 04:23 PM <DIR> metatypes
                01/15/2025 04:23 PM <DIR> mkspecs
                01/15/2025 04:23 PM <DIR> modules
                01/15/2025 04:23 PM <DIR> plugins
                01/15/2025 04:24 PM <DIR> sbom
                0 File(s) 0 bytes
                11 Dir(s) 9,087,979,520 bytes free

                B 1 Reply Last reply
                0
                • Q Qt6User

                  @Bonnie I used below sequence of commands to build 32 bit version of Qt6 libs from source in "Developer Command Prompt for VS2022"

                  git clone --branch v6.8.1 git://code.qt.io/qt/qt5.git .
                  
                  
                  e:\QT6>cd qt-build
                  
                  e:\QT6\qt-build>..\configure.bat -debug-and-release -force-debug-info -nomake examples -qt-zlib -submodules qtbase -openssl-runtime -init-submodules -- -DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR="C:\workarea\openssl-3.4.0.1-windows-msvc143-x86" -DCMAKE_INSTALL_PREFIX="C:/QT6_INSTALL" 
                  
                  e:\QT6>cmake --build . --parallel 
                  

                  The above command builds all OK.

                  ninja install
                  

                  Now when i goto the install Directory then i see that i "qml", "translations" and "phrasebooks" folders are missing which the 64 bit install of Qt6 has available?

                  a) AM i missing any other modules in my configure command?
                  b) How can i see all the module names which can be specified?

                  C:\workarea\QT6_INSTALL>dir

                  Directory of C:\QT6_INSTALL

                  01/15/2025 04:24 PM <DIR> .
                  01/15/2025 04:34 PM <DIR> ..
                  01/15/2025 04:24 PM <DIR> bin
                  01/15/2025 04:23 PM <DIR> doc
                  01/15/2025 04:23 PM <DIR> include
                  01/15/2025 04:24 PM <DIR> lib
                  01/15/2025 04:23 PM <DIR> metatypes
                  01/15/2025 04:23 PM <DIR> mkspecs
                  01/15/2025 04:23 PM <DIR> modules
                  01/15/2025 04:23 PM <DIR> plugins
                  01/15/2025 04:24 PM <DIR> sbom
                  0 File(s) 0 bytes
                  11 Dir(s) 9,087,979,520 bytes free

                  B Offline
                  B Offline
                  Bonnie
                  wrote on last edited by
                  #8

                  @Qt6User I think qml need qtdeclarative and translations/phrasebooks need qttranslations.
                  The submodules are those "qtxxxxx" subfolders in the source folder. You can also open the .gitmodules file to check.

                  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