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

Dennis Nienhüser earthwings at gentoo.org
Thu Aug 4 08:17:31 UTC 2011


Hi,

you need at least Qt 4.6 to compile Marble. You've got Qt 4.5 or older.

Regards,
Dennis

On 04.08.2011 10:08, M.Ozeau wrote:
> 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
>
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel



More information about the Marble-devel mailing list