From owner-freebsd-questions Wed Mar 12 18:29:55 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3F8637B401 for ; Wed, 12 Mar 2003 18:29:52 -0800 (PST) Received: from darkpossum.medill.northwestern.edu (darkpossum.medill.northwestern.edu [129.105.51.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C264B43F3F for ; Wed, 12 Mar 2003 18:29:51 -0800 (PST) (envelope-from possum@darkpossum.medill.northwestern.edu) Received: from darkpossum.medill.northwestern.edu (2d30ffc1ee241b6ab4b50c9e48679bcd@localhost.medill.northwestern.edu [127.0.0.1]) by darkpossum.medill.northwestern.edu (8.12.6/8.12.6) with ESMTP id h2D2KuYx000407 for ; Wed, 12 Mar 2003 20:20:56 -0600 (CST) (envelope-from possum@darkpossum.medill.northwestern.edu) Received: (from possum@localhost) by darkpossum.medill.northwestern.edu (8.12.6/8.12.6/Submit) id h2D2KuoQ000406 for freebsd-questions@freebsd.org; Wed, 12 Mar 2003 20:20:56 -0600 (CST) Date: Wed, 12 Mar 2003 20:20:56 -0600 From: Redmond Militante To: freebsd-questions@freebsd.org Subject: trolltech qt questions Message-ID: <20030313022056.GA369@darkpossum> Reply-To: Redmond Militante Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.4i X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Content&pa=showpage&pid=1 X-DSS-PGP-Fingerprint: F9E7 AFEA 0209 B164 7F83 E727 5213 FAFA 1511 7836 X-Favorite-Food: Pizza Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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