Subject: Re: CVS commit: pkgsrc/x11/qt4
To: Geert Hendrickx <>
From: Ian Zagorskih <>
List: tech-pkg
Date: 03/02/2006 15:55:54
> On Tue, Feb 28, 2006 at 02:01:15PM +0600, Ian Zagorskih wrote:
> > When you specify core, xml, sql etc dependency in your qmake project
> > file, it automatically adds correct include path like
> > $(QTDIR)/include/QtFoo.
> How do you (properly) add these dependencies?  As a workaround, I just
> manually added $(QTDIR)/include/Qt to the INCLUDEPATH in the project file
> (see pkgsrc/editors/texmaker/patches/patch-aa), but that is probably not
> how it *should* be done (it works fine though).

In your qmake project file just add required modules to QT option like "QT += 
sql" or "QT += xml" or "QT += opengl". Take a look at Qt4 examples and demos, 
they all doing this :)

// wbr