Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 20:20:56 -0600
From:      Redmond Militante <r-militante@northwestern.edu>
To:        freebsd-questions@freebsd.org
Subject:   trolltech qt questions
Message-ID:  <20030313022056.GA369@darkpossum>

next in thread | raw e-mail | index | archive | help

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi

i'm trying to teach myself a little qt programming.  i'm on the first tutor=
ial http://doc.trolltech.com/3.1/tutorial1-01.html

i created main.cpp in vi and saved it to a directory.  i type qmake -projec=
t and
 it generates a hello.pro file.  when i try to issue 'qmake', i get the err=
or

QMAKESPEC has not been set, so configuration cannot be deduced.

upon reading the INSTALL instructions at ftp://ftp.trolltech.com/qt/source/=
INSTALL, i figured out that this was probably due to my path not being set =
correctly
trolltech's docs recommend you place

        QTDIR=3D/usr/local/qt
        PATH=3D$QTDIR/bin:$PATH
        MANPATH=3D$QTDIR/doc/man:$MANPATH
        LD_LIBRARY_PATH=3D$QTDIR/lib:$LD_LIBRARY_PATH

        export QTDIR PATH MANPATH LD_LIBRARY_PATH

in your .bash_profile - since i'm on freebsd, the directory /usr/local/qt d=
oesn't exist.  i was confused about whether or not i needed to install the =
qt 3.1.2 free version from tar archive downloaded off the trolltech website=
.  i had downloaded the tar file and was halfway through installing it manu=
ally when i was informed by someone on irc not to do this.
i have kde 3.1 installed, so i have qt 3.1.1.4.  i was wondering what the c=
orrect directory was to set as QTDIR in my path, so that i can use qmake an=
d finish the tutorial.  i was informed that i could get my correct QTDIR fr=
om /usr/ports/Mk/bsd.kde.mk, but i can't make out from that file what the c=
orrect path to my QTDIR should be.

has anyone done this before?  i'd like to continue with the tutorial but am=
 not sure how to proceed

thanks again
=20

--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+b+sHFNjun16SvHYRArzoAJ9gu2SmyznXdDTO1kOuy3cNORTw8QCgxf19
YEZ6UBJLVhelfMaeQrc2F6E=
=BI/7
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030313022056.GA369>