![]() |
2013-12-05
, 13:48
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#22
|
![]() |
2013-12-05
, 14:00
|
Posts: 50 |
Thanked: 100 times |
Joined on Jan 2012
@ Tampere, Finland
|
#23
|
This was a bug in the early SDK releases. Make sure you have the latest SDK.
See also: http://talk.maemo.org/showthread.php?t=91595
Note that I have no problems running this on device.
![]() |
2013-12-05
, 14:18
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#24
|
Could you elaborate a little.. What exactly is printed to console when you close the app by swiping down? Does the process really stay running?
![]() |
2013-12-05
, 15:20
|
Posts: 728 |
Thanked: 1,217 times |
Joined on Oct 2011
|
#25
|
I don't know what to tell you, then. All I can say is that it's working fine, and I'm fairly sure we already fixed this
![]() |
2013-12-06
, 11:01
|
Posts: 50 |
Thanked: 100 times |
Joined on Jan 2012
@ Tampere, Finland
|
#26
|
Is there any way to tell for certain the version of the SDK, aside from Alpha? (perhaps a git revision or similar?)
Alternatively, I suggest resintalling the SDK :-D
![]() |
2013-12-06
, 13:18
|
Posts: 50 |
Thanked: 100 times |
Joined on Jan 2012
@ Tampere, Finland
|
#27
|
Timer (and main loop) is still alive Timer (and main loop) is still alive Timer (and main loop) is still alive Timer (and main loop) is still alive Timer (and main loop) is still alive app->exec() exited - main loop stopped. This should NOT happen if user closed the window. But it does. Remote application finished with exit code 0.
![]() |
2013-12-18
, 15:54
|
Posts: 50 |
Thanked: 100 times |
Joined on Jan 2012
@ Tampere, Finland
|
#28
|
![]() |
2013-12-22
, 16:58
|
Posts: 3,464 |
Thanked: 5,107 times |
Joined on Feb 2010
@ Gothenburg in Sweden
|
#29
|
QGuiApplication *app = SailfishApp::application(argc, argv); app->setQuitOnLastWindowClosed(true); UDPManager *udp = new UDPManager(); QQuickView *view = SailfishApp::createView(); QObject::connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit())); view->rootContext()->setContextProperty("version", QString(VERSION)); view->rootContext()->setContextProperty("udp", udp); view->setSource(QString("/usr/share/harbour-push2sail/qml/push2sail.qml")); view->showFullScreen(); res = app->exec(); // stays here even when user swipe down and window closes delete app; delete udp; return res;
![]() |
2013-12-22
, 18:23
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#30
|
When you close the window, the mainloop exits and messages stop appearing.
Can anyone modify it so that after closing the window it still keeps running? Is current behavior a bug?