Error trying to build qtwebglplugin in Qt-6.2.0
-
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
qtwebsocketsThank you in advance for your help
-
@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 -
@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 ?
-
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....