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. How to compile 32 bit with Qt X64 bit on Win10 X64?

How to compile 32 bit with Qt X64 bit on Win10 X64?

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 5 Posters 2.8k Views 4 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.
  • Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Download Qt 5.12 32Bit, compile it with a 32bit compiler and deploy it...

    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
    3
    • MucipM Offline
      MucipM Offline
      Mucip
      wrote on last edited by
      #3

      Hi,
      Thanks but this is not a easy solution. I'm searching the other way...

      Regards,
      Mucip:)

      Pablo J. RoginaP 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Hi,

        That is the easy solution. You can't run a 64bit application on a 32bit version of Windows.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        MucipM 1 Reply Last reply
        2
        • MucipM Mucip

          Hi,
          Thanks but this is not a easy solution. I'm searching the other way...

          Regards,
          Mucip:)

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #5

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

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            That is the easy solution. You can't run a 64bit application on a 32bit version of Windows.

            MucipM Offline
            MucipM Offline
            Mucip
            wrote on last edited by
            #6

            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:)

            mrjjM 1 Reply Last reply
            0
            • MucipM Mucip

              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:)

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #7

              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

              MucipM 1 Reply Last reply
              3
              • mrjjM mrjj

                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

                MucipM Offline
                MucipM Offline
                Mucip
                wrote on last edited by
                #8

                Hi @mrjj,
                This really terrible... :(
                Well, Is there any way to except the form which is using webengine while compiling and running?

                Regards,
                Mucip:)

                mrjjM 1 Reply Last reply
                0
                • MucipM Mucip

                  Hi @mrjj,
                  This really terrible... :(
                  Well, Is there any way to except the form which is using webengine while compiling and running?

                  Regards,
                  Mucip:)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @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?
                  MucipM 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @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?
                    MucipM Offline
                    MucipM Offline
                    Mucip
                    wrote on last edited by
                    #10

                    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:)

                    mrjjM 1 Reply Last reply
                    0
                    • MucipM Mucip

                      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:)

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Hi
                      Well mingw defines

                      __MINGW32__ or __MINGW64__
                      
                      1 Reply Last reply
                      2

                      • Login

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