Michael Schwendt wrote:
If you control the value of $QTDIR, you also control what $QTDIR/include
contains (or points to). I still don't understand where you need root
access when you would point $QTDIR to $(pwd)/foo or a other place
below $RPM_BUILD_DIR
Because in order for the system to compile at all, $QTDIR HAS to point
at /usr/lib/qt4. Otherwise the system will incorrectly find the Qt3
versions of the Qt tools (qmake, etc.) and error out. However, there is
no link from /usr/lib/qt4/include to /usr/include, so the system can't
find the headers. The system, as I said before, is set up on the
assumption that everything related to Qt is installed in one folder.
This is normal if you download the source directly from Trolltech's
website and compile it yourself, but not if you install it via package
because of the FHS. Hence my comment that this is catering to the
Windows users (because they'd be in this situation 100% of the time,
whereas Mac/Linux/Solaris/BSD users would not).
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list