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. Compile qt webengine 5.6.3 with xp support failed

Compile qt webengine 5.6.3 with xp support failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 512 Views 2 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.
  • LinArcXL Offline
    LinArcXL Offline
    LinArcX
    wrote on last edited by LinArcX
    #1

    Hi,
    I want to compile QtWebEngine 5.6.3 against MSVC2013 on windows 7.(target = windows XP)
    But i got these errors:
    https://gist.github.com/LinArcX/4b3a7d8a64ea1e2e69e1d4f075a4aac3

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      It seems you can reduce warning level to get past that.

      something like
      QMAKE_CXXFLAGS_WARN_ON -= -W4
      QMAKE_CXXFLAGS_WARN_ON += -W3

      in the .pro file

      1 Reply Last reply
      0
      • LinArcXL Offline
        LinArcXL Offline
        LinArcX
        wrote on last edited by
        #3

        @mrjj Nothing changed! Still get same errors.

        Seems it tries to compile libvpx:

        d:\myqt\5.6.3\modules\qtwebengine\src\3rdparty\chromium\third_party\libvpx_new\source\libvpx\vpx_ports\x86.h(141) : error C2220
        : warning treated as error - no 'object' file generated
        

        But libvpx disable in configure step:

        Running configure tests
        Checking for khr... no
        Checking for libvpx... no
        Checking for snappy... no
        Checking for srtp... no
        Proprietary codecs (H264, MP3).... Enabled
        Geolocation....................... Enabled
        
        mrjjM 1 Reply Last reply
        0
        • LinArcXL LinArcX

          @mrjj Nothing changed! Still get same errors.

          Seems it tries to compile libvpx:

          d:\myqt\5.6.3\modules\qtwebengine\src\3rdparty\chromium\third_party\libvpx_new\source\libvpx\vpx_ports\x86.h(141) : error C2220
          : warning treated as error - no 'object' file generated
          

          But libvpx disable in configure step:

          Running configure tests
          Checking for khr... no
          Checking for libvpx... no
          Checking for snappy... no
          Checking for srtp... no
          Proprietary codecs (H264, MP3).... Enabled
          Geolocation....................... Enabled
          
          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @LinArcX
          Hi
          ok.
          If you google "error C2220
          : warning treated as error" people suggest to lower the warning level so you have to find a way to do that with MSVC2013

          1 Reply Last reply
          0
          • LinArcXL Offline
            LinArcXL Offline
            LinArcX
            wrote on last edited by
            #5

            I didn't find any solution yet. Anybody knows how can i overcome this issue?

            A question: Why configure log said that:
            Checking for libvpx... no

            But it tries to compile it?

            I don't need libvpx. How can i exclude it from build process?

            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