<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><DIV>Hello Marble developpers,</DIV> <DIV> </DIV> <DIV>I try to compile and execute HelloMarble in QML with Qt5 (and so, QtQuick 2.0) but when I execute it (the compilation has been done fine), I have a message about thread parent's attibution errors and the program quit in the QQuickView::setSource (equivalent in Qt4 for QDeclarativeView::setSource() ).</DIV> <DIV> </DIV> <DIV>I don't really know if it's a problem in previous compilation configuration (sources git, cmake argument, mingw, plugin import etc...) but maybe this will be impoved in the next release of Marble (1.7).</DIV> <DIV> </DIV> <DIV>I forward my last request for more details about all the configuration and the steps I followed.</DIV> <DIV> </DIV> <DIV>Thanks for your attention,</DIV> <DIV> </DIV> <DIV>Regards</DIV> <DIV> </DIV> <DIV> <DIV>Olivier</DIV> <DIV>_______________________________________<BR></DIV></DIV> <DIV> </DIV> <DIV style="PADDING-LEFT: 5px"><FONT size=2 face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"> <DIV style="BORDER-LEFT: black 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV>Hello,</DIV> <DIV> </DIV> <DIV>After used a very simple release of Marble (HelloMarble like) inside a navigation project and in QML 1.1 with Qt4.8.5, I've decided to update my entire application to QML 2.0 and Qt5.1.1. The aim is to take advantage of haptics and other new possibilities of this wonderful API (just before Qt Creator 3.0 and Qt5.2 official releases).</DIV> <DIV> </DIV> <DIV>For QML 1.1, it's OK but when I try the hellomarble example in QML 2.0, everything compiles fine but I've a problem at the execution : I have a black screen, and without the particular cursor (the hand) </DIV> <DIV> </DIV> <DIV>Here are the details (which can help) :</DIV> <DIV> </DIV> <DIV><U>Configuration</U></DIV> <DIV>Windows 8.0 64 bits  Qt5.1.1    CMake 2.8.12  (for compilation)     MinGW4.8 32 bits    qmake (for my project)</DIV> <DIV> </DIV> <DIV><U>For the compilation :</U> </DIV> <DIV> - I began with a good old post :  <A href="http://forum.kde.org/viewtopic.php?f=217&t=110904" target=_blank>http://forum.kde.org/viewtopic.php?f=217&t=110904</A> </DIV> <DIV> - I dit the "git checkout qt5" (in addition of "git clone <!-- m --><A class=postlink href="git://anongit.kde.org/marble.git" target=_blank><FONT color=#0068c6>git://anongit.kde.org/marble.git</FONT></A><!-- m -->" and "cd marble")</DIV> <DIV> - updated the CMake release to the 2.8.12 (Otherwise, the compilo thinks working in an older version of Qt)</DIV> <DIV> - don't forget to put the -DQT5BUILD=TRUE argument for CMake to specify I want to compile under Qt5</DIV> <DIV> - Proceed to the make install with the windows batch in administrator (in the build folder of Marble : right click on :\Windows\System32\cmd.exe and : "run as administrator")</DIV> <DIV> </DIV> <DIV><U>For the execution</U></DIV> - Change the qmldir file to put the lib* prefix so as make the link with the dll plugin (because compiled with MinGW)  <DIV> - add the QQuickView::QQmlEngine::addImportPath towards the plugin folder (the qmldir folder)</DIV> <DIV> - add include and lib path to the .pro file (for includes, marblewidget.dll and libMarbleDeclaractivePlugin.dll)</DIV> <DIV> </DIV> <DIV>Here are the warnings I have at the execution :</DIV> <DIV> </DIV> <DIV><EM>QObject: Cannot create children for a parent that is in a different thread.</EM></DIV> <DIV><EM>(Parent is MarbleDeclarativePlugin(0x1d34410), parent's thread is QThread(0x1ceeb08), current thread is QThread(0x1ce74c8)</EM></DIV> <DIV><EM>QWidget: Cannot create a QWidget without QApplication</EM></DIV> <DIV> </DIV> <DIV>N.B. Note that the entire Marble Qt software works well (in C++ Qt) but not my simple hellomarble. </DIV> <DIV> </DIV> <DIV><U>My Theories</U></DIV> <DIV>- Maybe I have to use another particular branch of git (strange)</DIV> <DIV>- Maybe the declarative part is not completely developped (The final commit has been done on the 10/30/2013 so I don't think so : review request <A href="https://imail.akka.eu/r/113392/" target=_blank>#113392</A>)</DIV> <DIV>- Something is going wrong with the configuration : it uses sources for Qt4 when I want to test helloMarble so it could be an install problem (why not)</DIV> <DIV>- I missed something (very possible)</DIV> <DIV> </DIV> <DIV>If someone see something, don't hesitate to post it but in all cases, I will continue to look for the solution and if I have any element, I will post it !</DIV> <DIV> </DIV> <DIV>Thanks for the attention to this "very" long request.</DIV> <DIV> </DIV> <DIV>Regards,</DIV> <DIV> </DIV> <DIV>Olivier</DIV></DIV> <DIV style="BORDER-LEFT: black 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">_______________________________________<BR></DIV></FONT></DIV> <DIV>_______________________________________<BR><BR><I><SMALL><BR>L'intégrité de ce message n'étant pas assurée sur internet, AKKA TECHNOLOGIES et ses filiales ne peuvent être tenues responsables de son contenu. Ce message et les éventuels fichiers attachés contiennent des informations confidentielles. Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. <BR><BR><BR><BR>This message and the files that may be attached to it contain confidential information. AKKA TECHNOLOGIES or its subsidiaries may not be held responsible for their contents, whose accuracy and completeness cannot be guaranteed over the internet. If the message is not addressed to you, kindly delete it and notify the sender. Any use of this message not in accordance with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.<BR><BR></I></SMALL><BR>________________________________________<BR></DIV></font>