<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hello,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Yes I plan to use Marble or Google Maps (when QtWebKit will be available).</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I would like to use one of them as a background of QGraphicScene. </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I tried to compile Marble in my computer (I'm using Visual Studio 2005 with Qt 4.3), and I had the following error:</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">1- fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> I commented the line <FONT color=#0000ff size=2>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2><unistd.h> <FONT color=#000000>in the file GeoPolygon.cpp and the problem is resolved</FONT></FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=2>I created a small program to use Marble widget (just the main function)</FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT color=#0000ff size=2>
<P>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2><QApplication></FONT>
<P><FONT color=#a31515 size=2></P></FONT><FONT color=#0000ff size=2>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>"MarbleWidget.h"</P></FONT><FONT color=#0000ff size=2>
<P> </P>
<P>int</FONT><FONT size=2> main(</FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> argc, </FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> *argv[])</P>
<P>{ </P>
<P>QApplication app(argc, argv); </P>
<P></P>
<P>MarbleWidget mw;</P>
<P>mw.show();</P>
<P></P>
<P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> app.exec();</P>
<P> </P>
<P>}</P></FONT> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">With this code I had the error "c:\marble\marble\src\lib\GeoPoint.h(21) : error C2065: 'M_PI' : undeclared identifier"</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> I defined M_PI=3.1415 some where and the problem desapeared and the program compiles well.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">but when I tried to execute I had the following runtime error:</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=1>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>Cannot open file '', because: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>QFSFileEngine::open: No file name specified</FONT></P>
<P><FONT size=2>Couldn't find any maps! Exiting ... </FONT></P>
<P><FONT size=2>The program '[2780] test.exe: Native' has exited with code -1 (0xffffffff).</FONT></P>
<P> </P>
<P> </P>
<P><FONT size=3>Apparantly I have to specify a file name. I don't know what is it.</FONT></P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3>If you permit I have a comment about the instalation process: I was obliged to install cmake to be able to compile Marble. As a Qt based program, I expected to find a .pro file (so I can use qmake).</FONT></P></FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Best Regards,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Moez</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Message d'origine ----<BR>De : Torsten Rahn <torsten.rahn@credativ.de><BR>À : marble-devel@kde.org<BR>Envoyé le : Mercredi, 24 Octobre 2007, 16h28mn 05s<BR>Objet : Re: [Marble-devel] Qt based widget<BR><BR><BR>Hi,<BR><BR>> It is already has a Qt based widget. I have used it in one of my projects.<BR>> Although I have not completed the module in which marble is used; marble<BR>> widget itself is quite complete and usable.<BR><BR>I'd like to add that right now we don't guarantee a stable API (that's the <BR>reason for the future tense). A stable API is something we are heading for <BR>during the upcoming months (maybe sooner than, but no later than KDE 4.1).<BR><BR>In addition to the possibility to use Marble as a widget you can also <BR>integrate it into an application using either Qt Designer or as a KDE KPart <BR>(if the application that Marble
gets inserted into is a KDE application).<BR><BR>Do you have any plans to use Marble? If so, don't hesitate to ask further <BR>questions.<BR><BR>Torsten<BR><BR>> > There is an article in<BR>> > <A href="http://trolltech.com/company/tt/contents/issue-5/reusing" target=_blank>http://trolltech.com/company/tt/contents/issue-5/reusing</A> saying that<BR>> > Marble will be a Qt based widget, so it will be easy to integrate it in<BR>> > other applications.<BR>> ><BR>> > Could you, please, give me an indication of when this will be happen?<BR>> ><BR>> > Best regards,<BR>> > Moez<BR>> ><BR>> > ------------------------------<BR>> > Ne gardez plus qu'une seule adresse mail ! Copiez vos<BR>> > mails<<A href="http://www.trueswitch.com/yahoo-fr/" target=_blank>http://www.trueswitch.com/yahoo-fr/</A>>vers Yahoo! Mail<BR>> ><BR>> >
_______________________________________________<BR>> > Marble-devel mailing list<BR>> > <A href="mailto:Marble-devel@kde.org" ymailto="mailto:Marble-devel@kde.org">Marble-devel@kde.org</A><BR>> > <A href="https://mail.kde.org/mailman/listinfo/marble-devel" target=_blank>https://mail.kde.org/mailman/listinfo/marble-devel</A><BR><BR><BR><BR>-- <BR> Torsten Rahn<BR><BR> Tel.: 0 21 61 - 46 43 - 192<BR><BR>credativ GmbH, HRB Mönchengladbach 12080<BR>Hohenzollernstr. 133, 41061 Mönchengladbach<BR>Geschäftsführung: Dr. Michael Meskes, Jörg Folz<BR>_______________________________________________<BR>Marble-devel mailing list<BR><A href="mailto:Marble-devel@kde.org" ymailto="mailto:Marble-devel@kde.org">Marble-devel@kde.org</A><BR><A href="https://mail.kde.org/mailman/listinfo/marble-devel" target=_blank>https://mail.kde.org/mailman/listinfo/marble-devel</A><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </body></html>