Re: [SailfishDevel] Map applications in Harbour

2018-04-07 Thread Osmo Salomaa
x27;s likely worth asking if Mapbox would be interested in some kind of a deal, getting some exposure and testing for their Qt version. -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QML translations don't work

2018-03-08 Thread Osmo Salomaa
h what is in the translation file. If you happened to copy the Pan Transit style of converting gettext po-files to Qt linguist files, then the context will be empty. I use the following helper function for QML translations: https://github.com/otsaloma/pan-transit/blob/master/qml/pan-transit.q

Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone

2017-10-19 Thread Osmo Salomaa
t happens both with OpenRepos + Warehouse and the manual way you describe. Please try to do something about this, it's annoying to tell users they need developer mode and command line just to install an RPM. https://together.jolla.com/question/132628 https://git

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-09 Thread Osmo Salomaa
les are available. Can anyone from Jolla comment? Do you have better information? -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Reminder] Sailfish OS Open Source Community Collaboration Meeting 9th of January 2017

2017-01-08 Thread Osmo Salomaa
neral". -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Recommended replacement for a spinner?

2016-11-01 Thread Osmo Salomaa
hould be good. TextField { inputMethodHints: Qt.ImhDigitsOnly } Silica does offer a slider, but it's probably bad if the integer is indeed arbitrary, as you'd need to set a minimum and maximum, and a linear scale between them might not be appropriate.

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Osmo Salomaa
minDiff = 1000; for (var i = 0; i < ratios.length; i++) { var diff = Math.abs(Theme.pixelRatio - ratios[i]); minIndex = diff < minDiff ? i : minIndex; minDiff = Math.min(minDiff, diff); } var ratio = ratios[minInd

[SailfishDevel] Resolution-independent in-app icons

2016-07-20 Thread Osmo Salomaa
at packs in icons of different sizes and loads the closest match at runtime? -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS SDK 1510 and launcher icon for tablet version

2015-10-20 Thread Osmo Salomaa
recommendations about how to handle in-app icon sizes to accomodate both phone and tablet users? Can and should we load SVG icons in QML? -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr

Re: [SailfishDevel] About applications presenting a map interface

2015-09-03 Thread Osmo Salomaa
ts. [1] https://lists.sailfishos.org/pipermail/devel/2014-December/005405.html [2] https://www.mapbox.com/blog/qmapboxgl/ -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Opening messaging app from qml.

2015-07-21 Thread Osmo Salomaa
nally("sms:0123456789?body=msgtosend"); Still not working. When I last checked, your second example should work, the first one not. The recipient is needed. https://together.jolla.com/question/84134/ -- Osmo Salomaa ___ SailfishOS.org D

Re: [SailfishDevel] QtFeedback 5.0 not allowed? Really?

2015-04-30 Thread Osmo Salomaa
lly since we don't use the SDK and the allowed version of QtPositioning is already in Sailfish OS. -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfishos.org site renewal!

2015-01-31 Thread Osmo Salomaa
us dynamic-language folks don't use and don't want to use the SDK (much) at all. I hope documentation quickly returns to the website as well. I personally have a scrape of the old documentation (indexed for use with Emacs and helm-dash), so I'm fine, but others might not b

Re: [SailfishDevel] How to detect when an app are restored from minimized

2015-01-23 Thread Osmo Salomaa
ukka/Qt5.2. Adding an onContextChanged handler worked for me. Canvas { id: canvas onContextChanged: { if (!canvas.context) return; // Initialize context properties here... canvas.requestPaint(); } } -- Os

Re: [SailfishDevel] QtLocation/Map does nothing ?

2014-10-15 Thread Osmo Salomaa
o, you might need to set the zoom level under onCompleted. https://bugreports.qt-project.org/browse/QTBUG-40779 -- Osmo Salomaa ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Profiling QML

2014-05-01 Thread Osmo Salomaa
at IDE project fluff? -- Osmo Salomaa ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] prefered way to build rpm package for a project written in python/pyotherside?

2014-03-05 Thread Osmo Salomaa
helsinki-transit-live (see RELEASING, Makefile and rpm/*.spec) -- Osmo Salomaa ___ SailfishOS.org Devel mailing list

[SailfishDevel] RPM-packaging for Python/QML applications

2013-12-29 Thread Osmo Salomaa
mal C++ ('SailfishApp::main(argc, argv)'). Why such a travestry instead of a shell script calling qmlscene or sailfish-qml? -- Osmo Salomaa ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-12-22 Thread Osmo Salomaa
any way to define tile sources in QML? The Qt Location Map Plugin API seems a gigantic OO monster for the simple usual case of wanting to specify a custom tile URL. -- Osmo Salomaa ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] qmlscene & error handling

2013-12-15 Thread Osmo Salomaa
15.12.2013 18:30, Wim de Vries wrote: I don't know about Python, but QML is giving no feedback at all (even console.log does not work) since the SDK update. See " no output from console.log" topic above. Possibly related. I'm still on the previous version. console.log wor

[SailfishDevel] qmlscene & error handling

2013-12-15 Thread Osmo Salomaa
(1) I was referring to an object by its id apparently out of scope, solved by moving the Python block from under ApplicationWindow to under Page and (2) I mistyped a method call, 'addItem' instead of 'addMapItem'. -- Osmo Salomaa ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] QtMobility and Python bindings

2013-07-17 Thread Osmo Salomaa
eady resolved the Python binding problem and that PySide was somewhat an official and maintained part of Qt. I guess I was wrong. A useless battle continues. I guess I better hold off on writing any Python code. In addition to what you mention, I suppose there's a switch to

[SailfishDevel] QtMobility and Python bindings

2013-07-17 Thread Osmo Salomaa
Is there a development repository where I could find this kind of stuff (like extras-devel was at Maemo)? [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671356 -- Osmo Salomaa ___ SailfishOS.org Devel mailing list