[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 as much above as header element height), links can be
clicked again

I validated the assumption by explicitly setting header height to zero.
Then everything is fine. Except that header is invisible certainly.

Best regards,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

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
wrote:

> Just what I was looking for. Thanks, Robin!
>
> Cheers,
> Artem.
>
>
> On Sat, Dec 7, 2013 at 12:50 AM, Robin Burchell 
> wrote:
>
>>  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 in your
>> project file for local builds.
>>
>>  On 06 Dec 2013, at 23:45, Artem Marchenko 
>> wrote:
>>
>>  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.
>>
>>  Best regards,
>> Artem.
>>
>>  --
>> Artem Marchenko
>> http://agilesoftwaredevelopment.com
>> http://twitter.com/AgileArtem
>>  ___
>> SailfishOS.org Devel mailing list
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>



-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

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 wrote:

>  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 in your
> project file for local builds.
>
>  On 06 Dec 2013, at 23:45, Artem Marchenko 
> wrote:
>
>  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.
>
>  Best regards,
> Artem.
>
>  --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>  ___
> SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list
>



-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

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 in your 
project file for local builds.

On 06 Dec 2013, at 23:45, Artem Marchenko 
mailto:artem.marche...@gmail.com>> wrote:

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.

Best regards,
Artem.

--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[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.

Best regards,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

[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 Item as root element.

Same problem to get it in 'Page'.
Possibly there is already a Sailfish 'OpenGL Under QML'?
Thanks.
___
SailfishOS.org Devel mailing list


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  
supported sometime soon by Sailfish / Jolla Harbour).


Some of the bits that have been moved have also had quite a bit of  
rejigging. So for instance Location is now split into Location and  
Positioning, some of the elements have become metatypes etc.


Contacts - at least via QML seems to be less stable than it was with  
Qt4.8 / Mobility (e.g. filtering is not working, and probably won't be  
fixed until 5.3).


Messaging has completely died, but the functionality can be accessed  
via Telepathy.


Let us hope that this functionality stabilises soon. If Qt wants to  
become the defacto multi-platform toolkit for mobiles, then it needs  
to offer stable mobile functionality that works on Sailfish, Android,  
BB10, IOS et al.


m.f.g

Chris


Zitat von "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 it's blacklisted atm.


Gabriel.



--



Von meinem Nokia N9 gesendet



Jukka Heikkilä schrieb am 06.12.13 10:17:
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 thing
which will restricts to put my app in the store?

I'm a little bit confused with these things now. If someone could help me
back to track ;)

Regards,
Jukka Heikkilä


2013/12/5 Lorn Potter 


Hi,
It depends on if you want your app in the store or not.
You could use QtDbus to query the connman and ofono interfaces, much like
connman-qt and libqofono to get this information.

If you don't mind not being in the store, QtSystemInfo's QtNetworkInfo is
on the device, or you could use libconnman-qt and libqofono themselves.

Hope this helps!


On 05/12/2013, at 10:40 PM, Jukka Heikkilä  wrote:

> Hi,
>
> I'd like to get some cellular network information to my app. Is there
this kind of class like in Harmattan's QSystemNetworkInformation (
http://harmattan-dev.nokia.com/docs/library/html/qtmobility/qsystemnetworkinfo.html)?
I'm looking forward to get Cell ID  etc. information.
>
> I'm quite new with Qt so I hope some of you could provide my a short
example if there is a solution to get that kind of information.
>
> Regards,
> Jukka
> ___
> SailfishOS.org Devel mailing list

Lorn Potter
QtSensors/ Connectivity
llornkcor technologies / Jolla Mobile

___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list





___
SailfishOS.org Devel mailing list


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

2013-12-06 Thread Marcin M.
I mean: use plain Qt, get Silica look&feel. Just like on Fremantle: you use
Qt, but get the gtk theme look & feel.

--
Marcin


2013/12/6 Wim de Vries 

>  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 unsupported and buggy meegotouch-qt-style) would be great too!
>
> Do you mean QML or QWidgets look&feel?
>
>
>
>  --
> Marcin
>
>
> 2013/12/5 Filip Kłębczyk 
>
>> W dniu 05.12.2013 13:30, Sven Putze pisze:
>>
>>  Hi,
>>>
>>> if such an example exists, I could make templates from them. I am sure
>>> that the folks at Jolla would integrate them ;-)
>>>
>>
>>  That's the community spirit! Thanks Sven!
>>
>>
>> Regards,
>> Filip
>>
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
>
> ___
> SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

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

2013-12-06 Thread Javier Romero
Artem, interesting... how can I help?
Regards,





*Javier Romero*



2013/12/6 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 repositories actually contain a lot packages already built for
> ARM and 100% usable by Jolla device, so you don't need to build anything,
> just clever packaging and boilerplate wiring code should be good enough
>
> **Let's do it**
> So why wouldn't a cool hacker do an example of how to pull a package from
> Mer repo (e.g.qt5-qtdeclarative-systeminfo or qt5-qtgraphicaleffects),
> package it to your app and use from QML?
>
> We could then put the instructions and final example to HelloWorld Pro
> https://github.com/amarchen/helloworld-pro-sailfish or some completely
> new demo project.
>
> Any volunteers?
>
> Cheers,
> Artem.
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

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 wrote:

> 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 instructions would be very welcome.
> >
> > I did not succeed yet. Anybody tried?
>
> This may help:
>
> https://wiki.merproject.org/wiki/Sailfish_SDK_Hacks
>
> David
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] QWindow in main?

2013-12-06 Thread Wim de Vries

On 12/06/2013 12:30 PM, Robin Burchell wrote:

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. 
QWindow is only useful for the case where you want to do all drawing yourself.

See http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html for 
an example of how this might work (pay particular attention to the Squircle 
class)

Ok. Thanks.
I'll have a try first (before porting my QWidget app).
Looks very QML controlled, need to make a C++ hookin to take over control.




BR,
Robin
___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list


[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 repositories actually contain a lot packages already built for
ARM and 100% usable by Jolla device, so you don't need to build anything,
just clever packaging and boilerplate wiring code should be good enough

**Let's do it**
So why wouldn't a cool hacker do an example of how to pull a package from
Mer repo (e.g.qt5-qtdeclarative-systeminfo or qt5-qtgraphicaleffects),
package it to your app and use from QML?

We could then put the instructions and final example to HelloWorld Pro
https://github.com/amarchen/helloworld-pro-sailfish or some completely new
demo project.

Any volunteers?

Cheers,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
___
SailfishOS.org Devel mailing list

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 de Vries wrote:

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 recommend *not* subclassing QQuickView (since then you won’t 
get some of the performance enhancements on startup that 
libsailfishapp provides when you use createView and so on), but if 
you absolutely *must* subclass QQuickView, then just don’t use 
createView, and subclass QQuickView directly (& new it yourself).
Well, that means moving all C++ callback functions out of my inherited 
QQuickview ;-(

Just to be sure, will
SailfishApp::createView()
return a QQuickView pointer ?
I need to set
returnedQQuickViewPointer->rootContext()->setContextProperty("myNewCPP", 
myNewCPPclass );

Thanks.



BR,
Robin

On 06 Dec 2013, at 11:58, Wim de Vries  wrote:


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?
thanks.
wim

___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


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 recommend *not* subclassing QQuickView (since then you won’t get some of 
the performance enhancements on startup that libsailfishapp provides when you use 
createView and so on), but if you absolutely *must* subclass QQuickView, then just 
don’t use createView, and subclass QQuickView directly (& new it yourself).
Well, that means moving all C++ callback functions out of my inherited 
QQuickview ;-(

Just to be sure, will
SailfishApp::createView()
return a QQuickView pointer ?
I need to set
returnedQQuickViewPointer->rootContext()->setContextProperty("myNewCPP", 
myNewCPPclass );

Thanks.



BR,
Robin

On 06 Dec 2013, at 11:58, Wim de Vries  wrote:


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?
thanks.
wim

___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list


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 then you won’t get some 
of the performance enhancements on startup that libsailfishapp provides when 
you use createView and so on), but if you absolutely *must* subclass 
QQuickView, then just don’t use createView, and subclass QQuickView directly (& 
new it yourself).

BR,
Robin

On 06 Dec 2013, at 11:58, Wim de Vries  wrote:

> 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?
> thanks.
> wim
> 
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


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,

There were some changes in latest SDK. Both sailfishapplication.h and 
sailfishapplication.cpp were replaced. The intention was to simply things.


Now standard template uses sailfishapp.h. You can find sailfishapp.h in 
your SDK path (it's not visible in your project)


SailfishOS/mersdk/targets/SailfishOS-i486-x86/usr/include/sailfishapp/sailfishapp.h

I think Thomas Perl can tell you more as he is the contact person for 
newest application templates.


Regards,
Filip
___
SailfishOS.org Devel mailing list


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. 
QWindow is only useful for the case where you want to do all drawing yourself.

See http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html for 
an example of how this might work (pay particular attention to the Squircle 
class)

BR,
Robin
___
SailfishOS.org Devel mailing list


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 instructions would be very welcome.
> 
> I did not succeed yet. Anybody tried?

This may help:

https://wiki.merproject.org/wiki/Sailfish_SDK_Hacks

David

___
SailfishOS.org Devel mailing list


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

2013-12-06 Thread Wim de Vries

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?
thanks.
wim

___
SailfishOS.org Devel mailing list


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 wrote:

>  Hello,
>
> Currently (SDK tagged as 1310) is not capable of doing device deployment.
> What we are testing right now is a SDK that allows you to create a valid
> device in Qt Creator and deploy to that directly from Qt Creator's UI.
> There are couple little quirks still remaining but we're working on them.
>
> Hopefully we can push it out really soon.
>
> thanks, Jarko
>
>  --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Seppo Tiainen [
> seppo.tiai...@gmail.com]
> *Sent:* Thursday, December 05, 2013 3:01 PM
> *To:* devel@lists.sailfishos.org
> *Subject:* [SailfishDevel] Connecting Jolla device to SDK
>
>   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 instructions would be very welcome.
>
>  I did not succeed yet. Anybody tried?
>
>  Seppo
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

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 it's blacklisted atm.


Gabriel.



--



Von meinem Nokia N9 gesendet



Jukka Heikkilä schrieb am 06.12.13 10:17:
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 thing
which will restricts to put my app in the store?

I'm a little bit confused with these things now. If someone could help me
back to track ;)

Regards,
Jukka Heikkilä


2013/12/5 Lorn Potter 

> Hi,
> It depends on if you want your app in the store or not.
> You could use QtDbus to query the connman and ofono interfaces, much like
> connman-qt and libqofono to get this information.
>
> If you don't mind not being in the store, QtSystemInfo's QtNetworkInfo is
> on the device, or you could use libconnman-qt and libqofono themselves.
>
> Hope this helps!
>
>
> On 05/12/2013, at 10:40 PM, Jukka Heikkilä  wrote:
>
> > Hi,
> >
> > I'd like to get some cellular network information to my app. Is there
> this kind of class like in Harmattan's QSystemNetworkInformation (
> http://harmattan-dev.nokia.com/docs/library/html/qtmobility/qsystemnetworkinfo.html)?
> I'm looking forward to get Cell ID  etc. information.
> >
> > I'm quite new with Qt so I hope some of you could provide my a short
> example if there is a solution to get that kind of information.
> >
> > Regards,
> > Jukka
> > ___
> > SailfishOS.org Devel mailing list
>
> Lorn Potter
> QtSensors/ Connectivity
> llornkcor technologies / Jolla Mobile
>
> ___
> SailfishOS.org Devel mailing list
>


___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list

[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.
___
SailfishOS.org Devel mailing list


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 thing
which will restricts to put my app in the store?

I'm a little bit confused with these things now. If someone could help me
back to track ;)

Regards,
Jukka Heikkilä


2013/12/5 Lorn Potter 

> Hi,
> It depends on if you want your app in the store or not.
> You could use QtDbus to query the connman and ofono interfaces, much like
> connman-qt and libqofono to get this information.
>
> If you don't mind not being in the store, QtSystemInfo's QtNetworkInfo is
> on the device, or you could use libconnman-qt and libqofono themselves.
>
> Hope this helps!
>
>
> On 05/12/2013, at 10:40 PM, Jukka Heikkilä  wrote:
>
> > Hi,
> >
> > I'd like to get some cellular network information to my app. Is there
> this kind of class like in Harmattan's QSystemNetworkInformation (
> http://harmattan-dev.nokia.com/docs/library/html/qtmobility/qsystemnetworkinfo.html)?
> I'm looking forward to get Cell ID  etc. information.
> >
> > I'm quite new with Qt so I hope some of you could provide my a short
> example if there is a solution to get that kind of information.
> >
> > Regards,
> > Jukka
> > ___
> > SailfishOS.org Devel mailing list
>
> Lorn Potter
> QtSensors/ Connectivity
> llornkcor technologies / Jolla Mobile
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

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

2013-12-06 Thread Wim de Vries

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 unsupported and buggy meegotouch-qt-style) would be great 
too!

Do you mean QML or QWidgets look&feel?



--
Marcin


2013/12/5 Filip K?e;bczyk >


W dniu 05.12.2013 13:30, Sven Putze pisze:

Hi,

if such an example exists, I could make templates from them. I
am sure that the folks at Jolla would integrate them ;-)


That's the community spirit! Thanks Sven!


Regards,
Filip

___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list