Compiling qt packages in FC4

Problem:
I’ve tried to compile several packages that requires Qt 3 or higher and got quite annoyed every time the configure scripts started complaining

checking for Qt... configure: error:
Qt (>= Qt 3.0) (headers and libraries) not found.
Please check your installation!

even though I have installed qt-devel.

Reason:
In Fedora Core 4 the Qt libraries are found in /usr/lib/qt-3.3/ whilst most of the configure scripts will search for them in - let me quote the libopensync script (from the opensync project):

if test $kde_qtver = 3; then
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
fi

Solution:
As root type:

# ln -s /usr/lib/qt-3.3/ /usr/lib/qt3

or look into the ./configure --help file and set the proper --with-qt-dir= option variable. And, as I mentioned, don’t forget to install the qt-devel package:

# yum install qt-devel

4 Responses to “Compiling qt packages in FC4”

  1. Terje Says:

    Just export QTDIR:
    export QTDIR=/usr/lib/qt-3.3/ && ./configure

    You should avoid QT anyway, too ugly.
    GTK+ :-)

  2. Motoraway Says:

    Multisync for FC4:

    http://www.silfreed.net/download/repo/packages/multisync/

    Kan du gå over fra FC2 til FC4 nå?
    Du er den eneste med FC2, så det hadde vært fint.

    (Da har du noe og slukke paper-sorger med også…)

    - t

  3. t Says:

    Sånn X1 er for liten denne derimot:

    http://www.ray.no/Ferrari4000/Ferrari4000.htm

  4. Martin Says:

    Kuuult. Men multisync funker jo faen ikke - får installert, men plugin’ene kommer ikke opp…

    # rpm -qa multisync\*
    multisync-0.82-1
    multisync-plugin-backup-0.82-1
    multisync-plugin-irmc-bluetooth-0.82-1
    multisync-devel-0.82-1

    Når jeg legger til “sync-pair” så er listen over plugins tom.
    No go.

Leave a Reply