Hi
I wanted to report a HUGE bug that I found after Windows installation.
When you install Qt on Windows, the examples folder is under (or in) the 2010.xx.xx folder, which is in the Qt folder). I found out that this is why the examples don't link. A huge list of warnings like C:\Qt\2010.02.1\qt\demos\embedded\fluidlauncher/demoapplication.cpp:49: undefined reference to `_imp___ZN7QObjectC2EPS_' and this error c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmingw32.a(main.o):main.c::-1: error: undefined reference to `WinMain@16' show up in the build log (and lots of others in the compiler's log). After moving the examples to the Qt folder, it works. I think this must be due to the dots in the folder name or something.
This also goes for my projects and the demos folder. I put my projects folder in C:\ and the demos in Qt and they work fine.
I almost went mad trying to solve it !!!. I first thought the problem was that I had an old version of the mingw compiler (I had the version of DevC++). Then I thought that it could be a conflict with the Visual Studio compilers.
There are also lots of threads of people having the same problem.
In fact I didnt solve it. It was twt204 who did it.
I read his post in
http://www.qtcentre.org/threads/2691...hlight=winmain
So its his credit.
Hope this will be fixed in the next version.
Qt rocks!!!
Bookmarks