My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
QDevelop - A Development Environment for Qt4

(C) 2006 Jean-Luc Biord <jlbiord@qtfr.org>

Compiling using cmake
~~~~~~~~~~~~~~~~~~~~~

Since Version 0.20, it's possible to compile the application using cmake. Please
note that the official build tool for QDevelop is still qmake, and cmake it in
early beta stage.

The IDE cannot handle cmake projects yet, but this may change in the future.

You need to use cmake version 2.4.3 (2.4.0 and above shuold work, but only 2.4.3
and above have been tested). The compilation was tested under Linux, and on Win32
the compilation does work, but QDevelop loads up with a console window.

To build QDevelop, we need to create a new subdirectory to build off source, we call
cmake, and the finally make:

mkdir cbuild
cd cbuild
cmake -G "MinGW Makefiles" ../
make

Why using cmake?
~~~~~~~~~~~~~~~~

Quite frankly, qmake is nice, but it's a toy. You cannot set dependencies,
you cannot make conditional compile time switches (or at lest not in an automated
way, when packaging for example).

Using cmake, you also have a percentage which displays how much the compilation
is going on. The output is MUCH nicer: by default you do not see the
"gcc -c ..." messages, instead you see nice messages saying that the file is being
compiled (in color!).

- diego - diegoiast@gmail.com
Show details Hide details

Change log

r286 by diegoiast on Dec 08, 2007   Diff
 * sed -i
's/elcuco@kde.org/diegoiast@gmail.com/g'
resources/translations/*.ts
 * lupdate QDevelop.pro
 * lrelease QDevelop.pro
 * manual modifications to several TS
files
 * lrelease QDevelop.pro
 * more manual modifications to other
files

Go to: 
Project members, sign in to write a code review

Older revisions

r238 by cucomania on Sep 27, 2007   Diff
 * updated README.cmake, now contents
are more close to reality(tm). The
file now will get checked out with the
corresponding EOL type (different per
platform).
...
r216 by cucomania on Sep 10, 2007   Diff
fix for  issue 164 
r30 by cucomania on Oct 20, 2006   Diff
- synced in cmake support (project
builds, and loads, I still do not
trust the binary produced
by cmake).
- added documentation about building
...
All revisions of this file

File info

Size: 1334 bytes, 38 lines

File properties

svn:eol-style
native
Hosted by Google Code