Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 02:08:19 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-questions@freebsd.org
Cc:        Steven Friedrich <StevenFriedrich@InsightBB.com>
Subject:   Re: Qt programming
Message-ID:  <200504270208.19990.danny@ricin.com>
In-Reply-To: <426E757D.3070505@chuckr.org>
References:  <20050426133414.EBFB843D45@mx1.FreeBSD.org> <426E757D.3070505@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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