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