On 7/8/07, James <[EMAIL PROTECTED]> wrote:
Hello,
I have qt3 and qt4 installed (?):
x11-libs/qt
Installed versions: 3.3.8-r2 4.2.3-r1
So I picked up what looks like an interesting book
on C++ and QT4 part of the Bruce Perens Open Source series.
Looking at the brief installation guide it tells you to check
your QTDIR setting, so I use 'env | grep QTDIR' and get:
QTDIR=/usr/qt/3
When I go to /usr/qt I do not even see a dir for '4'?
So I want to set up QT4 so I can follow along the book.
But if I look at (moc uic assistant and designer) they look
like version 4.2.3:
moc -v
Qt Meta Object Compiler version 59 (Qt 4.2.3)
uic -v
Qt User Interface Compiler version 4.2.3
I did not find any wikis or such to guide one thru setting
up QT4 form programming. Since I use kde as the desktop,
I do not want to hose anything on the system.
Suggestions for setting up QT4 to write some code, without
hosing the system, are welcome.....
James
--
[EMAIL PROTECTED] mailing list
qt4 is in a different structure to qt3,
/usr/include/qt4/
instead of /usr/qt/3/include
/usr/bin/moc
instead of /usr/qt3/moc
/usr/share/qt4/
instead of /usr/qt/3/ ....
using eix ( app-portage/eix ):
eix ^qt$
[I] x11-libs/qt
Available versions:
(3) 3.3.4-r8 [[3.3.8-r2]]
(4) 4.2.3-r1 [[(~)4.3.0]] **9999[1] **20070423[1]
using qlist (app-portage/portage-utils)
qlist =x11-libs/qt-3.3.8-r2
qlist =x11-libs/qt-4.3.0
That should tell you what your looking for.
for the actual programming part, i do believe its all set up for you.
qmake -project
qmake
make
thats all i had to do to build my first QT app :)
--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
--
[EMAIL PROTECTED] mailing list