Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Robin Burchell
Den 31.07.14, 07.49 skrev "Iosif Hamlatzis" mailto:i.hamlat...@gmail.com>>: I had asked a while a go the same question regarding orientation when I started porting my SDL games and received the same answer that I should do the rotation translation my self and not only for rendering but for touch

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Robin Burchell
Den 31.07.14, 10.39 skrev "Tomasz Sterna" : >Dnia 2014-07-31, czw o godzinie 08:49 +0300, Iosif Hamlatzis pisze: >> the same answer that I should do the rotation translation my self and >> not only for rendering but for touch screen. > >Also a regression from Maemo... where the only thing applicati

Re: [SailfishDevel] Qt 5.2 in devel

2014-07-07 Thread Robin Burchell
Den 07.07.14 20:12 skrev "Timur Kristóf" : >Why just 5.2? Why not go straight to 5.3? Gunnar already answered this, but I¹ll repeat it somewhat: We¹ve put a reasonable amount of work into stabilizing 5.2, and are fairly confident that it¹s of acceptable quality by now. Pushing any change into that

Re: [SailfishDevel] Qt 5.2 in devel

2014-06-17 Thread Robin Burchell
Sorry folks. This wasn’t intended to be posted here, but, have a slight visual on what’s going on behind the curtain anyway. :) tl;dr: Qt 5.2 upgrade is on the way in the nearish (but not immediate) future :) Fra: Robin Burchell mailto:robin.burch...@jolla.com>> Svar til: Sailfish OS Deve

[SailfishDevel] Qt 5.2 in devel

2014-06-17 Thread Robin Burchell
Hello intrepid developers, Qt 5.2 rebuilds have (finally, thank god) finished in devel. I’ve updated a single device (via version —dup) so far without too many ill effects (see below), and done some brief smoke testing. The device rebooted the user session successfully, and rebooted to a UI OK,

Re: [SailfishDevel] A kickoff meeting about SailfishOS, open source, collaboration, way forward @ 15 April, 15:00 UTC

2014-04-07 Thread Robin Burchell
On 07 Apr 2014, at 16:11, Filip Kłębczyk wrote: > "We don't want the community to work on the bugs and take our jobs!". I don’t know any of the context of the discussion you’re referring to, so I won’t say anything about that particular case. I will say this: You’re of course free to criticise

Re: [SailfishDevel] A kickoff meeting about SailfishOS, open source, collaboration, way forward @ 15 April, 15:00 UTC

2014-04-06 Thread Robin Burchell
On 05 Apr 2014, at 10:21, Thomas B. Rücker mailto:tho...@ruecker.fi>> wrote: Reading this I can't help but wonder if Jolla now claims ownership of Mer/Nemo then. Even with fancy hat changing. Bringing this discussion up in a strictly Sailfish context implies this. I think you’ve read a little mu

Re: [SailfishDevel] undefined symbols

2014-02-13 Thread Robin Burchell
On 12 Feb 2014, at 15:54, Attila Csipa wrote: > On 12/02/14 16:49, Andrey Kozhevnikov wrote: >> because there are no qt5 config for Qt0Feedback, but pkgconfig did the magic >> with including libraries :) > > Well, technically, there is a > /usr/share/qt5/mkspecs/modules/qt_lib_feedback.pri (wh

Re: [SailfishDevel] how to get qml debug output to file

2014-02-05 Thread Robin Burchell
On 04 Feb 2014, at 22:37, Tero Siironen wrote: > Andrey Kozhevnikov kirjoitti 4.2.2014 kello 23.14: > >> This is messages handler i'm using in my projects: > > > This doesn’t seem to make a difference for me, the log file still contains > only c++ side debug prints, qml prints (like console.l

Re: [SailfishDevel] QStandardPaths not working when app is run from Launcher

2014-01-19 Thread Robin Burchell
Hi, Can you please provide a small sample demonstrating this? As I’m quite sure it works for our own uses. BR, Robin On 19 Jan 2014, at 14:34, Sylvain B. mailto:sth...@hotmail.com>> wrote: Hey, My app did not want to read the some cached content it was supposed to have written in QStandardPa

Re: [SailfishDevel] xdg folder stuff: howto? more info

2014-01-08 Thread Robin Burchell
On 09 Jan 2014, at 00:37, Thomas Tanghus wrote: > On Wednesday 08 January 2014 09:22 Jonni Rainisto wrote: >> IMHO applications that use QStandardPaths should be always accepted, there >> must be something wrong with the process or rules if that is the cause for >> rejection. If QStandardPaths po

Re: [SailfishDevel] Undocumented Silica components

2014-01-06 Thread Robin Burchell
For things in Qt itself, keep an eye on Qt upstream. When they are part of an official Qt release (that is: stable API), then we can look at them when we upgrade. As far as I know, nobody has yet prioritised work on either of those, and platform support is scarce, so I don’t see them happening

Re: [SailfishDevel] QDnsLookup always fails

2013-12-23 Thread Robin Burchell
Hi, On 22 Dec 2013, at 19:31, Alexander Stante wrote: > Looking at the source code of QDnsLookup for Unix operating systems, it > looks like it can't load / find certain libraries. Has onyone else > experienced the same problem? I've tried it with the latest version of > the SDK. Is there an othe

Re: [SailfishDevel] QtMultimedia SoundEffect Vs Audio

2013-12-20 Thread Robin Burchell
Hi, On 20 Dec 2013, at 12:21, Kimmo Lindholm mailto:kimmo.lindh...@eke.fi>> wrote: First I used QtMultimedia Audio component which seems to follow system volume setting, but after the sound is played, there is glitch in animations running on the screen. This sounds like a bug. Can you please g

Re: [SailfishDevel] QtSensors support in Harbour

2013-12-17 Thread Robin Burchell
Hi, On 17 Dec 2013, at 12:01, Kimmo Lindholm mailto:kimmo.lindh...@eke.fi>> wrote: Is there any known workaround for acceleration sensor use? (or schedule when QtSensors 5.0 would be allowed in Harbour?) QtSensors will be added for use in the near future. We’ll drop a mail to the list when it

Re: [SailfishDevel] Delegate creation on demand

2013-12-15 Thread Robin Burchell
Can you please provide a minimal test case (i.e. ideally a single QML file, usable with qmlscene) demonstrating your problem? Please see http://sscce.org/ On 15 Dec 2013, at 21:03, Hendrik Borghorst wrote: > Hello, > > the problem isn't my delegate. It is quite minimal. > > The problem is I

Re: [SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Robin Burchell
On 12 Dec 2013, at 14:28, Wim de Vries mailto:wsvr...@xs4all.nl>> wrote: I need to set many properties in QML elements from within C++. You may find it easier to expose these properties *from* C++ to QML, using a singleton type (for example) http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppinteg

Re: [SailfishDevel] best way to set QML properties from within C++ in Sailfish?

2013-12-12 Thread Robin Burchell
On 12 Dec 2013, at 13:42, Wim de Vries mailto:wsvr...@xs4all.nl>> wrote: I need to set many properties in QML elements from within C++. You may find it easier to expose these properties *from* C++ to QML, using a singleton type (for example) http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppinteg

[SailfishDevel] Harbour API additions

2013-12-09 Thread Robin Burchell
Ahoy, We have today added two new items to the Harbour-accepted list of supported APIs. = QtWebkit = Due to popular demand, we are now accepting applications using QtWebkit directly, both QML and C++. It should be noted that QtWebkit has no upstream support, and we do not have any real resou

Re: [SailfishDevel] Sharing version number (and other constants?) between .yaml/spec, .pro and .cpp/.qml

2013-12-06 Thread Robin Burchell
https://github.com/nemomobile/mlite/blob/master/rpm/mlite-qt5.yaml#L20 gives you https://github.com/nemomobile/mlite/blob/master/rpm/mlite-qt5.spec#L60 if you want to go all out gung-ho with automation, you can also do something like https://github.com/nemomobile/mlite/blob/master/src/src.pro#L3

Re: [SailfishDevel] where did the template sailfishapplication.cpp/h go?

2013-12-06 Thread Robin Burchell
Hi, They were moved into libsailfishapp so that we are easier able to roll out improvements to all applications if there’s a need. For instance, we ran into a bug with QtWayland that we had to temporarily work around in there a while ago. I would recommend *not* subclassing QQuickView (since th

Re: [SailfishDevel] QWindow in main?

2013-12-06 Thread Robin Burchell
On 06 Dec 2013, at 10:32, Wim de Vries wrote: > For now I am just trying to get a QWindow working together with some QML. > Problem starts with main. It is only about QQuickView. > Where to got with my QWindow? > Thanks. If you want to do OpenGL and QML together, you’ll need to use a QQuickView.

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Robin Burchell
Hi, On 04 Dec 2013, at 20:18, joao morgado mailto:joaodeusmorg...@yahoo.com>> wrote: @: Wim de Vries. I share your frustation about OpenGL with QWindow, and I'm also frustated with Qt widgets. I have a very nice app in OVI, symbian, with QWidgets and OpenGL, I'll have to do a complete redesign,

Re: [SailfishDevel] Qt5.2/NFC API in sailfishos

2013-12-02 Thread Robin Burchell
Hi, On 30 Nov 2013, at 21:47, Mikael Hermansson wrote: > I just saw that Digia will soon release Qt5.2. I guess jPhone will have this > upgraded later on? Yes. I’m working on syncing with upstream at the moment. It won’t be incredibly soon, you’re most likely looking at next year. > But what

Re: [SailfishDevel] Linking to qwidget, or any other method to access the clipboard

2013-12-02 Thread Robin Burchell
Hi Michael, The QClipboard pointer should also be available with QGuiApplication: http://qt-project.org/doc/qt-5.0/qtgui/qguiapplication.html#clipboard Or is there something else that I’m missing? BR, Robin On 02 Dec 2013, at 10:19, Michael Demetriou wrote: > Hello, > > I'm trying to port

Re: [SailfishDevel] Qt5Svg links against Qt5Widgets -> rejected in Harbour

2013-11-27 Thread Robin Burchell
On 27 Nov 2013, at 21:12, joaodeusmorg...@yahoo.com wrote: I didnt know qt5widgets were blaclisted, were can I find such info? See: https://harbour.jolla.com/faq Questions: "Which shared libraries can I link against?”, and "Why do you not allow QtWidgets?”

Re: [SailfishDevel] Qt5Svg links against Qt5Widgets -> rejected in Harbour

2013-11-27 Thread Robin Burchell
Hi Alessandro, On 27 Nov 2013, at 20:43, Alessandro Portale wrote: > my app uses QtSvg and got rejected because it requires the blacklisted > QtWidgets. That was corrected a while ago: https://github.com/mer-packages/qtsvg/commit/b2d0ef6a21f3956830c6f4b89c19527193bdabbc > This command, execute

Re: [SailfishDevel] QtWebKit module - shouldm't it be whitelisted?

2013-11-25 Thread Robin Burchell
Hi, The reason for not whitelisting QtWebKit is a bit different here: that we don’t want to promise an API that we cannot promise to continue to support. While QtWebKit may continue to limp along for a few years yet, it has been removed from upstream webkit, and has no real active maintainers t

[SailfishDevel] Update on application naming for Harbour applications

2013-11-22 Thread Robin Burchell
Ahoy, In Iekku’s mail yesterday, we referred to application names needing to use a “dotted” form (e.g. com.example.myapp). It was brought to our attention that this isn’t factually possible at this time due to limitations in Qt Creator/qmake, so we’re unfortunately forced due to time limitation

Re: [SailfishDevel] SDK and Harbour news

2013-11-21 Thread Robin Burchell
Hi Artem, On Thu, Nov 21, 2013 at 1:41 PM, Artem Marchenko wrote: > Thanks for the update, Lekku I, not L :-) > Will the apps violating these rules, but currently approved or submitted and > under QA still work fine for the launch? And will users get proper update > notifications when you chang

Re: [SailfishDevel] Full Emulator and/or APIs

2013-11-20 Thread Robin Burchell
Hi, I can’t cover the SDK part of this because I’m not intimately familiar with the SDK releasing process/plans, but some comments on APIs: We cannot provide full store support on every single aspect of the device from day one. It would be nice if we could, but we haven’t had the time to do the f

Re: [SailfishDevel] Cannot launch app by clicking app icon in emulator

2013-11-18 Thread Robin Burchell
Hi, Running applications from SSH requires that the environment be correctly set up. See the files in /var/lib/environment/nemo. Developer mode (which I guess parts of which may filter back down to the SDK, at some point, maybe) will set this up for you when enabled, but in the meantime, you'll h

Re: [SailfishDevel] Account management

2013-11-14 Thread Robin Burchell
doc > > > On Thu, Nov 14, 2013 at 12:50 AM, Tigre-Bleu wrote: >> >> >> Ok, thanks for the info. >> >> I will then just wait for the Sailfish accounts control implementation >> details and implement everything in the app for the moment. >> >&

Re: [SailfishDevel] Application specific write-access folder

2013-11-13 Thread Robin Burchell
Hi, On Sun, Nov 10, 2013 at 12:02 AM, Mark Johnson wrote: > For some reason when I try to open a file with QIODevice::ReadWrite access > in the following directory it fails every time (the file should be > instantiated as a result of the QFile::open() call): > > QString mainFileName = > QStandard

Re: [SailfishDevel] Account management

2013-11-13 Thread Robin Burchell
Hi, On Wed, Nov 13, 2013 at 9:26 PM, Tigre-Bleu wrote: > Hi Jonni, > > nemo-qml-plugin-accounts-qt5 looks like what I'm looking for, but I have a > hard time trying to figure out how it's working because I can't find a lot of > documentation/examples. You most likely don't want that. It was an

Re: [SailfishDevel] user and app data howto?

2013-11-13 Thread Robin Burchell
Hi, On Wed, Nov 13, 2013 at 9:19 PM, Wim de Vries wrote: > I have my app ready. Until now I just did a "scp -r -P 2223 ./checklistsdata > nemo@localhost:/home/nemo" to copy the app data. But I need a robust > solution before submitting to the harbour... > Are there rules concerning user and app d

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-13 Thread Robin Burchell
Hi, On Wed, Nov 13, 2013 at 11:08 PM, Seppo Tiainen wrote: > Yes, that's the way to go. In Harmattan QML, there were: > > Qt.openUrlExternally("tel:012345x") for calls, and > Qt.openUrlExternally("sms:01234567444" + "?body=" + "bodytext") for SMSs. tel: is already supported. sms: is not ye

Re: [SailfishDevel] Bug in sailfish silica scroll feedback

2013-10-29 Thread Robin Burchell
Hi, This is already known and tracked internally. It's due to behavioural changes we ran into when switching from Qt 4 to Qt 5. We will either fix this for all cases, or disable it completely for the time being in a future SDK update. BR, Robin On Tue, Oct 29, 2013 at 9:19 PM, Dmitry wrote: >

Re: [SailfishDevel] Problems porting our game to Sailfish - welcome any advice

2013-10-24 Thread Robin Burchell
Hi, You probably don't want to hear this, but please note that QtWidgets (which includes the QGraphicsView framework) is not really a supported configuration on Sailfish. It may work, it may not. If it breaks, you probably get to keep the pieces. Even if it does work, you should keep in mind that

Re: [SailfishDevel] MeeGo runtime support in Sailfish

2013-10-24 Thread Robin Burchell
Hi, On Thu, Oct 24, 2013 at 6:27 AM, Tone Kastlunger wrote: > I noticed there is a "minimal" meego runtime in Saifish > (/usr/include/mlite5); > even tho I do not know the details about how MTheme & co could work under > Sailfish, are there any plans for an extensive meego runtime support? mlite

Re: [SailfishDevel] Application always active

2013-09-22 Thread Robin Burchell
Hi, > On 22. sep. 2013, at 13:19, Marcin Mielniczuk wrote: > I'm trying to utilze ApplicationWindow.applicationActive to set the cover > text. But the onApplicationActiveChanged signal isn't emitted, and the > applicationActive property is always true. Try Qt.application.active instead. applic

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Robin Burchell
On 9. aug. 2013, at 10:03, christopher.l...@thurweb.ch wrote: > BuildRequires: pkgconfig(QtCore) >= 4.7.0 > BuildRequires: pkgconfig(QtDeclarative) > BuildRequires: pkgconfig(QtContacts) > BuildRequires: pkgconfig(qdeclarative-boostable) > BuildRequires: pkgconfig(TelepathyQt5) > BuildRequires

Re: [SailfishDevel] Is there a bug tracker?

2013-08-07 Thread Robin Burchell
On 7. aug. 2013, at 12:53, christopher.l...@thurweb.ch wrote: > This always struck me as a little bit weak / weird. I would have thought that > a small team working hard on a fast developing project needs a bug tracking > tool just as much as any other, possibly even more so. We have one interna

Re: [SailfishDevel] DeclarativeWindowAttached: unsupported platform: "wayland"

2013-08-06 Thread Robin Burchell
On 5. aug. 2013, at 16:07, christopher.l...@thurweb.ch wrote: > DeclarativeWindowAttached: unsupported platform: "wayland" > > After my app (newly ported to Alpha 2) starts up this error appears twice. So > far I have no clue what is causing it. Ignore it. You aren't doing anything wrong, it's a

Re: [SailfishDevel] Wrong Qt version in package manager description?

2013-08-01 Thread Robin Burchell
Hi, On 2. aug. 2013, at 02:24, Ketil Kvifte wrote: > Have you been working too fast? To me it looks like the package manager > think it have Qt-5.0.2 installed, while the libraries themselves say > they come from the Qt-5.1.0 release. At the time the SDK was snapshotted, Qt 5.1 had not yet been

Re: [SailfishDevel] QGraphicsView support?

2013-04-18 Thread Robin Burchell
Hi, On Thu, Apr 18, 2013 at 7:06 PM, Duncan Waugh wrote: > Can anyone confirm is it possible to produce a Sailfish application > without using any QML, by sticking purely to QGraphicsView? Qt still supports QGraphicsView upstream, and from a technical perspective, it is a matter of "just" puttin