Hi Fabien
 
I have been trying to build with Qt creator but not having much luck. I get down to step 8
but can't generate the cmakecache.txt properly. As far as I can see I have followed the earlier steps verbatum and I have read the instructions for a cmakelists project which just says the same as what you have listed.
Any other clues?
 
Barry


Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44"    E 150' 56' 32"



 
> From: fabien.chereau@googlemail.com
> Date: Wed, 27 Jan 2010 22:12:31 +0100
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: [Stellarium-pubdevel] HOWTO: setup a build environment on win32
>
> I upgraded my development environment on windows (XP), and decided to
> start from scratch, and write what I do. I managed to compile and run
> Stellarium pretty quickly *without using the windows command line or
> msys* by following those steps.
>
> 1- Install a SVN command line client: CollabNet Subversion
> Command-Line Client works fine.
> 2- Download and install the last Qt 4.6.1 SDK (includes Qt libraries,
> Mingw, gdb, Qt Creator)
> 3- Download and install cmake 2.8
> 4- For Qt Creator/cmake to find the mingw environment you now need to
> add some directories to your path. Assuming you installed everything
> in the default location you should add in your path:
> C:\Qt\2010.01;C:\Qt\2010.01\qt\bin;C:\Qt\2010.01\mingw\bin;C:\Program
> Files\CMake 2.8\bin;C:\Qt\2010.01\mingw\lib;C:\Qt\2010.01\mingw\include
> You can edit your path in the "system property" dialog of windows (at
> least on XP). You need to (re)start Qt Creator after this.
> 5.1- Gettext: Download the "Complete package, except sources"
> installer from http://gnuwin32.sourceforge.net/packages/gettext.htm
> and install it in C:\Qt\2010.01\mingw\ It will install everything we
> need in the mingw environment.
> 5.2- libIconv: Download the "Complete package, except sources"
> installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm
> and install it in C:\Qt\2010.01\mingw\ It will install everything we
> need in the mingw environment.
> 5.3- zlib: Download the "Complete package, except sources" installer
> from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it
> in C:\Qt\2010.01\mingw\ It will install everything we need in the
> mingw environment.
> 6- Start Qt Creator and tell him where your svn.exe is in
> Tools/Options../Version Control/Subversion
> 7- Create a new project File/New File or Project/Version
> Control/Subversion Checkout, and give the following url:
> https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium
> and tell him to put in the directory of your choice: in my case, I
> created before C:\prog\ The checkout should create the stellarium
> directory in there
> 8- Once the source code is checked out, Qt Creator automatically
> detects a cmake-based project and launch the CMake Wizard. I tell him
> to build stellarium in C:\prog\stellarium\builds\qtcreator-build .
> Then run cmake using the MinGW target.
> 9- If everything went well, click on the "build all" button in Qt
> Creator, and wait that everything is build.
> 10- Finally, before running, got to "Projects/Run Settings/Show
> Details" and set the Working Directory to C:\prog\stellarium\
> 11- Run and enjoy :)
>
> Fabien
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel


Start searching NOW! Search for properties that match your lifestyle!