diff options
author | Sarah Smith <sarah.j.smith@nokia.com> | 2012-04-18 12:06:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-01 04:00:14 +0200 |
commit | 8a226a608f04e71ce56a3d496fe4127dd4035858 (patch) | |
tree | e69f78779539e2b1ab0a5bdfd85d408ea275e324 | |
parent | 9afae597510b9f115dec9b5d2dcd9fb5f73c9764 (diff) |
Improve build doc.
Be more explicit about not building when you don't have privileges to
write into the Qt you're building against.
Task-number: QTBUG-25000
Change-Id: I9b95e4eca3d2a433a9da2b7aaffb111d12a342db
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
-rw-r--r-- | doc/src/qt3d-building.qdoc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/qt3d-building.qdoc b/doc/src/qt3d-building.qdoc index 1500b4eca..7c17928d4 100644 --- a/doc/src/qt3d-building.qdoc +++ b/doc/src/qt3d-building.qdoc @@ -80,6 +80,25 @@ it will place the libraries, headers and plugins into the correct position in the hosted Qt library, so that will need to be writable. + \bold{Note: Don't build Qt3D against binary package}. As just + explained, when building against a binary package Qt3D will try to + install itself \bold{during compile time} into the Qt against which + it is being compiled. It cannot do this if your current user + account does not have permissions to write there, which is generally + the case with binary packages, that install as root into the + standard system locations. + + In the case of Windows many do development in an account that + has Administrator privileges. This is not an endorsement of that + practice, but it does mean that Windows users developing this way do + not run into this problem. However in the case of Mac or Linux (or + more security conscious Windows developers) this won't work. For + advanced users you can try buiding with the package option turned on + by adding \c{CONFIG+=package} to the qmake line, and then run + \c{make install} as root. It is not recommended to run the whole + build as root. In summary, build against a source package or + against the SDK and it will just work. + Here's an example configure line you can use: \code $ mkdir -p $HOME/build/qt/4.8 && cd $HOME/build/qt/4.8 |