You are not logged in.
Pages: 1
I've recently begin looking at the Trolltech doc site, trying to learn some programming under QT (and also C++).
I noticed that i wasn't able to compile the most simple program under qt4, because of a lack of good configuration with the variables and the compiler could not find my #include libraries. If any of you wanna compile programs with qt4, you should change your enviroment variables to
QTDIR=/opt/qt4
QMAKESPEC=/opt/qt4/mkspecs/linux-g++
This way you can compile your programs
Cheers
PD: remember to "qmake -project" and "qmake" before running "make"
PD2: this is for completely newbies as me
PD3: any of you wanna teach me some c++ and qt4?
My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org
Offline
as root:
qt-config qt4
then:
logout/login or run "source /etc/profile"
will take care of your environment vars for you.
Have fun with QT!
Offline
Thanks tmaynard, didn't know that
Cheers
My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org
Offline
Pages: 1