Re: [SailfishDevel] Page Status code

2014-02-12 Thread christopher . lamb
Hi CDW I also use onStatusChanged with no problems. Is it possible that the event is being called earlier than you expect? (e.g. during app startup?) I would put a console.log in the onStatusChanged handler - outside the if: onStatusChanged: { console.log("Page XXX: onStatusChanged: statu

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

2014-02-12 Thread Kalle Vahlman
2014-02-12 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. The other quest

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 - https://sailfishos.org/sailfish

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 what

[SailfishDevel] Page Status code

2014-02-12 Thread Chris Walker
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 - https://sailfishos.org/sailfish-silica/qml-sailfishsilica-page.html but it

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 st

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 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 p

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] 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 QDBusInterface("org.nemomob

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Attila Csipa
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 (which would make it just "CONFIG += feedback", right?) but it

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread . .
Hahahahahhaah. *Beer* for you :) Thanks! Date: Wed, 12 Feb 2014 20:49:43 +0600 From: coderusin...@gmail.com To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] undefined symbols because there are no qt5 config for Qt0Feedback, but pkgconfig did the magic with includ

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
because there are no qt5 config for Qt0Feedback, but pkgconfig did the magic with including libraries :) don't ask me why, i resolved that trouble myself in the past, and Qt0Feedback thing is suspicious too :D On 12.02.2014 20:47, . . wrote: That did it! Why does this work while CONFIG += Q

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread . .
That did it! Why does this work while CONFIG += Qt0Feedback doesn't? I would expect CONFIG += Qt0Feedback to work... Date: Wed, 12 Feb 2014 20:45:36 +0600 From: coderusin...@gmail.com To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] undefined symbols try with

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
try with CONFIG += link_pkgconfig PKGCONFIG += Qt0Feedback 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] 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? Date:

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 sym

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 i

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

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

2014-02-12 Thread Andrey Kozhevnikov
QDBusInterface *iface = new QDBusInterface("org.nemomobile.lipstick, "/org/nemomobile/lipstick/screenshot", "org.nemomobile.lipstick", QDBusConnection::sessionBus(), this); iface->call(QDBus::NoBlock, "saveScreenshot", "/home/nemo/Pictu

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread Andrey Kozhevnikov
Qt0Feedback On 12.02.2014 20:31, . . wrote: You mean to include Qt0Feedback in CONFIG or QtFeedback? Date: Wed, 12 Feb 2014 20:11:20 +0600 From: coderusin...@gmail.com To: devel@lists.sailfishos.org Subject: Re: [SailfishD

Re: [SailfishDevel] undefined symbols

2014-02-12 Thread . .
You mean to include Qt0Feedback in CONFIG or QtFeedback? Date: Wed, 12 Feb 2014 20:11:20 +0600 From: coderusin...@gmail.com To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] undefined symbols its Qt0Feedback in CONFIG of .pro file as far i remember. On 12.0

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 bl

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.

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

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

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)));

[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] 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/ 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, Sim

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 communicates

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

2014-02-12 Thread Timur Kristóf
We talked about this at the FOSDEM community roundtable. While no specific solution was chosen, several alternatives and points of consideration came up. I posted the stuff to together so we can continue the discussion online: https://together.jolla.com/question/27052/roundtable-discussion-jolla-h

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

2014-02-12 Thread Reto Zingg
Hi, On 12.02.2014 11:41, Thomas Perl wrote: Hi, On 2014-02-10 20:27, Iosif Hamlatzis wrote: I have a couple of questions using the IDE, I would like to inform that I'm developing on Windows and my games use extensively SDL with OpenGL ES. As I don't use Qt I tried to create a plain c++ projec

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

2014-02-12 Thread Thomas Perl
Hi, On 2014-02-10 20:27, Iosif Hamlatzis wrote: I have a couple of questions using the IDE, I would like to inform that I'm developing on Windows and my games use extensively SDL with OpenGL ES. As I don't use Qt I tried to create a plain c++ project and I tried both options using either qma

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 woul

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)