Discussion:
Can't use MeeGo SDK on Ubuntu 10.10 for tablet development
a***@public.gmane.org
2011-05-27 16:27:53 UTC
Permalink
Hi,

I've installed MeeGo SDK on my Ubuntu 10.10 PC to start developing for
MeeGo tablets but I'm having many problems.
I've only installed QtSimulator and MeeGo Tablets 1.2 targets, since I
only need those two.

I've created a simple QML "Hello World" and I'm trying to run it both
on QtSimulator and MeeGo tablet targets, but with no success.

1) Running a simple "Hello World" using "MeeGo SDK Simulator Qt-4.7.2"
I get this error:

Starting /opt/meego/simulator-qt/bin/qmlviewer -I
/opt/meego/simulator-qt/lib/qt4/imports
/home/andrea/Documents/sviluppo/MeeGoTest1/MeeGoTest1.qml
Upgraded version for table: "mailthreads" from 100 to 101
Unsupported database. Please delete the .qmf directory and try again.
Waiting for reply from simulator timed out
The program has unexpectedly finished.
/opt/meego/simulator-qt/bin/qmlviewer exited with code 0

2) About the other target. even if
meego-tablet-ia32-1.2.0.90.0.20110517.1 target is installed and
available in Options-->Qt4-->Manual I cannot choose it when I'm in
Project-->Run Settings-->Qt Version of MeeGo QtCreator

so it's impossible for me to test my application against those two
targets. Probably I would be more lucky using my real ExoPC to test
it, but which target do I have to install/use to test my application
on my ExoPC? It's not clear at all from the installation.

Thanks!
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
Cornelius Hald
2011-05-28 14:28:13 UTC
Permalink
Hi Andrea,

just a short answer on one of your questions. The rest I currently don't
know...
Post by a***@public.gmane.org
so it's impossible for me to test my application against those two
targets. Probably I would be more lucky using my real ExoPC to test
it, but which target do I have to install/use to test my application
on my ExoPC? It's not clear at all from the installation.
Use the meego-tablet-ia32 target to compile for the ExpoPC.

For a first test, forget about all deployment and packaging. Just
compile a binary and scp it onto the ExoPC. There use SSH to run it.

If it's a UI app, execute "export DISPLAY=:0" before running the app.
That should work.

Cheers,
Conny
a***@public.gmane.org
2011-05-28 14:31:01 UTC
Permalink
Hi,
Post by Cornelius Hald
Use the meego-tablet-ia32 target to compile for the ExpoPC.
look my point 2 in my first email: even if the target is installed I
cannot select it to compile/run my application.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
a***@public.gmane.org
2011-05-28 14:58:40 UTC
Permalink
Hi,
Post by a***@public.gmane.org
Hi,
Post by Cornelius Hald
Use the meego-tablet-ia32 target to compile for the ExpoPC.
look my point 2 in my first email: even if the target is installed I
cannot select it to compile/run my application.
I tried a different test: instead of creating a simple QML project
(QML only) I created a QtQuick project (QML + C++),
This kind of project runs both on MeeGo emulator (the QEMU version)
and on real MeeGo device (using remote deploy trough SSH on ExoPC).

Basically: QML Projects are not supported, QtQuick are. Is this a
"feature" os is it a bug?

Regards.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
Cornelius Hald
2011-05-28 15:11:00 UTC
Permalink
Post by a***@public.gmane.org
Hi,
Post by a***@public.gmane.org
Hi,
Post by Cornelius Hald
Use the meego-tablet-ia32 target to compile for the ExpoPC.
look my point 2 in my first email: even if the target is installed I
cannot select it to compile/run my application.
I tried a different test: instead of creating a simple QML project
(QML only) I created a QtQuick project (QML + C++),
This kind of project runs both on MeeGo emulator (the QEMU version)
and on real MeeGo device (using remote deploy trough SSH on ExoPC).
Basically: QML Projects are not supported, QtQuick are. Is this a
"feature" os is it a bug?
Not sure which it is, but I think currently you'll need the C++ wrapper
anyways to be able to properly package and deploy your app.

Still I think it would be _very_ desirable to be able to create and
deploy pure QML apps. That would free us from recompiling for each
architecture. But that's maybe a different thread...

Cheers,
Conny
Thiago Macieira
2011-05-29 09:15:20 UTC
Permalink
Still I think it would be very desirable to be able to create and
deploy pure QML apps. That would free us from recompiling for each
architecture. But that's maybe a different thread...
That requires there to be an official runtime launcher for QML, like there is
/usr/bin/python for Python.

It's a bigger discussion than just MeeGo. We have that in the plans for Qt,
but haven't addressed it yet due to the security concerns involved.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
Martin Grimme
2011-05-29 10:39:15 UTC
Permalink
Hi,
Post by Thiago Macieira
That requires there to be an official runtime launcher for QML, like there is
/usr/bin/python for Python.
It's a bigger discussion than just MeeGo. We have that in the plans for Qt,
but haven't addressed it yet due to the security concerns involved.
Well, there is something like this in the Tablet UX. It's the meego-ux-qmlviewer
that most native apps on the Tablet UX are using already.
For handset, you can instead install meego-qml-launcher, which does
exactly the same
task.
Honestly, it would be better to have a common official launcher on all
MeeGo profiles, but
using these two I can deploy the same stuff for Tablet and Handset,
just by packaging
different .desktop files for invoking the appropriate launcher.


Martin

Loading...