Qt-interest Archive, November 1999
qtwin/gcc/mingw32: SUCCESS
Message 1 in thread
I've finally been able to compile the native (not requiring any
X-server) qt for windows library and applications on the windows
platform with gcc-2.95/mingw32.
It required some minor changes to the current snapshot of
mingw32/win32api headers of which most should be included in Mumit's
next snapshot (scheduled this Saturday) and some minor changes to the Qt
source (mainly commenting out DnD stuff since windows COM support for
gcc-2.95 does not seem to be complete yet and including a file or two in
qt_windows.h).
With these changes I was able to compile the whole qt library into a
static lib file and use this library to build the hello and widget
examples.
This means that it should now be possible to build native windows
applications using Qt WITHOUT MS Visual C++ and the Windows SDK.
Now that I have finally gotten it to work, I will see how much if fixed
with Mumit's next release and modify my modifications to work with that
and start working on a tmake configuration file that takes care of
win32-mingw32 (there already is a win32-g++ file which I am not sure
what is supposed to do).
Hopefully, when I've gotten the changes/patches neat and clean the
Trolls will support this platform in the future (or atleast include the
minor changes necessary to make it work in the Qt source distribution).
Thanks a million to people working on gcc and mingw32 for making it
possible to build native windows applications without MS VC++ and the
Windows SDK. This should make it even easier for people to make cross
platform GUI applications (not having to deal with stone age MS
compilers and related bugs).
Once I get this in place, I'm thinking about trying to set up gcc as a
cross compiler which will allow me to create the .exe files without
leaving the comfort of the linux development environment.
Marius