<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Any idea ?<br>
<br>
Is it simply possible to use Marble in a Qt Virtual Framebuffer with
Qt Embedded ?<br>
<br>
I think it should be, because I found this link on the Internet
<a class="moz-txt-link-freetext" href="http://wm161.net/2008/07/26/marble-under-qtembedded-linux/">http://wm161.net/2008/07/26/marble-under-qtembedded-linux/</a> . A
little bit old but it shows that Marble could run under Qt Embedded.<br>
<br>
I can't see what is the origin of the bug because I've no QThread or
QMutex in my application. It can only come from the compilation of
Marble...<br>
<br>
My Qt Embedded is configured like this:<br>
<blockquote><small>configure -embedded x86_64 -no-cups -no-nis
-depths 16,18 -qvfb -prefix
/usr/local/Trolltech/QtEmbedded-4.7.2 -glib -confirm-license
-qt-sql-sqlite<br>
</small></blockquote>
<br>
And I configure Marble to build against Qt like this:<br>
<blockquote><small>PATH=/usr/local/Trolltech/QtEmbedded-4.7.2/bin:$PATH
cmake -DQTONLY=ON ../marble_qvfb/</small><br>
</blockquote>
<br>
Regards,<br>
<br>
Jérémie SCHEER<br>
<br>
<br>
On 05/22/2012 04:13 PM, Jeremie Scheer wrote:
<blockquote cite="mid:4FBB9EF8.1000908@armadeus.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
I'm currently trying to use a Marble library built against <u>Qt
4.7.4 Embedded x86</u>.<br>
<br>
My application using Marble is built against the same Qt and is
running in a Qt Virtual Framebuffer with a QWS Server.<br>
<br>
In the Qt project file, I simply added : <i>LIBS = -lmarblewidget</i>
to link with Marble. And when running the application, I defined
the environment variable <i>LD_LIBRARY_PATH=/usr/local/lib</i>
where Marble libraries are installed.<br>
<br>
The problem is : when I run the application, before any
instruction can be executed, it crashes on :
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" font-family:'Monospace'; font-size:9pt;
color:#be1414;">QMutex::lock: Deadlock detected in thread
0x7f1fe30bb740 </span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
Here is my application code :<br>
<blockquote><small>#include <QtGui/QApplication><br>
#include <marble/MarbleWidget.h><br>
#include <marble/MarbleModel.h><br>
#include <marble/global.h><br>
#include <QWSServer><br>
<br>
using namespace Marble;<br>
<br>
int main(int argc, char** argv)<br>
{<br>
QApplication app(argc,argv);<br>
QWSServer *sw = QWSServer::instance ();<br>
<br>
// Create a Marble QWidget without a parent<br>
MarbleWidget *mapWidget = new MarbleWidget();<br>
<br>
// Load the OpenStreetMap map<br>
mapWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");<br>
mapWidget->setProjection(Mercator);<br>
<br>
mapWidget->show();<br>
<br>
return app.exec();<br>
}</small><br>
</blockquote>
<br>
If I build the same application (without the QWS Server) and
Marble against Qt x86, it works well.<br>
<br>
Is there anything I did wrong with Qt Embedded ?<br>
<br>
Thanks,<br>
<div class="moz-signature">-- <br>
Jérémie Scheer<br>
Software Engineer<br>
Tel: +33 (0)9 72 29 41 44<br>
Fax: +33 (0)9 72 28 79 26<br>
ARMadeus Systems - A new vision of the embedded world<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.armadeus.com">http://www.armadeus.com</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Marble-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/marble-devel">https://mail.kde.org/mailman/listinfo/marble-devel</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Jérémie Scheer<br>
Software Engineer<br>
Tel: +33 (0)9 72 29 41 44<br>
Fax: +33 (0)9 72 28 79 26<br>
ARMadeus Systems - A new vision of the embedded world<br>
<a class="moz-txt-link-freetext" href="http://www.armadeus.com">http://www.armadeus.com</a></div>
</body>
</html>