Originally posted by pcLoadLetter
I am just starting out learning QT, and I have a few questions.
1. I get compiler warnings when using the compiler that came with VS.net 2003 on the command line and when using the IDE it doesn't recognize the qt library header files at all.
This is quite normal. It just means that you tried to link with a library, which wasn't needed for a particular project, and it was ignored (you can call it an optimisation ;P).
2. The book, the one in the Bruce Perens series, had the non-commercial windows version. Any app that I compile, it has [non-commercial] at the top, where the name of the app should be. This is quite annoying, is there any way to get rid of it?
Yes, buy a licence (commercial/academic/educational) or wait for Qt4 GPL for Windows.
3. I am assuming that the non-commercial edition has the same terms as the open source one for linux, except for the fact I can not redistrubute the QT program, but I can distribute my programs under the GPL or whatever? Am I correct? I don't have a problem releasing any of the stuff I do under open source, but if I am wrong and I can't distribute my own apps, then I will have to look elsewhere for a decent cross platform gui API. The commercial version is stupid expensive. I can do pretty much anything I want with my apps written under VS .net pro and even a retail version of that is cheaper, and comes with much more then a gui API. I just don't want to tie myself to closely to Microsoft.
Unfortunately you're wrong. The way I see it, you can't distribute files from this 3.2NC editon, so you can't distribute binary apps made with it (as obviously they won't work without the library itself). When Qt4 finally comes, you'll be able to distribute your Windoze apps under regular GPL terms. As for now GPL is only available as an option to choose for Unix versions of Qt.
BTW. Qt is not just a GUI api too you know...
4. Since QT is designed to be cross platform, are there any incompatibilities between compiling with the non-commercial version and then compiling the same source under linux? Sorry for so many questions about my windows version, I didn't see anything on the website that mentions it.
Only the ones connected to the compiler you use -- like Win32 MSVC not knowing round(), floor() and a bunch of other functions, including many of POSIX ones too of course (and WinAPI is not available on linux

). The framework itself is completely transparent (with only one exception -- ActiveX for Windows and session management for X).
Thanks in advance
You're welcome