<div dir="ltr">Dunno if I'm hardcore but yeah, PyQt runs very well on the Jolla phone. It's not offficially supported by Jolla, basically nothing is, but it's easy enough to publish apps on <a href="http://openrepos.net">openrepos.net</a>. When you enable dev mode on the jphone you will get access to Python2 and a bunch of the most used modules and the rest along with PyQt you can find on Openrepos.<br>
<div><div class="gmail_extra"><br></div><div class="gmail_extra">Greets Jens<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 6:41 PM, Russell Warren <span dir="ltr"><<a href="mailto:russ@perspexis.com" target="_blank">russ@perspexis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Awesome... thanks very much, Jens. I'm sure that example will help me a lot!<div><br></div><div>Russ</div>
<div><br></div><div>PS: cool app! Meego/Mer/Sailfish... you're definitely hardcore. ;) Amazing that python can be used to make apps there.</div>
</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 12:09 PM, Jens Persson <span dir="ltr"><<a href="mailto:xerxes2@gmail.com" target="_blank">xerxes2@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 dir="ltr"><div><div>The C++ docs basically are what is available and the QtQuick docs are the same so when you get started you will manage just fine with those two resources. But since you mention an old mail from me I might as well link to my app and the PyQt code is put all in one file:<br>
<a href="https://github.com/xerxes2/panucci/blob/master/src/panucci/qml2ui/qml2main.py" target="_blank">https://github.com/xerxes2/panucci/blob/master/src/panucci/qml2ui/qml2main.py</a><br><br></div>There you should have all you need like main view class, slot decorators, signals, image providers, context properties and whatnot. The trick is to get to know how to "duct tape" PyQt and QML together. :)<br>
<br></div>Greets Jens<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Jan 27, 2014 at 5:19 PM, Russell Warren <span dir="ltr"><<a href="mailto:russ@perspexis.com" target="_blank">russ@perspexis.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr">Where is the documentation for getting QtQuick/QML working in PyQt5? I'm new to PyQt and am trying to take QML for a spin and it is a tough slog.<div>
<br></div><div>The PyQt4 docs had what looked to be a decent starting point, going as far as showing the connection of signals defined in QML through to python code (awesome):</div>
<div><a href="http://pyqt.sourceforge.net/Docs/PyQt4/qml.html" target="_blank">http://pyqt.sourceforge.net/Docs/PyQt4/qml.html</a></div><div><br></div><div>That looked great, except the QDeclarativeView is no more in PyQt5. I see that PyQt4.QtDeclarative is also gone, and that things have more-or-less moved to PyQt5.QtQml and PyQt5.QtQuick.<br>
</div><div><div><br></div><div>Moving up to the new PyQt5 docs, they don't really show how to do an application, but only seem to highlight the apparently new ability to register python types with QML:</div></div><div>
<div><a href="http://pyqt.sourceforge.net/Docs/PyQt5/qml.html" target="_blank">http://pyqt.sourceforge.net/Docs/PyQt5/qml.html</a></div><div><br></div></div><div>Searching the mailing list and web, I've found a convenient (only vaguely related) thread [1] that has both PyQt4 and PyQt5 code for the same thing, which reveals that the proper container to use now seems to be QtQuick.QQuickView. This si now my starting point.</div>
<div><br></div><div>I've searched the PyQt5 docs for QQuickView references to try and find proper docs on how to use this (like existed for PyQt4), but nothing useful comes up.</div><div><br></div><div>After all that, I'll keep plugging away at this and try and port the PyQt4 documentation example to PyQt5, but I can't shake the feeling I'm not looking in the right place for PyQt5 docs.</div>
<div><br></div><div>Where are the docs for using QtQuick in PyQt5?</div><div><br></div><div>Thanks,<br>Russ</div><div><br></div><div><br></div><div>[1] <a href="http://www.riverbankcomputing.com/pipermail/pyqt/2013-October/033279.html" target="_blank">http://www.riverbankcomputing.com/pipermail/pyqt/2013-October/033279.html</a></div>
<div><br></div></div>
<br></div></div><div>_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></div></blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr"><div><font color="#000099">Russell Warren</font></div><div><font color="#000099">Perspexis Technologies Inc.</font></div>
<div><font color="#000099"><br>
</font></div><div><font color="#000099">This information is confidential and intended solely for the use of the individual or entity to whom it is addressed.</font></div><div><span style="color:rgb(0,0,153)">If you have received this email in error, please notify the sender immediately.</span></div>
</div>
</font></span></div>
</blockquote></div><br></div></div></div>