author | Alex Gilkes <alex.gilkes@nokia.com> |
Mon, 11 Jan 2010 14:00:40 +0000 | |
changeset 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
SOURCES = main.cpp |
2 |
#! [0] |
|
3 |
CONFIG += opengl |
|
4 |
#! [0] |
|
5 |
||
6 |
#! [1] |
|
7 |
opengl { |
|
8 |
TARGET = application-gl |
|
9 |
} else { |
|
10 |
#! [1] #! [2] |
|
11 |
TARGET = application |
|
12 |
#! [2] #! [3] |
|
13 |
} |
|
14 |
#! [3] |
|
15 |
||
16 |
#! [4] |
|
17 |
CONFIG(opengl) { |
|
18 |
message(Building with OpenGL support.) |
|
19 |
} else { |
|
20 |
#! [4] #! [5] |
|
21 |
message(OpenGL support is not available.) |
|
22 |
} |
|
23 |
#! [5] |