From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 00:08:58 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 44F1216A4CE for ; Wed, 27 Apr 2005 00:08:58 +0000 (GMT) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A3643D55 for ; Wed, 27 Apr 2005 00:08:56 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.134] (port=58389 helo=smtp3.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1DQa6p-0006pu-6l; Wed, 27 Apr 2005 02:08:55 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:50460 helo=desktop.homenet) by smtp3.home.nl with esmtp (Exim 4.30) id 1DQa6n-0003fd-7D; Wed, 27 Apr 2005 02:08:53 +0200 From: Danny Pansters To: freebsd-questions@freebsd.org Date: Wed, 27 Apr 2005 02:08:19 +0200 User-Agent: KMail/1.8 References: <20050426133414.EBFB843D45@mx1.FreeBSD.org> <426E757D.3070505@chuckr.org> In-Reply-To: <426E757D.3070505@chuckr.org> X-Face: "0Qv=,p:+]LvuqrtS4U\z3k"qN=.1]@=?utf-8?q?=258=3F=3BPoab=23v=27F=7E=0A=09!Wm=5Fe-=24=7EL=5D=3B?=>[c*L^Qoladj)x@mH}Bqz"vLO?Zdl}[@V@=?utf-8?q?U=3Fx3=23lI=3A=0A=09=24DN=7E!Hr?=@K`-mNv"zXm MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504270208.19990.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean cc: Chuck Robey cc: Steven Friedrich 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: Wed, 27 Apr 2005 00:08:58 -0000 On Tuesday 26 April 2005 19:08, Chuck Robey wrote: > 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.? > > There are several books on teh subject available also. I would suggest > you need tow things, > 1) a development environment, and > 2) documentation > > The very best choice you could possibly make for development would be > one of the BSD's. This includes OpenBSD, FreeBSD, NetBSD, DragonFlyBSD, > and there are others. It's arguable that Linux would be included in > that grouping ... the coding you will find in the BSD's is far more > prefessional in style, but the OS and environment is more develoed in > Linux. > > The worst choice you could make would be, Windows inany form. You will > end up having to pay thousands of dollars for a less-rich environment. > > The idea of buying one or more books is a very good idea, because there > are several very good ones out there, and lots of help online. > > I don't know your goal well enough to product, but there is another > graphical option, that of the gimp toolkits, the gtk libraries. Qt is > semi-free (free for free projects, paid if you try to make money on it). > The Gimp toolkits are ALL totally free. Beyond that, the qt system is > based upon a precompiler, I really, really dislike that sort of system, > and gtk doesn't do that. That's a very personal prejudice, of course, > and maybe worth some discussion. Anyhow, you want to consider gtk. I find this a tad biased. Let me try to counter a bit and provide some more info. One could also argue that qt has a bootload more high level functionality. And "based upon a preprocessor"? You mean it's C++? Yes. So is wxwidgets (FKA wxwindows) which is another fine toolkit. Python bindings to any of them might have a bit less functionality than the native C or C++ toolkits but generally their amount of functionality reflects that of the underlying toolkit. > Another thing you might want to consider is, leaerning python, and then > using python's incredible facilities to program directly in gtk (see > pygtk) or qt (see pyqt). I have myself done a large job in pygtk, it's > a great environment to work in, a very rich programming environment for > gui work. I like using python for both low level stuff (or quick-and-dirty scripts) and GUI stuff. It's very versatile with lots of added modules. The base modules are pretty much optimized for speed, no need to try and reinvent the wheel. I played with py-gtk a bit (with ROX desktop) but found it a little cumbersome. I also used py-wx for a little accounting app for my own which I wanted to be able to run on both *NIX and Windows. On *NIX it renders as gtk widgets, on Win32 natively. But qt (py-qt) definately has the most functionality to get started with. I never really done a project with it and am personally more interested in py-kde (which builds upon it), but it surely has a lot of stuff ready to use to build a complex app using python. There's also a py-anygui that abstracts widgets (with some limitations of course) and then you can deploy them with py-gtk, py-wx, py-qt, py-kde, py-ncurses...). Also python has lots of very useful modules, lots more unofficial ones which at the very least you can use as starting point. So yeah, considering today's processors and RAM the average PC has, python is certainly something to consider. HTH, Dan > > > ------------------------------------------------------------------------- > >------- Steven Friedrich > > 5112 Mount Holyoke Drive > > Louisville, KY 40216 > > > > StevenFriedrich@InsightBB.com > > (502) 447-7730 > > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"