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. Error trying to build qtwebglplugin in Qt-6.2.0
Qt 6.11 is out! See what's new in the release blog

Error trying to build qtwebglplugin in Qt-6.2.0

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 1 Posters 803 Views
  • 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.
  • McTobM Offline
    McTobM Offline
    McTob
    wrote on last edited by
    #1

    Dear all,
    After >6month, I am retrying the qtwebgl plugin, now with QT 6.2.0 (there was no release of this plugin for QT6 before).
    Unfortunately, it looks like I cannot build the plugin, I get the following error:

    Project ERROR: Unknown module(s) in QT: eventdispatcher_support-private fontdatabase_support-private theme_support-private

    Of course, I have a fresh Qt installation version 6.2.0 and I use qmake from there. Most likely I am missing some elements in my QT6 installation, but I have no idea which one ?

    Right now, I installed the following:
    qtbase
    qtshadertools
    qtdeclarative
    qt3d
    qtwebsockets

    Thank you in advance for your help

    1 Reply Last reply
    0
    • McTobM Offline
      McTobM Offline
      McTob
      wrote on last edited by McTob
      #2

      @McTob said in Error trying to build qtwebglplugin in Qt-6.2.0:

      theme_support-private

      Ok after a lot on tinkering, I realized that it might have to do with a change of "structure" in where those features are integrated, from https://github.com/qt/qtwayland/commit/1f37019fd5156ed139108c83b34e12d34d140ac8

      Remove FontDatabaseSupportPrivate/fontdatabase_support-private
      in the libraries dependency. The libraries were removed in qtbase in
      6be9830d865be32f224e15d13ddefd9c7e176553 and the functionality is now
      in QtGui.
      
      Remove PlatformCompositorSupport mentions, it was removed in qtbase
      in 7172b5112e5dbf0cb63dec68d2f916a323748aa1, and functionality moved
      to QtGui.
      

      Indeed, If I check the qtwebplugin source code, I see includes such as
      <QtFontDatabaseSupport/private/qgenericunixfontdatabase_p.h>

      Although the said file is now in
      Qt-6.2.0/include/QtGui/6.2.0/QtGui/private/qgenericunixfontdatabase_p.h

      1 Reply Last reply
      0
      • McTobM Offline
        McTobM Offline
        McTob
        wrote on last edited by McTob
        #3

        @McTob said in Error trying to build qtwebglplugin in Qt-6.2.0:

        QtGui/private

        Ok things are starting to make sense.

        release 6.2.0 of qtwebgl plugin is supposed to be paired with Qt 5.15.1 as per https://github.com/qt/qtwebglplugin/tree/6.2.0/dist ?

        This however doesn not make any sense. Why the hell would someone tag 6.2.0 on a qt plugin only compatible with 5.15.1... I don't get it, someone can help ?

        1 Reply Last reply
        0
        • McTobM Offline
          McTobM Offline
          McTob
          wrote on last edited by
          #4

          Ok, eventually I found this: https://bugreports.qt.io/browse/QTBUG-72802?focusedCommentId=507973&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-507973

          Which is heartbreaking....
          WebGL plugin support has been dropped from QT6 onwards....

          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