@@ -46,6 +46,10 For release builds: | |||||
46 | For both builds |
|
46 | For both builds | |
47 | qmake CONFIG+="debug_and_release build_all"; make |
|
47 | qmake CONFIG+="debug_and_release build_all"; make | |
48 |
|
48 | |||
|
49 | If you want to leave out demos and examples from the build you can use | |||
|
50 | the following config with qmake: | |||
|
51 | CONFIG+=nomake_demos_examples | |||
|
52 | ||||
49 | If you want to install the libraries to your Qt library directory use: |
|
53 | If you want to install the libraries to your Qt library directory use: | |
50 | make install |
|
54 | make install | |
51 |
|
55 |
@@ -3,7 +3,9 | |||||
3 | } |
|
3 | } | |
4 |
|
4 | |||
5 | TEMPLATE = subdirs |
|
5 | TEMPLATE = subdirs | |
6 |
SUBDIRS = src plugins |
|
6 | SUBDIRS = src plugins | |
|
7 | !nomake_demos_examples: SUBDIRS += demos examples | |||
|
8 | SUBDIRS += tests | |||
7 |
|
9 | |||
8 | development_build: message('Development build') |
|
10 | development_build: message('Development build') | |
9 |
|
11 |
@@ -33,6 +33,13 | |||||
33 |
|
33 | |||
34 | Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions. |
|
34 | Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions. | |
35 |
|
35 | |||
|
36 | Building without demos and examples: | |||
|
37 | \code | |||
|
38 | qmake CONFIG+=nomake_demos_examples | |||
|
39 | make | |||
|
40 | make install | |||
|
41 | \endcode | |||
|
42 | ||||
36 | \bold {New project} |
|
43 | \bold {New project} | |
37 |
|
44 | |||
38 | Create a new project in a usual way and then add to your project's *.pro file following line: |
|
45 | Create a new project in a usual way and then add to your project's *.pro file following line: |
General Comments 0
You need to be logged in to leave comments.
Login now