[swift-users] Build problems, Qt paths

Remko Tronçon remko at el-tramo.be
Tue Jul 12 22:28:45 CEST 2011


Hi Bernhard,

> The package libqt-devel has headers in
>  /usr/include/qt4/QtGui/qwsevent_qws.h
> and other stuff here
>  /usr/lib/libQtXmlPatterns.so
>  /usr/lib/pkgconfig/QtCore.pc
>  /usr/share/qt4/q3porting.xml

Other distributions such as debian also follow their own way of doing
Qt include headers in /usr/include, but Debian provides a softlinked
hierarchy in /usr/share/qt4 for example.

You could try creating such a hierarchy yourself, using 'ln' and 'lndir', e.g.
   mkdir -p myqt4/include
   lndir /usr/include/qt4/QtGui myqt4/include
   lndir /usr/include/qt4/QtCore myqt4/include
   ...
   ln -s /usr/lib myqt4/lib
and then point your 'qtdir' to it.
(haven't tried these commands myself)

cheers,
Remko


More information about the swift-users mailing list