[Development] Custom QPlatformTheme plugin for exposing global menus

2023-11-16 Thread Eduardo Hopperdietzel
Hi again, I'm going to answer my own question. I've come to realize that QPlatformMenuBar::syncMenu() and QPlatformMenu::syncMenuItem() are indeed intended for applying changes atomically. They are called after the properties of menus or items are modified but not during their construction. My ove

[Development] Custom QPlatformTheme plugin for exposing global menus

2023-11-16 Thread Eduardo Hopperdietzel
Hello, I am currently working on a library for exposing global menus in Wayland, and as part of this effort, I am developing a custom QPlatformTheme plugin. However, I have encountered some uncertainties. While I have successfully exported menu bars, menus, and items to my "global menu," I am fac

[Development] Deprecating QSharedMemory and QSystemSemaphore

2023-11-16 Thread Thiago Macieira
Ref: https://codereview.qt-project.org/c/qt/qtbase/+/518039 http://bugreports.qt.io/browse/QTBUG-111855 For Qt 6.6, I undertook a refactor of those two classes to allow the backend to be selected at runtime, instead of compile-time, because Apple in their infinite wisdom[*] decided that App Stor

[Development] How to support sRGB format render target for QtQuick

2023-11-16 Thread JiDe Zhang
Hi, I want to use a VK_FORMAT_B8G8R8A8_SRGB format VkImage in QQuickRenderTarget, but Qt can't automatically apply gamma correction to each QQuickItem. I'm not sure if there is an ideal way to support this in Qt's current design, I'm reporting a bug, please give me some advice there https://bu