maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Qt.labs.components not installed (https://talk.maemo.org/showthread.php?t=75135)

damagedspline 2011-07-21 20:51

Qt.labs.components not installed
 
Hi,

I installed the latest qt-components package (1.0~git20110620-7-1fn), and tried to run an application that worked ok on ubuntu with a similar package, but on maemo it failed with:
Qt.labs.components not installed

looking on the web only gave me this, but not an exact workaround or solution. (couldn't find a matching thread on tmo - so i started this one)

I tried tracking the issue down myself and noticed that on maemo the components, the plugin so file is without execution permissions (ldd pointed it) - but it so does in ubuntu.

Has anyone got over this issue?

I will try to load the symbols and gdb the thingy - an action that i would rather be glad to avoid...


Thanks,
Assaf Paz

Wonko 2011-07-26 15:12

Re: Qt.labs.components not installed
 
I encountered the same problem today.
Using strace it showed that it is trying to open:
/usr/lib/qt4/imports/Qt/labs/components/qmldir
Which apparently is not there.
But we have:
/usr/lib/qt4/imports/Qt/labs/components.1.1/qmldir
and
/usr/lib/qt4/imports/Qt/labs/components/native/qmldir
as alternatives.

On a first quick shot it seems like copying the stuff from
/usr/lib/qt4/imports/Qt/labs/components.1.1/*
to
/usr/lib/qt4/imports/Qt/labs/components
results at least in the application being executable.
Code:

cp /usr/lib/qt4/imports/Qt/labs/components.1.1/* /usr/lib/qt4/imports/Qt/labs/components
This is actually not a nice fix but should do as a first hack to see whats going on.
While you are at it one might want to install the packages
qt-components-base-icons
and
meegotouchtheme
to fix most of the "missing icon" messages that will come next.

hth


ps: It might be worth to file a bug report with respect to this issue.


All times are GMT. The time now is 09:21.

vBulletin® Version 3.8.8