maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Nokia QT WRT Preview in extras-devel (https://talk.maemo.org/showthread.php?t=58839)

Bundyo 2010-07-20 19:54

Nokia QT WRT Preview in extras-devel
 
Guys, did someone notice the following package in Extras-devel:
http://maemo.org/packages/package_in...qtwrt/1.1tp-1/

I can't seem to find any info about it, but there are some examples in its api source and the wgt packages there seem to be compatible with my Desktop Opera :)

http://repository.maemo.org/extras-d.../source/w/wrt/
http://repository.maemo.org/extras-d...rce/w/wrt-api/

After some poking around I managed to install one of the widgets, widgetinstaller generates a deb from the wgt and runs the app manager (the horror :)) to install it, still can't run it though. It also looks like hildon-desktop plugins and browser plugins will be possible in addition to all normal WRT uses.

Ah, it also generates a .desktop file, which looks like this:
Code:

[Desktop Entry]
Encoding=UTF-8
Name=Clock
Exec=/usr/bin/webwidgetrunner /usr/share/applications/hildon/218167579.desktop
X-Path=Clock
Version=1.0.0
Comment=A web application
Icon=32299061743555914548
Type=Application
[WRT]
StartHtml=file:///usr/share/wrt/data/widgets_21D_4C7/218167579
ViewMode=windowed

forgot to mention - it works. :)

Now... can we have some documentation? :)

jsa 2010-07-20 20:41

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by Bundyo (Post 758329)
Guys, did someone notice the following package in Extras-devel:
http://maemo.org/packages/package_in...qtwrt/1.1tp-1/

I can't seem to find any info about it, but there are some examples in its api source and the wgt packages there seem to be compatible with my Desktop Opera :)

http://repository.maemo.org/extras-d.../source/w/wrt/
http://repository.maemo.org/extras-d...rce/w/wrt-api/

http://labs.trolltech.com/blogs/2010...ourney-begins/

I assume this is the other major part in the planned offering for application developers along with native Qt according to the Nokia software strategy.

Bundyo 2010-07-20 20:46

Re: Nokia QT WRT Preview in extras-devel
 
Yes, it was announced on the Summit, there were no releases up to now though.

attila77 2010-07-20 20:50

Re: Nokia QT WRT Preview in extras-devel
 
Off I go to the maintainer to talk about naming before it turns into a libqt4-maemo5 deja vu all over again...

tswindell 2010-07-20 20:55

Re: Nokia QT WRT Preview in extras-devel
 
There was talk of this coming soon last week by some Nokia devs I believe.

Bundyo 2010-07-20 21:23

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by attila77 (Post 758397)
Off I go to the maintainer to talk about naming before it turns into a libqt4-maemo5 deja vu all over again...

Here he is :)
http://developer.qt.nokia.com/forums/viewthread/307/

attila77 2010-07-20 22:30

Re: Nokia QT WRT Preview in extras-devel
 
This let's communicate over a dozen forums approach is such a pain... I just wrote him an email to his maintainer address instead. I know, so 20th century :)

moo 2010-07-21 07:05

Re: Nokia QT WRT Preview in extras-devel
 
Hi,

We tested someWRT app for N97 and it said "Widget installation failed .... Unsupported"

Which WRT versions are supported?

Is there a need for some special N900 compatibility header?

pycage 2010-07-21 07:16

Re: Nokia QT WRT Preview in extras-devel
 
Looks like we'll be getting WRT with PR 1.3.
That's a good sign for a PR 1.3 to happen at all. :)

Bundyo 2010-07-21 11:16

Re: Nokia QT WRT Preview in extras-devel
 
Well, the WRT widgets seem to be different from the Symbian ones, mainly because the WGZ ones are not based on W3C spec. The other sort Symbian supports - JIL WGT is based on the proper spec, but is also not supported in N900, maybe will be in the future.

Bundyo 2010-07-21 11:33

Re: Nokia QT WRT Preview in extras-devel
 
Looks like it is compatible with JIL, but chokes on the non-standard JIL parts in the config.xml. Of course the JIL services do not work later on :)

attila77 2010-07-21 11:59

Re: Nokia QT WRT Preview in extras-devel
 
Update: when/if the packages will be released for the N900, they will be in a Nokia repo, like QtMobility, so there will be a slight package shuffle soonish - these WRT packages will get an 'experimental' moniker (like Qt4.7 and QtMobility) so that they do not conflict with the official/stable packages later on.

moo 2010-07-21 12:44

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by Bundyo (Post 759044)
Well, the WRT widgets seem to be different from the Symbian ones, mainly because the WGZ ones are not based on W3C spec. The other sort Symbian supports - JIL WGT is based on the proper spec, but is also not supported in N900, maybe will be in the future.

Then what widgets N900 supports? :)

Are they just desktop widgets or standalone apps?

Are prior Nokia WRT APIs available?

Cheers,
Mikko

Bundyo 2010-07-21 14:55

Re: Nokia QT WRT Preview in extras-devel
 
They can be desktop widgets, standalone apps and browser plugins as I mentioned. Currently they are not compatible with the official Symbian ones, but they should be compatible in the future (or there's not much point of creating all this :).

attila77 2010-08-03 11:34

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by attila77 (Post 759080)
Update: when/if the packages will be released for the N900, they will be in a Nokia repo, like QtMobility, so there will be a slight package shuffle soonish - these WRT packages will get an 'experimental' moniker (like Qt4.7 and QtMobility) so that they do not conflict with the official/stable packages later on.

Okay, this is now done, so the web runtime packages got an -experimental at the end so we don't trip over official releases that might come later. This also means the original packages have been removed, and for the reasons above I people who have already installed to replace with the new packages.

JapieB 2010-08-11 21:33

Cannot install example widget
 
I installed wrt-experimental and wrt-api-experimental from extras-devel. When I try to install the clock widget (found in the examples directory in the wrt-experimental source package) the application manager starts up, but indicates that there is a problem: the package qtwrt-experimental cannot be found.

The qtwrt-experimental package is not in the extras-devel repository (neither is the qtwrt package).

Where can I find the missing package?

JapieB 2010-08-11 21:53

Re: Cannot install example widget
 
Quote:

Originally Posted by JapieB (Post 783519)
Where can I find the missing package?

Found it: I should have installed using apt-get install qtwrt-experimental. Now the example widgets install...

ngocketit 2010-08-16 10:47

Re: Nokia QT WRT Preview in extras-devel
 
I tried to run a Symbian Ovi store client which is cWRT-based on Maemo installed QtWebRuntime but it didn't work as expected, which makes me think that QtWebRuntime is not compatible with cWRT on Symbian. Any idea?

Bundyo 2010-08-16 21:01

Re: Nokia QT WRT Preview in extras-devel
 
Yes, its not. I think it will be later or there will be different QT WRT for Symbian.

ngocketit 2010-08-17 02:54

Re: Nokia QT WRT Preview in extras-devel
 
I created a sample widget with the main entry is index.html. I ran this entry directly against the browser on N900 but it failed to function properly. I guessed the browser doesn't recognize the existence of QtWebRuntime. Any idea of how to make Maemo browser QtWebRuntime aware?

Bundyo 2010-08-17 05:53

Re: Nokia QT WRT Preview in extras-devel
 
Maemo browser is Gecko based. QTWRT uses the QT WebKit engine. You probably want to test on a webkit engine or install it as a different widget with its own menu entry.

ngocketit 2010-08-17 09:32

Re: Nokia QT WRT Preview in extras-devel
 
@Bundyo: Thanks for replying! Actually, I made a simple QML-based Web browser and ran index.html on it on N900. However, the widget didn't work and it reported an error something like WRT is not available. Any idea?

ny-hardcore 2010-08-17 14:58

Re: Nokia QT WRT Preview in extras-devel
 
Is it possible to make a qtwrt application that acts as a hildon-desktop widget?

i made a flipclock wgt, but want to have it on the hildondesktop as a widget, not as a application.

i tried the following config.xml, but it opens fullscreen
and is not selectable as widget

Code:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="FlipClock" version="1.0.0"
        height      = "200"
        width      = "200"

        viewmodes  = "widget">
<name>FlipClock</name>
<content src="index.html" />
</widget>


Bundyo 2010-08-17 19:10

Re: Nokia QT WRT Preview in extras-devel
 
It should be possible but I don't know how. Check the QT forums linked earlier and ask the developers.

@ngocketit: I'm not sure what do you mean. I managed to install a widget with the widgetinstaller executable in terminal. I'm not sure if it is registered to handle a mime-type directly from web.

DanielMartin 2010-09-06 12:29

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by ny-hardcore (Post 789478)
Is it possible to make a qtwrt application that acts as a hildon-desktop widget?

i made a flipclock wgt, but want to have it on the hildondesktop as a widget, not as a application.

i tried the following config.xml, but it opens fullscreen
and is not selectable as widget

Code:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="FlipClock" version="1.0.0"
        height      = "200"
        width      = "200"

        viewmodes  = "widget">
<name>FlipClock</name>
<content src="index.html" />
</widget>


Try this:
Code:

viewmodes = "minimized"
Disclaimer: I haven't tested it yet, but some of the reading I've been doing on the wrt implies that this will result in a desktop widget. The size may be fixed at 312x82 for now though.

From http://xizhizhu.blogspot.com/2010/08...ello-view.html

ny-hardcore 2010-09-06 14:24

Re: Nokia QT WRT Preview in extras-devel
 
Quote:

Originally Posted by DanielMartin (Post 808583)
Try this:
Code:

viewmodes = "minimized"
Disclaimer: I haven't tested it yet, but some of the reading I've been doing on the wrt implies that this will result in a desktop widget. The size may be fixed at 312x82 for now though.

From http://xizhizhu.blogspot.com/2010/08...ello-view.html

That is correct, the guy who wrote the tutorial told me on the qt wrt forums.

Tried it, worked and found out about the fixed resolution and stopped playing with it. I worked tough...


All times are GMT. The time now is 22:11.

vBulletin® Version 3.8.8