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"
}
}
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 onCompleted: { log(Oxide. SecurityStatus) // is a QObject, prints "[object Object]" log(Oxide. SecurityStatus. SecurityLevelEr ror) // prints "4" log(Oxide. LoadEvent) // is a QQmlValueType, prints "undefined" log(Oxide. SslCertificate) // is a QQmlValueType, prints "undefined"
import com.canonical.Oxide 1.11 as Oxide
Item {
Component.
console.
console.
console.
console.
}
}