Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Recompiling webengine for 32bit, is that possible?

Recompiling webengine for 32bit, is that possible?

Scheduled Pinned Locked Moved Solved QtWebEngine
7 Posts 4 Posters 1.9k Views
  • 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.
  • J Offline
    J Offline
    johnlamericain
    wrote on 24 Mar 2019, 15:20 last edited by
    #1

    Hi all,

    I'm in the need of recompiling webengine just to add the parameter "-webengine-proprietary-codecs" which is necessary for my application. However my application need to run on old 32bit computers as well.

    Reading through some documentation, it seems that QtWebengine only compile in 64bit, is that correct? Is there any way for me to recompile QtWebengine in 32bit?

    I use Windows 10 and MSVC 2017 for compilation on a 64 bit VM.

    Thanks for your help.

    A 1 Reply Last reply 24 Mar 2019, 15:53
    0
    • J johnlamericain
      24 Mar 2019, 15:20

      Hi all,

      I'm in the need of recompiling webengine just to add the parameter "-webengine-proprietary-codecs" which is necessary for my application. However my application need to run on old 32bit computers as well.

      Reading through some documentation, it seems that QtWebengine only compile in 64bit, is that correct? Is there any way for me to recompile QtWebengine in 32bit?

      I use Windows 10 and MSVC 2017 for compilation on a 64 bit VM.

      Thanks for your help.

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 24 Mar 2019, 15:53 last edited by
      #2

      Hi @johnlamericain,

      Reading through some documentation, it seems that QtWebengine only compile in 64bit, is that correct?

      AFAIK, yes. 2 GB RAM (the limit for 32bit programs) are not enough to link.

      Is there any way for me to recompile QtWebengine in 32bit?

      You need a cross-compiler, running on the 64 bit host and producing 32 bit executables.

      Qt has to stay free or it will die.

      1 Reply Last reply
      3
      • J Offline
        J Offline
        johnlamericain
        wrote on 24 Mar 2019, 16:20 last edited by
        #3

        Hi @aha_1980

        Thanks for your reply. Do you know if MSVC 2017 is a cross compiler and can produce 32 bit ?

        When I install Qt 5.12.2 (Both msvc2017 and msvc2017_64) and go to the source of webengine to recompile with different parameters, I end up with the following line during configure:

        "Required 64-bit cross-building or native toolchain could not be found. QtWebEngine will not be built."

        I tried using the qmake of 32bit and 64bit version of Qt 5.12.2 with the same result.

        Maybe it should be a specific parameter following vcvarsall.bat when setting up the command line?

        Thanks again for your help

        A 1 Reply Last reply 24 Mar 2019, 17:09
        0
        • J johnlamericain
          24 Mar 2019, 16:20

          Hi @aha_1980

          Thanks for your reply. Do you know if MSVC 2017 is a cross compiler and can produce 32 bit ?

          When I install Qt 5.12.2 (Both msvc2017 and msvc2017_64) and go to the source of webengine to recompile with different parameters, I end up with the following line during configure:

          "Required 64-bit cross-building or native toolchain could not be found. QtWebEngine will not be built."

          I tried using the qmake of 32bit and 64bit version of Qt 5.12.2 with the same result.

          Maybe it should be a specific parameter following vcvarsall.bat when setting up the command line?

          Thanks again for your help

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 24 Mar 2019, 17:09 last edited by
          #4

          @johnlamericain

          it seem this thread: https://forum.qt.io/topic/85264/cross-compile-qt-5-9-1-with-msvc-2017-x64-to-x86-fails-with-linker-error describes your scenario quite well

          I have no experience with that myself, though.

          Qt has to stay free or it will die.

          1 Reply Last reply
          2
          • J Offline
            J Offline
            johnlamericain
            wrote on 28 Mar 2019, 07:16 last edited by
            #5

            This worked, thank you very much.

            1 Reply Last reply
            1
            • D Offline
              D Offline
              designestan
              Banned
              wrote on 8 Apr 2019, 16:15 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • J Offline
                J Offline
                JulienMaille
                wrote on 11 Apr 2025, 19:29 last edited by
                #7

                Does anyone know if the 32bit compilation of QtWebengine requires the 64bit versions of python2 and Node.js?

                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