changeset 0 | 1918ee327afb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/src/snippets/qmake/configscopes.pro Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,23 @@ +SOURCES = main.cpp +#! [0] +CONFIG += opengl +#! [0] + +#! [1] +opengl { + TARGET = application-gl +} else { +#! [1] #! [2] + TARGET = application +#! [2] #! [3] +} +#! [3] + +#! [4] +CONFIG(opengl) { + message(Building with OpenGL support.) +} else { +#! [4] #! [5] + message(OpenGL support is not available.) +} +#! [5]