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. QtWebEngine on windows 5.4
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine on windows 5.4

Scheduled Pinned Locked Moved General and Desktop
9 Posts 4 Posters 3.7k 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.
  • K Offline
    K Offline
    kjenkins2014
    wrote on last edited by
    #1

    has anyone been able to get this to compile with the 5.4 beta? the instructions are a bit outdated and not very helpful

    after being able to finally get the repo initialized i run the qmake -r CONFIG+=debug i get this error

    Project WARNING: QtWebEngine is not maintained for this platform/configuration and is therefore disabled.

    i tried in 32 and 64 bit with visual studio 2012

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kjenkins2014
      wrote on last edited by
      #2

      bump

      10 chars

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        From the qtwebengine sources (dev branch) it seems that only VS2013 in 64 bit is supported on Windows

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

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Tarostar
          wrote on last edited by
          #4

          I've tried using VS2013 64 bit (release) in Qt5.4, but still get the above message. Perhaps because of the Python warning when doing qmake (from QCreator):

          :-1: warning: Using Python version ., but at least Python version 2.7 is required to build Qt WebEngine.
          :-1: warning: QtWebEngine is not maintained for this platform/configuration and is therefore disabled.

          I am on Windows 8.1 with Python 3.3.2 installed and in the path (I can use it from command prompt) and using QtQuick. Am I missing some step?

          Also, am I right that Qt WebEngine is supported only for desktops (i.e. not Android/iPhone), while Qt WebView is intended for those but not for desktop and currently only supports Android? This is what my reading suggests which makes having a cross-platform web window impossible - at least without a lot of tweaking.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Tarostar
            wrote on last edited by
            #5

            I've tried using VS2013 64 bit (release) in Qt5.4, but still get the above message. Perhaps because of the Python warning when doing qmake (from QCreator):

            :-1: warning: Using Python version ., but at least Python version 2.7 is required to build Qt WebEngine.
            :-1: warning: QtWebEngine is not maintained for this platform/configuration and is therefore disabled.

            I am on Windows 8.1 with Python 3.3.2 installed and in the path (I can use it from command prompt) and using QtQuick. Am I missing some step?

            Also, am I right that Qt WebEngine is supported only for desktops (i.e. not Android/iPhone), while Qt WebView is intended for those but not for desktop and currently only supports Android? This is what my reading suggests which makes having a cross-platform web window impossible - at least without a lot of tweaking.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I wonder if python 3 is a viable solution to run QtWebEngine

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

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I wonder if python 3 is a viable solution to run QtWebEngine

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

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  DanielRMueller
                  wrote on last edited by
                  #8

                  It seems to me that it doesn't work with Python 3.3.2 on Windows because the Test in functions.prf for version fails. But not due to an explicitely unsuppported version number, but more due to the way the check for the version is implemented.

                  The following lines in the test function "isPythonVersionSupported" doesn't work with 3.3.2:
                  @python_major_version = $$system('python -c "import sys; print sys.version_info.major"')
                  python_minor_version = $$system('python -c "import sys; print sys.version_info.minor"')@

                  The Command Line Python executable for Windows seems to expect a filename as parameter, not a python script, so it does not execute the python code in that line and instead just returns an error message. That means it gets the error string as "version" number and so the version number checks fails.

                  Not sure if that means there is a fundamental incompatibility to Python 3.3, but it probably means that to support 3.3 on Windows, the webengine team still has some work cut out for them.


                  Using Python 2.7 however seems to work on Windows. (But I am still only building x64, I haven't gotten to x32 yet.)

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    DanielRMueller
                    wrote on last edited by
                    #9

                    It seems to me that it doesn't work with Python 3.3.2 on Windows because the Test in functions.prf for version fails. But not due to an explicitely unsuppported version number, but more due to the way the check for the version is implemented.

                    The following lines in the test function "isPythonVersionSupported" doesn't work with 3.3.2:
                    @python_major_version = $$system('python -c "import sys; print sys.version_info.major"')
                    python_minor_version = $$system('python -c "import sys; print sys.version_info.minor"')@

                    The Command Line Python executable for Windows seems to expect a filename as parameter, not a python script, so it does not execute the python code in that line and instead just returns an error message. That means it gets the error string as "version" number and so the version number checks fails.

                    Not sure if that means there is a fundamental incompatibility to Python 3.3, but it probably means that to support 3.3 on Windows, the webengine team still has some work cut out for them.


                    Using Python 2.7 however seems to work on Windows. (But I am still only building x64, I haven't gotten to x32 yet.)

                    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