diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | charts.pro | 4 | ||||
-rw-r--r-- | doc/src/gettingstarted.qdoc | 7 |
3 files changed, 14 insertions, 1 deletions
@@ -46,6 +46,10 @@ For release builds: For both builds qmake CONFIG+="debug_and_release build_all"; make +If you want to leave out demos and examples from the build you can use +the following config with qmake: + CONFIG+=nomake_demos_examples + If you want to install the libraries to your Qt library directory use: make install @@ -3,7 +3,9 @@ } TEMPLATE = subdirs -SUBDIRS = src plugins demos examples tests +SUBDIRS = src plugins +!nomake_demos_examples: SUBDIRS += demos examples +SUBDIRS += tests development_build: message('Development build') diff --git a/doc/src/gettingstarted.qdoc b/doc/src/gettingstarted.qdoc index d1b8fd5d..811606a3 100644 --- a/doc/src/gettingstarted.qdoc +++ b/doc/src/gettingstarted.qdoc @@ -33,6 +33,13 @@ 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. + Building without demos and examples: + \code + qmake CONFIG+=nomake_demos_examples + make + make install + \endcode + \bold {New project} Create a new project in a usual way and then add to your project's *.pro file following line: |