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 QT5 webengine - C++11 support is required error
Forum Updated to NodeBB v4.3 + New Features

Building QT5 webengine - C++11 support is required error

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 3.2k 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.
  • N Offline
    N Offline
    Nahash
    wrote on last edited by
    #1

    Hello everyone,

    I've been trying to build QT's webengine from source lately and have been continuously running into problems. QT will build everything except webengine (the module I actually want) successfully. When it gets to webengine, jom (and nmake) report "C++11 support is required in order to build chromium. QtWebEngine will not be built."

    I've downloaded and gone through the depot_tools for chromium, made sure I'm on the dev branch, I'm running MSVC 2013 community edition, I've made sure that windows 8 sdk and windows 7.1 driver kit is installed, I've set all of the PATH components and the WDK_DIR env variables, I've even dug into the source code to see what is triggering the check and then manually entered QT_CONFIG+= C++11into the pro files figuring it was missing somewhere. Still, the build process complains that I do not have c++11 support. Anyone have any suggestions on what else to try?

    Configure settings: -nomake tests -nomake examples -confirm-license -opensource -opengl es2 -angle -debug -c++11

    (I've tried -debug-and-release and -prefix before as well but read in the past that both of those had issues with webengine)

    Environment: Clean Windows 7 VM
    MSVC 2013 community edition
    Python 2.7.6
    Perl 5.20.1

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mikek_dk
      wrote on last edited by
      #2

      I use the following in my .pro files for C++11 support:

      @QMAKE_CXXFLAGS = -std=c++11
      CONFIG += c++11@

      I have no idea if this has anything to do with your specific problem thou...

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        [quote author="mikek_dk" date="1423494786"]I use the following in my .pro files for C++11 support:

        @QMAKE_CXXFLAGS = -std=c++11
        CONFIG += c++11@
        [/quote]If you write Line #2, then you don't need Line #1 anymore.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • N Offline
          N Offline
          Nahash
          wrote on last edited by
          #4

          Nope, have both of those set in qtwebengine.pro with the error still occurring unfortunately (and set in the file for qt_build_config as well, for good measure)

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            I'm afraid I don't have experience with building Qt WebEngine. Have you tried going through "this article":http://qt-project.org/wiki/QtWebEngineOnWindows ? You probably don't need to check out from git since you already have the source code.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • N Offline
              N Offline
              Nahash
              wrote on last edited by
              #6

              That's the article I've been following. Everything works fine up until the build stage and then the c++11 support error doesn't let webengine build.

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                Try asking at the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest (you need to subscribe first). Qt engineers are active there, and they probably know more.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  And it looks like a solution was found: http://comments.gmane.org/gmane.comp.lib.qt.user/15243

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  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