I expected no kind of magic. But as you know that thread is posted in -Newbie- Forum. It's my first qt project and noone tells you what qmake and nmake are supposed to do. So I could be that qmake creates the psql.pro...
Anyway, now I know that it works in a different way.
I think my problem was I had installed the "qt sdk 2010.05" and the "qt 4.7.2". And in one folder the folder "...\qt\src\plugins\sqldrivers\psql" exists and in one not.
Now I've found the psql-project and the qmake-command seems to work.
But when I use mingw32-make.exe I get errors again.
The German expression in the cmd-output means:C:/qt/2010.05/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory 'C:/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
g++ -c -g -frtti -fexeptions -mthreads - Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I "..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\include" -I"c:\psql9\include" -I"..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
Der Befehl "g++" ist entweder falsch geschrieben oder konnte nicht gefunden werden
mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
mingw32-make: *** [debug-all] Error 2
I haven't chosen something with g++.The command "g++" is wrong spelled or does not exist
Please help me again.
Bookmarks