[Qt-qml] [MeeGo-SDK] Cannot run applications that use MeeGo UX Components
Drucker, Benjamin T
benjamin.t.drucker at intel.com
Sun May 29 05:07:28 CEST 2011
Well, it is true the Page1 is not a published component. Unless you have defined this, it won't work. You may have seen code that looks like in the widgetgallery, but the gallery defines this as an application-specicif component.
[Sent from my phone]
----- Original Message -----
From: a.grandi at gmail.com [mailto:a.grandi at gmail.com]
Sent: Saturday, May 28, 2011 10:10 AM
To: Martin Grimme <martin.grimme at gmail.com>
Cc: qt-qml at qt.nokia.com <qt-qml at qt.nokia.com>; meego-sdk at meego.com <meego-sdk at meego.com>
Subject: Re: [Qt-qml] [MeeGo-SDK] Cannot run applications that use MeeGo UX Components
Hi,
On 28 May 2011 18:50, Martin Grimme <martin.grimme at gmail.com> 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
Qt-qml at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
More information about the Qt-qml
mailing list