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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to