From owner-freebsd-hackers Wed Oct 31 15:50:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 780FE37B401 for ; Wed, 31 Oct 2001 15:50:38 -0800 (PST) Received: (qmail 13783 invoked by uid 0); 31 Oct 2001 23:50:37 -0000 Received: from p3ee37f9b.dip.t-dialin.net (HELO gmx.de) (62.227.127.155) by mail.gmx.net (mp001-rz3) with SMTP; 31 Oct 2001 23:50:37 -0000 Message-ID: <3BE08E4D.5AED8358@gmx.de> Date: Thu, 01 Nov 2001 00:50:37 +0100 From: Volker Sturm X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Qt 2.3.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I want to write programs for X11 and KDE2 respectively. I tried to use the qt-toolkit but I couldn't compile my program. As I started out with the "Hello, World!" program from the Qt tutorial I guess I didn't make a coding mistake :o) I invoked g++ like this cos it complained about not finding header files: g++ -I/usr/X11R6/include/qt2 -o helloworld helloworld.cpp Then I recieved errors like: /tmp/ccheEMDd.o: In function `main': /tmp/ccheEMDd.o(.text+0x28): undefined reference to `QApplication::QApplication(int &, char **)' and so on. Trying g++ -L/usr/X11R6/lib -I/usr/X11R6/include/qt2 -o helloworld helloworld.cpp didn't make any difference. Did I miss anything? Anything I forgot to install? Regards, Volker Sturm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message