From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:36:43 2005 Return-Path: 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 4828016A4CE for ; Tue, 26 Apr 2005 14:36:43 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDA1843D45 for ; Tue, 26 Apr 2005 14:36:42 +0000 (GMT) (envelope-from StevenFriedrich@insightbb.com) Received: from steve.stevenfriedrich.org (12-202-24-76.client.insightbb.com[12.202.24.76]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20050426143642i92005bs0pe>; Tue, 26 Apr 2005 14:36:42 +0000 From: "Steven Friedrich" To: "cpghost@cordula.ws" Date: Tue, 26 Apr 2005 10:36:45 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2711) For Windows 2000 (5.1.2600;2) In-Reply-To: <20050426135907.GC38835@epia2.farid-hajji.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20050426143642.DDA1843D45@mx1.FreeBSD.org> cc: FreeBSD Questions Subject: Re: Qt programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 14:36:43 -0000 Thanks, that helped a lot. I've downloaded the examples from C++ GUI Programming with Qt 3 at ftp://ftp.trolltech.com/misc/qtbook-examples.zip I followed the instructions in the README, but it doesn't build the Makefiles in the chapters. I've written Makefiles, so I know the basics. I'll try to crack the main Makefile to discover it's dark secrets. Anybody else should feel welcome to take a crack at it as well. I suspect I could just handwrite a Makefile in each chapter... On Tue, 26 Apr 2005 15:59:07 +0200, cpghost@cordula.ws wrote: >On Tue, Apr 26, 2005 at 09:34:18AM -0400, Steven Friedrich wrote: >> I want to learn Qt programming. Can I do that without buying anything from TrollTech (until I'm ready to develop a commercial program) ? Does FreeBSD have the tools, libraries, etc.? > >Use the ports, Luke! > >Esp.: /usr/ports/x11-toolkits/qt33 >if it is not already installed on your system. > >qt33 also comes with 'designer', 'moc', 'uic', ... and it installs >'qmake' as a dependency automatically, so you could immediately start >hacking right away :-) > >Just one hint: Add this to your .profile before trying to do anything: > >QMAKESPEC=/usr/local/share/qt/mkspecs/freebsd-g++; export QMAKESPEC >QTDIR=/usr/X11R6; export QTDIR > >> Steven Friedrich > >Happy hacking! > >-cpghost. > >-- >Cordula's Web. http://www.cordula.ws/ -------------------------------------------------------------------------------- Steven Friedrich 5112 Mount Holyoke Drive Louisville, KY 40216 StevenFriedrich@InsightBB.com (502) 447-7730