Discussion:
Cannot run applications that use MeeGo UX Components
a***@public.gmane.org
2011-05-28 16:14:27 UTC
Permalink
Hi,

I was trying to create an application using these components:
http://wiki.meego.com/MeeGo_UX_Components
I've installed them on my tablet: zypper install meego-ux-components-devel

Anyway I notice that they're not included in SDK because if I try to
import MeeGo.Components in QtCreator the line is red-underlined
meaning that the package is not found.

I can deploy the application on the tablet, but when it runs 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:2:1: module
"MeeGo.Components" version 0.2 is not installed
import MeeGo.Components 0.2
^
Killing remote process(es)...
bash: line 1: 1435 Terminated /usr/local/bin/MeeGoTest2

any idea? Are MeeGo UX Components already supported in MeeGo SDK?

Regards.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
Martin Grimme
2011-05-28 16:50:21 UTC
Permalink
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.


Martin
Post by a***@public.gmane.org
Hi,
http://wiki.meego.com/MeeGo_UX_Components
I've installed them on my tablet: zypper install meego-ux-components-devel
Anyway I notice that they're not included in SDK because if I try to
import MeeGo.Components in QtCreator the line is red-underlined
meaning that the package is not found.
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:2:1: module
"MeeGo.Components" version 0.2 is not installed
import MeeGo.Components 0.2
^
Killing remote process(es)...
bash: line 1: 1435 Terminated /usr/local/bin/MeeGoTest2
any idea? Are MeeGo UX Components already supported in MeeGo SDK?
Regards.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
_______________________________________________
MeeGo-sdk mailing list
http://lists.meego.com/listinfo/meego-sdk
http://wiki.meego.com/Mailing_list_guidelines
http://meego.com/developers
a***@public.gmane.org
2011-05-28 17:10:25 UTC
Permalink
Hi,
Post by Martin Grimme
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
Martin Grimme
2011-05-28 18:07:55 UTC
Permalink
Hi,

this looks to me as if Page1.qml was not found. Can you check if it's
there when deployed on the device? It could be some packaging problem.


Martin
Post by a***@public.gmane.org
Hi,
Post by Martin Grimme
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.
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')
Page1 is not a type
Component { id: book1Component; Page1 {} }
^
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
Drucker, Benjamin T
2011-05-29 03:07:28 UTC
Permalink
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-***@public.gmane.org [mailto:a.grandi-***@public.gmane.org]
Sent: Saturday, May 28, 2011 10:10 AM
To: Martin Grimme <martin.grimme-***@public.gmane.org>
Cc: qt-qml-j2+ES3AKPrdWk0Htik3J/***@public.gmane.org <qt-qml-j2+ES3AKPrdWk0Htik3J/***@public.gmane.org>; meego-sdk-***@public.gmane.org <meego-sdk-***@public.gmane.org>
Subject: Re: [Qt-qml] [MeeGo-SDK] Cannot run applications that use MeeGo UX Components

Hi,
Post by Martin Grimme
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
a***@public.gmane.org
2011-05-29 11:20:44 UTC
Permalink
Hi,
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.
once again it was my fault.

I was followin this tutorial: http://wiki.meego.com/MeeGo_UX_Tutorials
and I only tested the main.qml file without adding Page1 and Page2.

Now that I've added them I can start the example application.

Thanks
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
Drucker, Benjamin T
2011-05-29 02:57:01 UTC
Permalink
You must import 0.1. Where did you see instructions fpr 0.2? That information must be fixed.

[Sent from my phone]

----- Original Message -----
From: a.grandi-***@public.gmane.org [mailto:a.grandi-***@public.gmane.org]
Sent: Saturday, May 28, 2011 09:14 AM
To: meego-sdk-***@public.gmane.org <meego-sdk-***@public.gmane.org>; qt-qml-j2+ES3AKPrdWk0Htik3J/***@public.gmane.org <qt-qml-j2+ES3AKPrdWk0Htik3J/***@public.gmane.org>
Subject: [Qt-qml] Cannot run applications that use MeeGo UX Components

Hi,

I was trying to create an application using these components:
http://wiki.meego.com/MeeGo_UX_Components
I've installed them on my tablet: zypper install meego-ux-components-devel

Anyway I notice that they're not included in SDK because if I try to
import MeeGo.Components in QtCreator the line is red-underlined
meaning that the package is not found.

I can deploy the application on the tablet, but when it runs 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:2:1: module
"MeeGo.Components" version 0.2 is not installed
import MeeGo.Components 0.2
^
Killing remote process(es)...
bash: line 1: 1435 Terminated /usr/local/bin/MeeGoTest2

any idea? Are MeeGo UX Components already supported in MeeGo SDK?

Regards.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
a***@public.gmane.org
2011-05-29 11:11:54 UTC
Permalink
Hi,
You must import 0.1.  Where did you see instructions fpr 0.2?  That information must be fixed.
it was my fault then. On documentation there is 0.1 but when I
installed the components on my tablet, the 0.2.8 was installed and I
assumed I had tu use 0.2 instead.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
_______________________________________________
MeeGo-sdk mailing list
MeeGo-***@meego.com
http://lists.meego.com/listinfo/meego-sdk
http://wiki.meego.com/Mailing_list_guidelines
http://meego.com/dev
Loading...