Incorrect Qt /usr install [Was Re: hurrah hurrah hurrah]

Dan Nicholson dbn.lists at gmail.com
Thu Jun 7 20:43:12 PDT 2007


On 5/28/07, Dan Nicholson <dbn.lists at gmail.com> wrote:
>
> Here's a patch which changes QTDIR to /usr/share/qt by making symlinks
> to ../../{bin,include/qt,lib} there. This comes from Paldo, and I've
> been using it for a while, too. The important fix here is that the
> headers are directly accessible in $QTDIR/include, which fixes the
> doxywizard case that Lefteris was having. I think it's more correct
> anyway since Qt wants to install into a dedicated directory and that's
> what the structure looks like in, e.g. /opt/qt.
>
> Two other changes here. First, the sed to remove $(QTDIR)/include and
> $(QTDIR)/lib is removed since it doesn't help anything. It's replace
> with an sed to make Qt not build with RPATH by removing the variable
> QMAKE_RPATH from qmake.conf. This makes the later `find' command
> unnecessary.

No one has complained, so I'm applying this for the Qt /usr install. I
also checked that this works with the kernel `make xconfig' (#1522). I
think this is the right thing to do, and Lefteris confirmed it fixes
the build for doxywizard.

--
Dan



More information about the blfs-dev mailing list