Hi,<br><br>I am working on a QML UI for Calligra [1], and its been good progress till now. It can load text documents and spreadsheets and navigate to different pages.<br>For this it uses a canvasItem which can be then put on a graphics view (in this case, the declarative view).<br>
<br>However, presentations seem to have a different way of working, if I try to use it the way I use words and tables [2] , it crashes with the backtrace at [3], mostly because KoPageApp tries to access its d->view, which does not exist as we are not using a QWidget based GUI.<br>
<br>What is the extra magic that I need to do here, any suggestions?<br><br>[1] <a href="http://quickgit.kde.org/?p=calligra.git&a=shortlog&h=refs/heads/mobile-qml-shantanu">http://quickgit.kde.org/?p=calligra.git&a=shortlog&h=refs/heads/mobile-qml-shantanu</a> <br>
[2] <a href="https://projects.kde.org/projects/calligra/repository/revisions/19d4a4b92e5461c922cc8d4f5a81e83f564c3297/entry/mobile/src/CanvasController.cpp#L98">https://projects.kde.org/projects/calligra/repository/revisions/19d4a4b92e5461c922cc8d4f5a81e83f564c3297/entry/mobile/src/CanvasController.cpp#L98</a> <br>
[3] <a href="http://paste.kde.org/13064/">http://paste.kde.org/13064/</a> <br><br>Cheers,<br clear="all"><br>-- <br><div><br></div>Shantanu Tushar (UTC +0530)<br><a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a><br>