[Marble-devel] Few Question about MarbleWidget in a Qt application in Visual Studio

M.Ozeau m.ozeau at gmail.com
Thu Aug 4 08:08:45 UTC 2011


I've got few questions, I wan't to use the MarbleWidget in a Qt application
in Visual Studio.

Did i have to compile the source myself with Visual Studio or the
marble-setup-1.1.0.exe for windows is enought to use it in a Qt application
in Visual Studio ?

I install marble-setup-1.1.0.exe for windows and find the include folders
with MarbleWidget.h in c:/programs files/KDE Marble/Include. Then I try to
use it like in this :
http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus

But i still got some link error :



So i try to build Marble with Visual like in this :

http://techbase.kde.org/Projects/Marble/WindowsCompiling

But i got a problem with the command :

cmake -G "NMake Makefiles" -DQTONLY=ON -DCMAKE_INSTALL_PREFIX=C:\marble-tmp
&& nmake && nmake install

got an error at

[ 53%] Building CXX object
src/lib/CMakeFiles/marblewidget.dir/MarblePlacemarkMo
del.obj
MarblePlacemarkModel.cpp
[ 53%] Building CXX object
src/lib/CMakeFiles/marblewidget.dir/GeoDataTreeModel.
obj
GeoDataTreeModel.cpp
C:\MarbleSource\src\lib\GeoDataTreeModel.cpp(388) : error C3861:
'beginResetMode
l': identifier not found
C:\MarbleSource\src\lib\GeoDataTreeModel.cpp(390) : error C3861:
'endResetModel'
: identifier not found
C:\MarbleSource\src\lib\GeoDataTreeModel.cpp(396) : error C3861:
'beginResetMode
l': identifier not found
C:\MarbleSource\src\lib\GeoDataTreeModel.cpp(398) : error C3861:
'endResetModel'
: identifier not found
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2.0\VC\bin\cl.exe' : return
code
'0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.

Any Help ?

thx a lot !

-- 
Cordialement MoZo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110804/842732a2/attachment.html>


More information about the Marble-devel mailing list