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-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