Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Is command line: -platform webgl:port=xx deprecated?

    QML and Qt Quick
    2
    2
    71
    Loading More Posts
    • 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.
    • C
      carser last edited by

      I'm using Qt 6.3.0 with msvc2019_64 compiler.
      I would like to run my application with the command line parameter "-platform webgl: port = xx", but it gives an error because webgl is not among the available platforms.
      In fact in the folder: [...] \ 6.3.0 \ msvc2019_64 \ plugins \ platforms the library qwebgl.dll is not present.
      -> with Qt 6.3 version it is no longer possible to launch applications with -platform webgl?
      -> if yes, from which version of Qt has this been deprecated?
      -> if not, how can I resolve to have the webgl platform available?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        From a quick search, QtQuick WebGL is not available at all in Qt 6 currently. See here for the comparison and explanation.

        Depending on what you are developing, Qt for WebAssembly might be a possibility.

        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 Reply Quote 2
        • First post
          Last post