(addon for winseven) |
|||
| Line 18: | Line 18: | ||
##<code bash>cmake -G "MinGW Makefiles" -DQTONLY=ON -DCMAKE_BUILD_TYPE=Release ..</code> (add -DWITH_DESIGNER_PLUGIN=ON if you want the MarbleWidget Plugin ) | ##<code bash>cmake -G "MinGW Makefiles" -DQTONLY=ON -DCMAKE_BUILD_TYPE=Release ..</code> (add -DWITH_DESIGNER_PLUGIN=ON if you want the MarbleWidget Plugin ) | ||
##<code bash>mingw32-make</code> | ##<code bash>mingw32-make</code> | ||
| − | ##<code bash>mingw32-make install</code> | + | ##<code bash>mingw32-make install</code> (Note: if you are under Windows seven you must be root to install marble in the standard place. See [http://www.howtogeek.com/howto/windows-vista/run-a-command-as-administrator-from-the-windows-vista-run-box/ this] ) |
#Now if all went well you should find marble.exe in Program Files>marble> directory. | #Now if all went well you should find marble.exe in Program Files>marble> directory. | ||
Test it... Yeah! | Test it... Yeah! | ||
Tested with CMake 2.8.1, Qt sdk 2010.02.1 ( Qt 4.6.2 ; Qt Creator 1.3.1 ; MinGW 3.15 ; GCC4.4.0 ) and rev. 1128605 of marble | Tested with CMake 2.8.1, Qt sdk 2010.02.1 ( Qt 4.6.2 ; Qt Creator 1.3.1 ; MinGW 3.15 ; GCC4.4.0 ) and rev. 1128605 of marble | ||
This page present only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows.
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu/marble
cd build
cmake -G "MinGW Makefiles" -DQTONLY=ON -DCMAKE_BUILD_TYPE=Release .. (add -DWITH_DESIGNER_PLUGIN=ON if you want the MarbleWidget Plugin )
mingw32-make
mingw32-make install (Note: if you are under Windows seven you must be root to install marble in the standard place. See this )
Test it... Yeah!
Tested with CMake 2.8.1, Qt sdk 2010.02.1 ( Qt 4.6.2 ; Qt Creator 1.3.1 ; MinGW 3.15 ; GCC4.4.0 ) and rev. 1128605 of marble