SLUG Mailing List Archives
Re: [SLUG] Linux UI decision
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Linux UI decision
- From: jam@xxxxxxxxx
- Date: Fri, 17 Nov 2006 19:07:12 +0800
- User-agent: KMail/1.9.1
On Monday 13 November 2006 05:27, slug-request@xxxxxxxxxxx wrote:
> > I've never done any winders programming, but needed to do a GUI winders
> > project. I spent 90% of my time doing it on my linux box, 10% porting it
> > to winders. Now I can build either, mod either, support either (heh heh
> > vmware)
> > So 10 days for a C programmer to write a C++ app and port to winders. Not
> > Bad! (Qt is simplistic C++, but the paradigsm works). Much easier than
> > motif!
> What sort of effort is required to get a Qt app, once built, installed on
> Windows? As in, what libraries, dlls, etc do I have to get a novice
> desktop user to install to get my Qt app running, and how complex is that
> (packaged in an install EXE / MSI file, etc, or do I have to create files
> all over the file system and install a bunch of registry entries by hand)?
Sorry for the delay in answering, I took a week break in the SouthWest :-)
The book C++ GUI programming with QT3 ISBN 0-13-124072-2 has a QT3 + Borland
C++ Builder. I could not get that to work. My brother has built GCC for
winders + Qt Stuff (100M mail me if you want it). That works like a charm!
Everything related to the app was confined to the app.exe and qt-mt331.dll
I used http://www.dev4pc.com/installer2go.html
To make a winders Setup.exe also easy and works well.
I have about 10 #ifdef __WIN32__ sprinkeled through the code to use a serial
class that I found POSIX or Winders the rest was identical
Qt saves and restores settings in REGISTRY or .apprc files. Also easy.
I emphasize, This is the first winders app that I've ever built and I spent 1
day doing the winders part and 9 days learning/implementing the QT bit.
My background is C a bit of motif some TCL