[Interest] Unexpected problems with Qt 5.4.1 & upgrade to Xcode 7.1
Nuno Santos
nunosantos at imaginando.pt
Mon Oct 26 19:39:34 CET 2015
Hi,
Today I have upgraded to Xcode 7.1 but still using Qt 5.4.1 For my surprise, my apps stopped working.
My apps base point is a qml subclass of Window, which has common stuff I use like style loading, font loading, splash loading and main qml loading.
After a bit of debugging I have found that the Loader that used to load the MainView doesn’t complete anymore. Since there isn’t a way of knowing why the Loaded failed to load a component, I have instantiated the MainView on the view.
The first thing I have noticed is that it failed to find the mainFont I have instantiated under the sub class of window. Let me give an example:
// UIWindow.qml
Window {
FontLoader {
id: mainFont
}
}
// main.qml
UIWindow {
Label {
font.family: mainFont.name // here, label fails to find mainFont when before the upgrade it did find.
}
}
Question: how can Xcode upgrade affect this kind of internal Qml behaviour?
Thanks in advance,
Regards,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151026/65672c1c/attachment.html>
More information about the Interest
mailing list