Re: [Qt-qml] Showing text into the console

2010-04-20 Thread matthias.ettrich
print() Matthias From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf Of ext Jack Wootton [jackwoot...@gmail.com] Sent: Tuesday, April 20, 2010 4:42 PM To: dominic.gen...@biocad.ca Cc: qt-qml@trolltech.com Subject: Re: [Qt-qml] Showi

Re: [Qt-qml] patch for type resolving

2010-04-15 Thread matthias.ettrich
It's tempting to make the "detect shadowing and give error" a warning only, which is turned off when deploying on a device. But this would only remove *some* pointless fstats. Given that fstats on certain types of devices are slow, we should avoid them altogether. One solution: create qmldi

Re: [Qt-qml] Best way to update QML display based on external input via TCP socket?

2010-04-15 Thread matthias.ettrich
The dynamic parts of the UI should be build entirely based on properties provided by the CodeBehind. If those properties are notifyable (i.e. the Q_PROPERTY macro contains a NOTIFY section), then the UI will update itself. A less pretty and less declarative way would be to emit a signal from

Re: [Qt-qml] Plugin example [was: Re: A simple, complete example of QML onvoking C++?]

2010-04-14 Thread matthias.ettrich
Hi Peter, I'm uncertain whether it now works for you or not. If it doesn't, please ensure the qml viewer has been built with the very same Qt as you build the plugin, and if this still fails, please post the output you get when debugging with QML_IMPORT_TRACE=1. I did build and run the example