QtWebEngine on windows 5.4



  • 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



  • bump

    10 chars


  • Lifetime Qt Champion

    Hi and welcome to devnet,

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



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



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


  • Lifetime Qt Champion

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


  • Lifetime Qt Champion

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



  • 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.)



  • 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.)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.