<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Sylvain,<br>
<br>
On 21.05.2010 17:48, Sylvain Paré wrote:
<blockquote
cite="mid:AANLkTilk_LmvL1x_DZGQlSoKZnyRIeMQFFEDyKsC-6z9@mail.gmail.com"
type="cite">Yeah!!<br>
I works!<br>
Enfin... not completly..<br>
I mean I succeed to build and launch my libmarblewidget dependent
application without error/crash (at least not depending on marble :) )!!<br>
So here the trick : "mingw32-make <b>release</b>" !<br>
the release build does not return error when we launch it!<br>
<br>
</blockquote>
Both debug and release builds work for me, none of them too reliable
though. Sometimes crashing right at start, sometimes later, sometimes
never.<br>
<br>
<blockquote
cite="mid:AANLkTilk_LmvL1x_DZGQlSoKZnyRIeMQFFEDyKsC-6z9@mail.gmail.com"
type="cite">But!<br>
<br>
The marble widget in my app is just a black rectangle where right and
left clicks work as usual ( contextual menu etc)<br>
Like with the standalone marble application => NO map! instead of
being blue it is black...<br>
I think it is normal as it does not work in marble itself.<br>
So again : ANYONE having a clue??<br>
<br>
</blockquote>
Did you set a valid map theme on the MarbleWidget in your application?<br>
<br>
<blockquote
cite="mid:AANLkTilk_LmvL1x_DZGQlSoKZnyRIeMQFFEDyKsC-6z9@mail.gmail.com"
type="cite">One other thing :<br>
marble's widget do not show in Qt designer while the make install stage
did copy <br>
libMarbleWidgetPlugin.dll, libMarbleNavigatorPlugin.dll and
libLatLonEditPlugin.dll<br>
in C:\Qt\2010.02.1\qt\plugins\designer.<br>
(I added this path in Qtdesign even if it is a bit dumb but widgets
still missing)<br>
I don't know why..<br>
So for the Qt creator integration it is not stil here.<br>
<br>
</blockquote>
The libmarblewidget.dll and any other dependent dlls must be accessible
for QtCreator as well. Otherwise QtCreator/QtDesigner will get missing
symbols when loading the designer plugin and silently ignore it. When
you launch marble.exe, its dependent dlls are accessible for it because
they lie in the same folder. That's not the case for
QtCreator/QtDesigner.<br>
<br>
<blockquote
cite="mid:AANLkTilk_LmvL1x_DZGQlSoKZnyRIeMQFFEDyKsC-6z9@mail.gmail.com"
type="cite">Anyway step two, building a libmarblewidget application
passed!<br>
Here is the way (i will not put it on the techbase untill I don't see
openstreetmap map in my app):<br>
</blockquote>
Probably none of the plugins are loaded. Check the settings menu, any
plugins listed there? If the qnam networking plugin is not loaded, OSM
downloads don't happen and the map appears just blue (tile downloading
always fails).<br>
<br>
Regards,<br>
Dennis<br>
<br>
</body>
</html>