Subject: how to use qt3-libs?
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/31/2002 15:14:54
I am trying to build a package that needs QT3.

My Makefile has:
.include "../../x11/qt3-libs/"

The configure fails with:

configure:7000: rm -rf SunWS_cache; c++ -o conftest -O2
-I/usr/local/pkgsrc/my-p ackages/scribus/work/.buildlink/include
-I/usr/local/pkgsrc/my-packages/scribus/ work/.buildlink/include -O2
-fno-exceptions -fno-check-new -INO -I/usr/X11R6/inc lude
-DQT_THREAD_SUPPORT -I/usr/local/pkgsrc/my-packages/scribus/work/.buildlin
k/include -L/usr/local/pkgsrc/my-packages/scribus/work/.buildlink/lib
-Wl,-R/u sr/X11R6/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -LNONE
-L/usr/X11R6/lib con ftest.C -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE
-lpthread 1>&5
conftest.C:2: qglobal.h: No such file or directory
conftest.C:3: qapplication.h: No such file or directory
conftest.C:4: qcursor.h: No such file or directory
conftest.C:5: qstylefactory.h: No such file or directory
conftest.C:6: private/qucomextra_p.h: No such file or directory
conftest.C:8: #error 1

The scribus/work/.buildlink/include/ directory doesn't have those headers,
but they are all at /usr/X11R6/qt3/include/.

I don't see any examples of any other packages that use QT3, but several
that use qt1 and a few that use qt2.

Any ideas on what to add to my Makefile so it uses
-I/usr/X11R6/qt3/include ?


   Jeremy C. Reed