MenuBar not shown with AdvancedDockingSystemDemo under ubuntu
Closed this issue · 4 comments
Hello,my configuration like this:
OS: Ubuntu 24.04 with unity desktop
Compiler: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
QT: 6.4.2
Compilation works fine,and all other demos work without any issue,but the AdvancedDockingSystemDemo shows like this
As you can see:
The menu bar is totally transparent,and the content of behind window got shown.
And the startup log is this:
qt.core.plugin.factoryloader: checking directory path "/usr/local/qwt-6.3.0/plugins/platforms" ...
qt.core.plugin.factoryloader: checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so"
......ignoerd due to looks good without any "null","warning"...
qt.core.plugin.factoryloader: Got keys from plugin meta data QList("svg", "svgz", "svg.gz")
qt.core.plugin.factoryloader: checking directory path "/home/alex/workspace/bak/DockingSystem/build/x64/bin/iconengines" ...
qt.core.library: "/usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines/libqsvgicon.so" loaded library
Debug: Message handler test ((null):0, (null))
Debug: checking directory path "/usr/local/qwt-6.3.0/plugins/imageformats" ... ((null):0, (null))
Debug: checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats" ... ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"ico",
"cur"
],
"MimeTypes": [
"image/vnd.microsoft.icon",
"image/vnd.microsoft.icon"
]
},
"archlevel": 1,
"className": "QICOPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("ico", "cur") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqicns.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqicns.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"icns"
],
"MimeTypes": [
"image/x-icns"
]
},
"archlevel": 1,
"className": "QICNSPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("icns") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"svg",
"svgz"
],
"MimeTypes": [
"image/svg+xml",
"image/svg+xml-compressed"
]
},
"archlevel": 1,
"className": "QSvgPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("svg", "svgz") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtiff.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtiff.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"tiff",
"tif"
],
"MimeTypes": [
"image/tiff",
"image/tiff"
]
},
"archlevel": 1,
"className": "QTiffPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("tiff", "tif") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtga.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtga.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"tga"
],
"MimeTypes": [
"image/x-tga"
]
},
"archlevel": 1,
"className": "QTgaPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("tga") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"gif"
],
"MimeTypes": [
"image/gif"
]
},
"archlevel": 1,
"className": "QGifPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("gif") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwbmp.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwbmp.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"wbmp"
],
"MimeTypes": [
"image/vnd.wap.wbmp"
]
},
"archlevel": 1,
"className": "QWbmpPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("wbmp") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwebp.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwebp.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"webp"
],
"MimeTypes": [
"image/webp"
]
},
"archlevel": 1,
"className": "QWebpPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("webp") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"jpg",
"jpeg"
],
"MimeTypes": [
"image/jpeg",
"image/jpeg"
]
},
"archlevel": 1,
"className": "QJpegPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("jpg", "jpeg") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqmng.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqmng.so, metadata=
{
"IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
"MetaData": {
"Keys": [
"mng"
],
"MimeTypes": [
"image/x-mng"
]
},
"archlevel": 1,
"className": "QMngPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("mng") ((null):0, (null))
Debug: checking directory path "/home/alex/workspace/bak/DockingSystem/build/x64/bin/imageformats" ... ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqicns.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtiff.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqtga.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwbmp.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqwebp.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so" loaded library ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqmng.so" loaded library ((null):0, (null))
Debug: checking directory path "/usr/local/qwt-6.3.0/plugins/accessible" ... ((null):0, (null))
Debug: checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/accessible" ... ((null):0, (null))
Debug: checking directory path "/home/alex/workspace/bak/DockingSystem/build/x64/bin/accessible" ... ((null):0, (null))
Debug: loadFile result: true ((null):0, (null))
Debug: checking directory path "/usr/local/qwt-6.3.0/plugins/xcbglintegrations" ... ((null):0, (null))
Debug: checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations" ... ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
"MetaData": {
"Keys": [
"xcb_egl"
]
},
"archlevel": 1,
"className": "QXcbEglIntegrationPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("xcb_egl") ((null):0, (null))
Debug: looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" ((null):0, (null))
Debug: Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
"MetaData": {
"Keys": [
"xcb_glx"
]
},
"archlevel": 1,
"className": "QXcbGlxIntegrationPlugin",
"debug": false,
"version": 394240
}
((null):0, (null))
Debug: Got keys from plugin meta data QList("xcb_glx") ((null):0, (null))
Debug: checking directory path "/home/alex/workspace/bak/DockingSystem/build/x64/bin/xcbglintegrations" ... ((null):0, (null))
Debug: "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" loaded library ((null):0, (null))
Debug: checking directory path "/usr/local/qwt-6.3.0/plugins/accessiblebridge" ... ((null):0, (null))
Debug: checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/accessiblebridge" ... ((null):0, (null))
Debug: checking directory path "/home/alex/workspace/bak/DockingSystem/build/x64/bin/accessiblebridge" ... ((null):0, (null))
Warning: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5f409f1d2ba0 ((null):0, (null))
Warning: QRhiGles2: Failed to make context current. Expect bad things to happen. ((null):0, (null))
Warning: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5f409f1d6fc0 ((null):0, (null))
Warning: QRhiGles2: Failed to make context current. Expect bad things to happen. ((null):0, (null))
Warning: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5f409f1d6fc0 ((null):0, (null))
Warning: QRhiGles2: Failed to make context current. Expect bad things to happen. ((null):0, (null))
Warning: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5f409f1d2ba0 ((null):0, (null))
Warning: QRhiGles2: Failed to make context current. Expect bad things to happen. ((null):0, (null))
Warning: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5f409f1d6fc0 ((null):0, (null))
Warning: QRhiGles2: Failed to make context current. Expect bad things to happen. ((null):0, (null))
The QMenuBar and QToolBar are not part of ADS but are Qt6 widgets.
The QMenuBar and QToolBar are not part of ADS but are Qt6 widgets.
@githubuser0xFFFF
Thank you,but I don't get What you mean.
Do you mean: ADS doesn't support Qt6?
If yes, why is the QMenuBar used in the demo?
I mean, ADS does not modify or changes QMenuBar or QToolBar in any way - the demo just uses it and thats it.
I mean, ADS does not modify or changes QMenuBar or QToolBar in any way - the demo just uses it and thats it.
Thanks,but,where does the problem come from?Since other apps with QMenuBar & QToolBar work fine in the same machine