summaryrefslogtreecommitdiffstats
path: root/doc/src/development
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-08-24 12:59:41 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-08-24 12:59:41 (GMT)
commitb5379556beacdde7db9af561a294e8c8276e73e0 (patch)
tree7224468083117b2b302a9545ba1a7280a77947bc /doc/src/development
parent0847f34c977635d7d39f6947ad910d2abb0bd0ce (diff)
downloadQt-b5379556beacdde7db9af561a294e8c8276e73e0.zip
Qt-b5379556beacdde7db9af561a294e8c8276e73e0.tar.gz
Qt-b5379556beacdde7db9af561a294e8c8276e73e0.tar.bz2
Doc: Added info on ordered targets for VS to qmake manual
Task-number: QTBUG-11988 Reviewed-by: David Boddie
Diffstat (limited to 'doc/src/development')
-rw-r--r--doc/src/development/qmake-manual.qdoc23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/src/development/qmake-manual.qdoc b/doc/src/development/qmake-manual.qdoc
index 184a881..3e52c03 100644
--- a/doc/src/development/qmake-manual.qdoc
+++ b/doc/src/development/qmake-manual.qdoc
@@ -3234,6 +3234,29 @@
\snippet doc/src/snippets/code/doc_src_qmake-manual.pro 150
+ \section2 Ordered Targets and Visual Studio Solution Files
+
+ The \c ordered option is not supported for Visual Studio. The following list describes how
+ you can get around without it--dependencies are generated automatically if:
+
+ \list
+ \o 1a) There is a Lib/DLL project of which TARGET (the .lib is used and not the .dll)
+ is used on the link line of another project in your solution (you can modify the link
+ line with LIBS).
+
+ \o 1b) There is an Exe project of which TARGET is used in a custom
+ build-step of another project in your solution.
+
+ \o 2) You don't use paths in the TARGET variable (use DESTDIR/DLLDESTDIR for that),
+ e.g, TARGET=$(SOME_VARIABLE)/myLib, won't work.
+
+ \o 3) If you have a special location for your libs, you specify the -Lmy/library/path and
+ LIBS += mylib, instead of just using LIBS += my/library/path/mylib
+
+ \o 4) The leaf projects are created before you generate the solution file. (You can use the
+ recursive flag for qmake to do this, like "qmake -tp vc -r [yourproject.pro]"
+ \endlist
+
\target SYMBIAN_VERSION
\section1 SYMBIAN_VERSION