<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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 class="moz-txt-link-freetext" href="http://www.armadeus.com">http://www.armadeus.com</a></div>
</body>
</html>