(add -DCMAKE_BUILD_TYPE=Release to fix the missing download process) |
|||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
This page present for only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows. | This page present for only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows. | ||
| Line 17: | Line 15: | ||
##create a build directory (mkdir build) | ##create a build directory (mkdir build) | ||
##<code bash>cd build</code> | ##<code bash>cd build</code> | ||
| − | ##<code bash>cmake -G "MinGW Makefiles" -DQTONLY=ON ..</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> | ||
#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 for 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
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