Hi,
On 28 May 2011 18:50, Martin Grimme <[email protected]> wrote:
> Hi,
>
> try to import MeeGo.Components 0.1
>
> This works on the tablet. 0.2 may be too fresh. Still you get it all
> red-underlined in Qt Creator. This will get even worse if you do your
> own custom QML components that reside in .so files. However you can
> compile it and deploy on the device.
first of all let me say that I'm not using the tablet with the image
it was provided with, I've installed one of the latest builds
available from meego website.
Second thing, when I installed meego-components on tablet, 0.2.8...
version was installed.
Anyway, using "import MeeGo.Components 0.1" does not say that
components are not installed, but it doesn't work anyway.
I get this error:
Killing remote process(es)...
Starting remote process ...
access control disabled, clients can connect from any host
Adding Master Pointer: Virtual core pointer ( 2 )
Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Adding ATTACHED touch device: eGalax Inc. USB TouchController ( 9 )
void MInputContext::connectToDBus()
MInputContext void GlibDBusIMServerProxy::connectToDBus()
Object::connect: No such signal
QApplication::windowListUpdated(QList<WindowInfo>)
Object::connect: (sender name: 'MeeGoTest2')
file:///usr/local/share/MeeGoTest2/qml/MeeGoTest2/main.qml:27:37:
Page1 is not a type
Component { id: book1Component; Page1 {} }
^
Here is the source code of QML file:
import QtQuick 1.0
import MeeGo.Components 0.1
Window {
id: window
toolBarTitle: "Book menu test"
bookMenuModel: [ qsTr("Book1"), qsTr("Book2") ]
bookMenuPayload: [ book1Component, book2Component ]
Component { id: book1Component; Page1 {} }
Component { id: book2Component; Page2 {} }
Component.onCompleted: {
switchBook( book1Component )
}
}
What am I missing?
Thanks for your help :)
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml