Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread David Greaves
Correct David On 12/02/14 06:46, Andrey Kozhevnikov wrote: using Qt DBus classes and not use system() call? On 12.02.2014 12:08, itviewer wrote: Dear all, I need the screen capture function in my application . There are two applications (screenshot and opensource sailshotme) in the

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-12 Thread Thomas Perl
Hi, On 2014-02-11 21:15, Dietmar Schwertberger wrote: I tried my Maemo/Fremantle app without a theme. As I would like to stay compatible to Maemo and Windows, I would prefer the QtWidgets solution for some time. Even if you were to use QtWidgets (which I strongly suggest not using), you

Re: [SailfishDevel] Question regarding porting SDL OpenGL game to Sailfish

2014-02-12 Thread Iosif Hamlatzis
Are there many SDKs? The one I've installed is from https://sailfishos.org/index.html and specifically the Windows version ( http://releases.sailfishos.org/sdk/installers/1312/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe ) I'm using the IDE that is installed so I don't know how it

Re: [SailfishDevel] Adding repository to MerSDK target failed - no packages visible - HELP!

2014-02-12 Thread Simon Bolek
well, wasn't it obvious? http://releases.merproject.org/releases/0.20130605.1/builds/i486/packages/http://releases.merproject.org/releases/0.20130605.1/builds/i586/packages/ did the trick. now i can build apps against 4.8.3 in QtCreator, yuppi! cheers simon On Tue, Feb 11, 2014 at 2:40 PM,

[SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-12 Thread Sylvain B .
Hello,QNetworkAccessManager does not behave like in Harmattan: when you were triggering a request while not connected to Internet, the Select Internet connection dialog was showing, and the request was waiting for the device to connect to the Internet.In Sailfish, triggering a request when the

Re: [SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-12 Thread Andrey Kozhevnikov
manager = new QNetworkConfigurationManager(this); connect(manager,SIGNAL(onlineStateChanged(bool)), this,SLOT(networkStatusChanged(bool))); connect(manager,SIGNAL(configurationChanged(QNetworkConfiguration)), this,SLOT(networkConfigurationChanged(QNetworkConfiguration)));

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-12 Thread Attila Csipa
On 12/02/14 12:36, Timur Kristóf wrote: I posted the stuff to together so we can continue the discussion online: https://together.jolla.com/question/27052/roundtable-discussion-jolla-harbour-apis/ My personal advice is - don't overthink it. The bottom line/driver is the user experience.

[SailfishDevel] undefined symbols

2014-02-12 Thread . .
help needed. new to Qt and Sailfish development (but not new to C++) does anyone know how i can build a console application for Sailfish that uses Qt? i only want to use certain Qt classes with no UI.i must be missing something in my .pro file as the compiler is complaining about unresolved

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
its Qt0Feedback in CONFIG of .pro file as far i remember. On 12.02.2014 20:06, . . wrote: help needed. new to Qt and Sailfish development (but not new to C++) does anyone know how i can build a console application for Sailfish that uses Qt? i only want to use certain Qt classes with no UI.

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread itviewer
My code just like: QDBusMessage message = QDBusMessage::createMethodCall(org.nemomobile.lipstick, /org/nemomobile/lipstick/screenshot, org.nemomobile.lipstick, saveScreenshot ); QDBusConnection conn = QDBusConnection::sessionBus(); conn.send(message); But it still block the

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread . .
My .pro file looks like this # The name of your app TARGET = TestVibraUI # C++ sources SOURCES += main.cpp # C++ headers HEADERS += QtFeedback/ # QML files and folders qml.files = *.qml pages cover main.qml # The .desktop file desktop.files = TestVibraUI.desktop # Please do not modify

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
INCLUDEPATH += /usr/include/qt5/QtFeedback instead of HEADERS += On 12.02.2014 20:32, . . wrote: My .pro file looks like this # The name of your app TARGET = TestVibraUI # C++ sources SOURCES += main.cpp # C++ headers HEADERS += QtFeedback/ # QML files and folders qml.files

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Attila Csipa
On 12/02/14 16:06, . . wrote: help needed. new to Qt and Sailfish development (but not new to C++) does anyone know how i can build a console application for Sailfish that uses Qt? i only want to use certain Qt classes with no UI. i must be missing something in my .pro file as the compiler

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread . .
Ok, fixed that and I am now using QCoreApplication (I used a template project previously). But I'm still getting those errors. How do I link with the haptics lib? Date: Wed, 12 Feb 2014 16:37:23 +0200 From: q...@csipa.in.rs To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] undefined

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
CONFIG not working? On 12.02.2014 20:40, . . wrote: Ok, fixed that and I am now using QCoreApplication (I used a template project previously). But I'm still getting those errors. How do I link with the haptics lib?

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread itviewer
thanks,I tried the code but it still block the UI . Do you test it and what is the result ? ma xinjun From: Andrey Kozhevnikov Date: 2014-02-12 22:33 To: devel Subject: Re: [SailfishDevel] How to get the screen capture but don't block UI QDBusInterface *iface = new

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread Andrey Kozhevnikov
result is screenshot in its location and my ui is not blocked. something wrong with your call. On 12.02.2014 21:17, itviewer wrote: thanks,I tried the code but it still block the UI . Do you test it and what is the result ?

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-12 Thread timur . kristof
Attila, you are totally right (in my opinion at least). Can you please post your opinion to the together thread so that those of us who don't read mailing lists can find it too? :) On Wed Feb 12 2014 14:06:16 GMT+0100 (CET), Attila Csipa wrote: On 12/02/14 12:36, Timur Kristóf wrote: I

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread Filip Kłębczyk
W dniu 12.02.2014 10:23, David Greaves pisze: Correct David On 12/02/14 06:46, Andrey Kozhevnikov wrote: using Qt DBus classes and not use system() call? I haven't used system() call just in case someone thinks I did ;-) Anyway if someone wants to improve the app I for sure accept any good

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-12 Thread Filip Kłębczyk
W dniu 12.02.2014 14:06, Attila Csipa pisze: My personal advice is - don't overthink it. The bottom line/driver is the user experience. Excellent post! The result was easy the predict - developers start to prefer OpenRepos than Harbour. Someone really overthinked the whole allowed API/libs

Re: [SailfishDevel] Page Status code

2014-02-12 Thread Andrey Kozhevnikov
it's still there and working. no idea what wrong with your setup On 13.02.2014 01:36, Chris Walker wrote: In the past (Harmattan code), I would have done this sort of stuff :- onStatusChanged: { if (status==PageStatus.Activating) { but there is no 'onStatusChanged' option now. So

Re: [SailfishDevel] Page Status code

2014-02-12 Thread Thomas Perl
On 2014-02-12 20:36, Chris Walker wrote: In the past (Harmattan code), I would have done this sort of stuff :- onStatusChanged: { if (status==PageStatus.Activating) { but there is no 'onStatusChanged' option now. So what do I use now? I've looked here -

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-12 Thread Kalle Vahlman
2014-02-12 Filip Kłębczyk fklebc...@gmail.com: W dniu 12.02.2014 14:06, Attila Csipa pisze: My personal advice is - don't overthink it. The bottom line/driver is the user experience. Excellent post! The result was easy the predict - developers start to prefer OpenRepos than Harbour. The