[Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml
Bug #1488364 reported by
Chris Coulson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Zoltan Balogh | ||
Oxide |
Triaged
|
Medium
|
Unassigned | ||
qtdeclarative-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtdeclarative-opensource-src (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With older Qt versions, we use private APIs (QQmlValueType and friends) for exposing value types. However, with the built-in gadget support in Qt5.5, OxideQSslCertif
- When OxideQSecurityS
- The QVariant returned from OxideQSslCertif
Changed in oxide: | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- [Qt 5.5] OxideQSslCertificate::issuer is never null from Qml + [Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml |
description: | updated |
Changed in canonical-devices-system-image: | |
importance: | Undecided → Medium |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → 11 |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The difference appears to be that QObjectWrapper passes the QVariant returned from OxideQSecurityS tatus:: certificate to QV8Engine: :fromVariant, whereas QmlValueTypeWrapper boxes the QVariant returned from OxideQSslCertif icate:: issuer in another QVariant and passes that QV8Engine: :fromVariant.
I guess this is why I had to do http:// bazaar. launchpad. net/~oxide- developers/ oxide/oxide. trunk/view/ head:/qt/ qmlplugin/ oxide_qml_ ssl_certificate .cc#L76 for < Qt 5.5.
I'll try and come up with a small testcase and report this upstream.