how to start qt4 programming under FC6?

Paulo Cavalcanti promac at gmail.com
Fri Feb 2 21:40:56 UTC 2007


> if anyone has a working setup for this, or there's a web page that
> covers this, i'd be grateful.


Isn't it enough to create a "qtprepare" ?

#!/bin/sh

unset QTINC QTLIB QTPATH_LRELEASE QMAKESPEC

qmake-qt4

----------------------------------------------------------------------------------

It should create a Makefile for you.

Another possibility is adding these lines to your .cshrc:

#QT
setenv QTDIR /usr/lib/qt4
setenv QTPATH_LRELEASE $QTDIR/bin/lrelease
setenv QMAKESPEC $QTDIR/mkspecs/linux-g++

-- 
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070202/89e1c6a7/attachment-0001.htm>


More information about the fedora-list mailing list