Ragnar Thomsen wrote:
> On Friday 14 September 2012 22:44:19 Bruce Dubbs wrote:
>> However QTDIR is in libdbusmenuqt, qca, polkit-qt, automoc4, phonon, and
>> akonadi.  It is mentioned at the end of the Starting KDE section, but
>> probably needs to be in the Qt section too.
>
> One way would be to set $QTDIR on the Qt page even if installing in /usr.
> This works, but might be overkill for people not installing KDE.
>
> I believe all the mentioned packages (which use $QTDIR) are only needed for
> KDE (not sure about libdbusmenuqt).
> So, another way would be to move these packages (amounts to libdbusmenuqt and
> qca) to the KDE core section and set $QTDIR on the KDE pre-installation page
> (if Qt is installed in /usr).

I think the easier way is to set it on the Qt page.  It only needs about 
a sentence of introduction.  Something like:

If you installed Qt in /usr, create an environment variable so other 
installation procedures can automatically refer to it:

cat > /etc/profile.d/qt.sh << EOF
QTDIR=/usr
export QTDIR
EOF

Make sure the variable is set in your current environment:

source /etc/profile.d/qt.sh

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to