* [gentoo-user] QT4 programming setup
@ 2007-07-08 4:59 James
2007-07-08 5:24 ` Kent Fredric
0 siblings, 1 reply; 3+ messages in thread
From: James @ 2007-07-08 4:59 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] QT4 programming setup
2007-07-08 4:59 [gentoo-user] QT4 programming setup James
@ 2007-07-08 5:24 ` Kent Fredric
2007-07-08 15:28 ` [gentoo-user] " James
0 siblings, 1 reply; 3+ messages in thread
From: Kent Fredric @ 2007-07-08 5:24 UTC (permalink / raw
To: gentoo-user
On 7/8/07, James <wireless@tampabay.rr.com> 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
>
> --
> gentoo-user@gentoo.org 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 kdrtf@gma.com"[(2*x)..(2*x+1)]}'
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: QT4 programming setup
2007-07-08 5:24 ` Kent Fredric
@ 2007-07-08 15:28 ` James
0 siblings, 0 replies; 3+ messages in thread
From: James @ 2007-07-08 15:28 UTC (permalink / raw
To: gentoo-user
Kent Fredric <kentfredric <at> gmail.com> writes:
> qt4 is in a different structure to qt3,
> 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 :)
Hello Kent,
OK,
This looks easy...
I'll give it a whirl and post to a new thread, if I find any issues.
thanks
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-08 15:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-08 4:59 [gentoo-user] QT4 programming setup James
2007-07-08 5:24 ` Kent Fredric
2007-07-08 15:28 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox