Summary: | ComboBox.valueRole is not available | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Dr. Incognito <v2ray.dev> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kde |
Priority: | NOR | ||
Version: | 5.68.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dr. Incognito
2020-04-02 03:23:54 UTC
I'm not building some other piece of software. If there is a problem with combobox it should be reproducible in a few lines of qmlscene. valueRole was introduced in the template in 5.14 Our style sets our included version of QtQuick.Templates to the version of Qt that the style is built with. Rebuilding frameworks against 5.14 should resolve the issue. Note as a bad workaround, you can set the style env var, which will skip our theme being loaded. Thank you for your reply. Rebuilding the KDE framework seems impossible for all users. Could you tell me what env to set? (In reply to David Edmundson from comment #2) > valueRole was introduced in the template in 5.14 > > Our style sets our included version of QtQuick.Templates to the version of > Qt that the style is built with. Rebuilding frameworks against 5.14 should > resolve the issue. > > Note as a bad workaround, you can set the style env var, which will skip our > theme being loaded. QT_QUICK_CONTROLS_STYLE=fusion ./app or you can do it programmatically inside your app QQuickStyle::setStyle("fusion"); In terms of a long term fix Qt6 is scrapping import versions, so given Qt5.15 is nearly out, there's probably not much that's worth doing our side, it'll fix itself with time. It works now. Thanks for your help. NP, sorry for indirectly breaking your software |