Re: [SailfishDevel] Cellular network information

2013-12-06 Thread Jukka Heikkilä
Hi again, I just wanted to make things clear on my head. I just read this: http://www.qtdeveloperdays.com/sites/default/files/presentation_pdf/qtdd-2012.pdf Is it so that with Jolla I can use Qt Mobility API's and to get network info I could use QSystemNetworkInformation class, but which is the

[SailfishDevel] QWindow in main?

2013-12-06 Thread Wim de Vries
Hi, I am trying to get sth working after the c++/openGL discussion. Some of you mentioned using QWindow. 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.

Re: [SailfishDevel] Cellular network information

2013-12-06 Thread Gabriel Böhme
In Qt 5.1, the QtMobility is split in different packages. On harbour.jolla.com/faq you'll find which packages are allowed to import/link against in Jolla Store. This is limited due to unstable APIs/ABIs. Your problem is, that for example QSystemInformation QML lib, could give what you need, but

Re: [SailfishDevel] Connecting Jolla device to SDK

2013-12-06 Thread Tone Kastlunger
Hi Jarko, thanks this is great stuff! I guess there is no ETA for this yet? Best, tortoisedoc On Thu, Dec 5, 2013 at 5:02 PM, Jarko Vihriala jarko.vihri...@jolla.comwrote: Hello, Currently (SDK tagged as 1310) is not capable of doing device deployment. What we are testing right now is a

Re: [SailfishDevel] Connecting Jolla device to SDK

2013-12-06 Thread David Greaves
On 05/12/13 13:01, Seppo Tiainen wrote: First, is the current Alpha2 QtCreator/SDK capable of connecting to the new Jolla phone through USB for testing apps under development? If yes, there are many parameters (Device type, Username/Password...) that need to be correctly set. Short

Re: [SailfishDevel] QWindow in main?

2013-12-06 Thread Robin Burchell
On 06 Dec 2013, at 10:32, Wim de Vries wsvr...@xs4all.nl 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

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

2013-12-06 Thread Filip Kłębczyk
W dniu 06.12.2013 11:58, Wim de Vries pisze: Hi, Just looking at the template and documentation of the latest SDK and found out that sailfishapplication.cpp and sailfishapplication.h were removed from the sources. I used to redefine them (using MyQQuickview etc.). Am I overlooking sth? Hi Wim,

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

2013-12-06 Thread Wim de Vries
On 12/06/2013 12:34 PM, Robin Burchell wrote: 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

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

2013-12-06 Thread Andrey Kozhevnikov
sure QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = SailfishApp::createView(); view-rootContext()-setContextProperty(view, view); view-setSource(SailfishApp::pathTo(qml/main.qml)); view-showFullScreen(); app-exec(); On 06.12.2013 18:50, Wim

[SailfishDevel] Packaging one of the standard Qt modules to be used for your app. Cool hackers out there?

2013-12-06 Thread Artem Marchenko
Hi All **Context** - Jolla Harbour lets you use a very limited set of modules. - But you are allowed to package whatever you like together with your app (though your still have to somehow use it in QML not as import QtSystemInfo 5.0, but as import harbour.MyApp.QtSystemInfo 5.0) - And Mer

Re: [SailfishDevel] Connecting Jolla device to SDK

2013-12-06 Thread Tone Kastlunger
Hi David, ssh-copy-id should work as well for deploying the key to device, or? best, tortoisedoc On Fri, Dec 6, 2013 at 1:30 PM, David Greaves david.grea...@jolla.comwrote: On 05/12/13 13:01, Seppo Tiainen wrote: First, is the current Alpha2 QtCreator/SDK capable of connecting to the new

Re: [SailfishDevel] Serious request: please let us use C++!

2013-12-06 Thread Marcin M.
I mean: use plain Qt, get Silica lookfeel. Just like on Fremantle: you use Qt, but get the gtk theme look feel. -- Marcin 2013/12/6 Wim de Vries wsvr...@xs4all.nl On 12/05/2013 06:41 PM, Marcin M. wrote: A style for plain Qt which would display with the native look feel (compare the

Re: [SailfishDevel] Cellular network information

2013-12-06 Thread christopher . lamb
Hi all Just to reinforce what Gabriel says: The functionality officially known as Qt Mobility died with Qt4.x, probably due to Nokia exiting stage left. However much, but not all of it has been moved into Qt 5.0 add-on modules, with varying levels of stability (and thus likeliness to be

[SailfishDevel] qml and opengl/c++

2013-12-06 Thread Wim de Vries
Hi, Some of you referred to the 'OpenGL Under QML' (http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html) example. I got the example working in Sailfish. Only one problem. It doesn't show up within 'ApplicationWindow'. I have to comment ApplicationWindow{} out and use the

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

2013-12-06 Thread Artem Marchenko
Hi All Does anybody know a way to share constants between .yaml and any other project file (preferably .pro, but any other way would do as well)? I sort of got tired to duplicate version numbers in .yaml and app's about dialog :) Writing app description in one place only would've been good too.

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] Sharing version number (and other constants?) between .yaml/spec, .pro and .cpp/.qml

2013-12-06 Thread Artem Marchenko
Just what I was looking for. Thanks, Robin! Cheers, Artem. On Sat, Dec 7, 2013 at 12:50 AM, Robin Burchell robin.burch...@jolla.comwrote: 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

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

2013-12-06 Thread Artem Marchenko
P.S. Oh well, super ideal version would pull tag from git into both .pro and .yaml, but I guess that is impossible without the custom scripts. On Sat, Dec 7, 2013 at 1:25 AM, Artem Marchenko artem.marche...@gmail.comwrote: Just what I was looking for. Thanks, Robin! Cheers, Artem. On

[SailfishDevel] Bug (serious one): Clicks inside SilicaWebView with header are.. translated as if clicks happened header.height pixels lower

2013-12-06 Thread Artem Marchenko
Hi there Quite a nasty bug for SilicaWebView users. 1. Create SilicaWebView with header e.g. as in https://github.com/amarchen/Wikipedia/blob/v0.2.1-5/src/qml/pages/MainWikipediaPage.qml 2. Try clicking links inside 3. See that links are not clicked. Try clicking above the links (approximately