It appears that types that inherit QQmlValueType are not exposed any longer
with Qt 5.5.
This can be observed with this simple piece of QML code:
import QtQuick 2.4
import com.canonical.Oxide 1.11 as Oxide
Item {
Component.onCompleted: {
console.log(Oxide.SecurityStatus) // is a QObject, prints "[object
Object]"
console.log(Oxide.SecurityStatus.SecurityLevelError) // prints "4"
console.log(Oxide.LoadEvent) // is a QQmlValueType, prints "undefined"
console.log(Oxide.SslCertificate) // is a QQmlValueType, prints
"undefined"
}
}
** Package changed: webbrowser-app (Ubuntu) => oxide-qt (Ubuntu)
** Summary changed:
- [desktop] On xenial, multiple TypeError messages when starting browser
+ On xenial, types that inherit QQmlValueType are not exposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532135
Title:
Types that inherit QQmlValueType are not exposed to QML
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1532135/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs