From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 07:36:35 2003 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 5CEB237B401 for ; Fri, 25 Apr 2003 07:36:35 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D4E843F3F for ; Fri, 25 Apr 2003 07:36:34 -0700 (PDT) (envelope-from barner@in.tum.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 3DC376406; Fri, 25 Apr 2003 16:36:33 +0200 (MEST) Received: from mail.informatik.tu-muenchen.de (mail.informatik.tu-muenchen.de [131.159.0.26]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id 18AAC7944; Fri, 25 Apr 2003 16:36:33 +0200 (MEST) Received: from zi025.glhnet.mhn.de (unknown [129.187.19.157]) by mail.informatik.tu-muenchen.de (Postfix) with ESMTP id EA7866CB0E; Fri, 25 Apr 2003 16:36:32 +0200 (MEST) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 55F7437570; Fri, 25 Apr 2003 16:36:31 +0200 (CEST) Date: Fri, 25 Apr 2003 16:36:31 +0200 From: Simon Barner To: Jonathon McKitrick Message-ID: <20030425143631.GD594@zi025.glhnet.mhn.de> References: <20030425035625.GB81840@dogma.freebsd-uk.eu.org> <20030425110334.GB594@zi025.glhnet.mhn.de> <20030425131050.GA84423@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: <20030425131050.GA84423@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: How to find a library 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: Fri, 25 Apr 2003 14:36:35 -0000 --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > : Most of the ports also install documentation (quite important for progr= amming), > : either as man pages, or in $(PREFIX)/share/doc/. >=20 > That's exactly what I needed to know. Excellent! I forgot one more thing: Every port has a pointer to the according web page= at the end of its pkg-descr file. > What I basically am looking for is a gui toolkit that works well with C++ > and looks professional. The first decision you have to make is whether you want to write an applica= tion for one of the two major integrated desktops, GNOME and KDE. The latter is built with the QT toolkit, a cross-plattform GUI toolkit. You= can also use QT only (without KDE support). QT has more than GUI mechanisms, bu= t it also hides OS specific things like I/O, ... from the programmer. IIRC, the = MFC also has lots of these things, so QT might be the way to go. I think you ha= ve to buy a license for commercial use, but there is also a GPL-licensed version = of it. GNOME is based on the GTK-toolkit, which is written in C, but there are als= o C++ bindings (called gtk-- and gtk--2 for GTK 2). Again, you can use GTK(2) wit= hout GNOME, too. Another interesting alternative seems to be wxwindows (http://www.wxwindows.org/), which is another cross-platform GUI-toolkit. It uses the operating systems default toolkit to draw its widgets (unlike QT, = for example), such that you can built applications with a native look-and-feel.= In the FreeBSD ports collection, there is the GTK based version of wxwindows (called wxgtk). One remark: I have to admit that I have not built any larger application wi= th any of the above toolkits, since I am writing CLI applications most of the = time. One friend of mine has recommended WxWindows to me, and a another one QT. Perhaps you should browser through the documentation and the sample applica= tions that most likely come along with them. > Along with that, I need to decide on a build manager of some type. I don= 't > want to depend on an IDE, nor do I want to spend time editing makefiles. I do not know of an alternative to makefiles. The best is have a look on an existing one. One stumbling block might be, that FreeBSD uses pmake (/usr/share/doc/psd/12.make), whereas many applications that come from a Li= nux background use GNU gmake. >Is > autoconf a good choice for this, or is there a better alternative used mo= re > often in BSD? AFAIK autoconf is used to write software that runs on the various flavours = of unix. The built process itself is makefile driven, too. Cheers, Simon --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+qUfuCkn+/eutqCoRAjyCAJwOg9z/pR6a5o+VCb2WY9bYKof40ACfQUUz G2oMhIBswCL2tEyU6waIZEc= =n02k -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/--