On 12-10-17 19:34, Lubomir I. Ivanov wrote:
On 12 October 2017 at 20:28, Jan Mulder <[email protected]> wrote:
Just upgraded my (Arch Linux) system to Qt 5.9.2. But now mobile-on-desktop
does not run any more (same for an android build).
It exits very early in run_ui() with the message "can't create window
object", and I am totally unsure where to start looking for the issue.
Anybody a good idea (other than downgrading Qt :-) ?
hi,
i think this would happen if there is an error in the loaded
"main.qml", that way the root object of main.qml would not compile and
cannot be obtained from C++ - thus the error we throw. are you getting
QML related errors; could be Kirigami related?
if you are not getting QML errors, what happens if you replace
main.qml with a simple QML "hello world" app?
That was a useful tip, thanks Lubomir. Not out of the woods yet but an
interesting observation:
Kirigami.ApplicationWindow {
id: rootItem
title: "Subsurface-mobile"
}
gives same problem, but
ApplicationWindow {
id: rootItem
title: "Subsurface-mobile"
}
passes the hard exit. So, there is some relation to Kirigami. However,
all this just does not happen on Qt 5.9.1 but only on 5.9.2.
--jan
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface