I am trying to build qt 4.3.2 in static mode. However, after I do so and run qmake on one of the example programs, the make process aborts because it cannot find -lqtcore4. I am certain that qtcore4 is only for shared programs. If I manually remove qtcore4 from the Makefile the program builds fine. Where is qmake getting the idea to use qtcore4? I have tried the various options to configure:

-static -fast
-static -fast -qt-sql-sqlite
-static -fast -qt-sql-lite -qt-sql-mysql -I c:\mysql\include -L c:\mysql\lib\opt -L c:\mysql\lib\debug -l mysql
-static -fast -qt-sql-lite -plugin-sql-mysql -I c:\mysql\include -L c:\mysql\lib\opt -L c:\mysql\lib\debug -l mysql

I do want to have mysql support included. Any help would be greatly appreciated. At first I ran the make on qt all the way through however lately I have just been letting configure complete before trying qmake again. Do I have to let make on qt fully complete in order for it to understand not to use qtcore4?

mAx