<div dir="ltr">OK I see I'm not so familiar with qml yet as I am in the process of moving to python3 and pyqt5.1 but still don't have a running dev environment for it as pyqt5 is missing qtsensors so for now it does not load.<div>
<br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 26, 2013 at 10:56 AM, Gary Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><br>
The QML "Text" object supports HTML 3.2 but no css. I did try out
using "Text instead of "WebView" in the Mobile code. As expected,
I did see the text, but it is no formatted in any way by the css.
<br><span class="HOEnZb"><font color="#888888">
<br>
Gary</font></span><div><div class="h5"><br>
<br>
On 8/26/2013 7:30 AM, webmedic wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<p>I have been able to load external resources by giving the
entire path to the local file. </p>
<div class="gmail_quote">On Aug 26, 2013 2:52 AM, "Костя Маслюк"
<<a href="mailto:kostyamaslyuk@gmail.com" target="_blank">kostyamaslyuk@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Sorry for confusion. Qt call html format they support
as RichText as opposed to PlainText format. So i'm not
about RTF but HTML that Qt supports internally.<br>
<br>
</div>
I would mention again that i did not managed to load
external resources with it (QTextDocument: neither css or
images) and it does not support some css features. There is
already made BibleTime template that works with Qt-Html at
Mini repository.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/26 Greg Hellings <span dir="ltr"><<a href="mailto:greg.hellings@gmail.com" target="_blank">greg.hellings@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>On Sun, Aug 25, 2013 at 11:42 PM, Gary
Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Костя,<br>
<br>
To use RichText we would have to have a
different renderer. I am not sure I want
to make this now. I still hope that Qt 5.2
will support WebKit on Android. You have
had a rich text renderer in the past for
Mini. Was it hard to make? We can do it at
a later date if we decide it is the only
choice.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
</div>
<div>The engine supports RTF output, FYI. FMT_RTF
should get you that. It's only used in BibleCS
(aka The SWORD Project for Windows). So creating
the renderer shouldn't be /too/ difficult.</div>
<span><font color="#888888">
<div><br>
</div>
<div>--Greg</div>
</font></span>
<div>
<div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div> <br>
Developing on Qt 4.8 does not seem like
a good choice since the QML code (Quick
1.0) is depreciated.<br>
<br>
I think that developing Quick 2 on
desktops is the best choice for now.<br>
<br>
I am going to look at a single window
mode for smaller displays. If you wish
to work on the install manager, I will
avoid changes in that area.<span><font color="#888888"><br>
<br>
Gary</font></span>
<div>
<div><br>
<br>
<br>
On 08/23/2013 05:06 AM, Костя Маслюк
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>It think we would use Qt
RichText for a while. It is used
in Mini for a long time and
WebKit is an runtime option on
platforms that supports it. I
know that it is not full
functional but it was enough.<br>
</div>
<div>Or develop on desktops, i
simply do not know what a
features supply WebKit that Qt
RichText haven't (except images,
proper css handling).<br>
</div>
<div><br>
</div>
Necessitas project that support Qt
4.8.2 on Android have WebKit
support but have QtQuick1 modules
only.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/23
Gary Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 08/22/2013 07:25 AM,
Костя Маслюк wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I
have tried Mobile on
Android, but without
WebKit support in Qt, it
does not makes sense
(fails loading qml file).
I also fixed one issue,
related to comparison
between translated and
non-translated strings.<br>
<br>
Related to WebKit support
on Android, <a href="https://bugreports.qt-project.org/browse/QTBUG-32093" target="_blank">https://bugreports.qt-project.org/browse/QTBUG-32093</a><br>
<br>
</blockquote>
</div>
I had missed the fact that
WebView did not come with the
Qt 5.1 Android port. I can see
this is on the list they want
to do for the next Qt release,
but it is not guaranteed to be
in Qt 5.2<br>
<br>
I don't know that we have a
good choice now. We could:<br>
<br>
1. Continue on developing a
QML version on linux or
windows and hope the Qt 5.2
(or later) has the WebView for
Android. The QML "Text" type
supports html and we may be
able to use it in the sort
term and make an Android
version.<br>
<br>
2. Wait on the QML version
and put more effort into the
widget version of Mini.<br>
<br>
What are your thoughts?
<div>
<div><br>
<br>
Gary<br>
<br>
<br>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
bt-devel mailing list
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
bt-devel mailing list
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br></blockquote></div><br></div>