tr problem aside, used the line
qmake "INCLUDEPATH+=\"C:\Program Files\PostgreSQL\9.0\include\"" "LIBS+=\"C:\Program Files\PostgreSQL\9.0\lib\ms\libpq.lib\"" psql.pro
qmake "INCLUDEPATH+=\"C:\Program Files\PostgreSQL\9.0\include\"" "LIBS+=\"C:\Program Files\PostgreSQL\9.0\lib\ms\libpq.lib\"" psql.pro
To copy to clipboard, switch view to plain text mode
then a nmake and got permission denied again....
tried with a make and got this error:
C:\Qt\2010.05\qt\src\plugins\sqldrivers\psql>make
make -f Makefile.Debug all
make[1]: Entering directory `/c/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
g++ -c -g -frtti -fexceptions -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'../../../../i
nclude/QtSql' -I'../../../../include' -I'c:/Program Files/PostgreSQL/9.0/include
' -I'../../../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'../../../../mkspe
cs/win32-g++' -o tmp/obj/debug_shared/main.o main.cpp
make[1]: execvp: g++: Bad file number
make[1]: *** [tmp/obj/debug_shared/main.o] Error 127
make[1]: Leaving directory `/c/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
make: *** [debug-all] Error 2
C:\Qt\2010.05\qt\src\plugins\sqldrivers\psql>make
make -f Makefile.Debug all
make[1]: Entering directory `/c/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
g++ -c -g -frtti -fexceptions -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'../../../../i
nclude/QtSql' -I'../../../../include' -I'c:/Program Files/PostgreSQL/9.0/include
' -I'../../../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'../../../../mkspe
cs/win32-g++' -o tmp/obj/debug_shared/main.o main.cpp
make[1]: execvp: g++: Bad file number
make[1]: *** [tmp/obj/debug_shared/main.o] Error 127
make[1]: Leaving directory `/c/Qt/2010.05/qt/src/plugins/sqldrivers/psql'
make: *** [debug-all] Error 2
To copy to clipboard, switch view to plain text mode
finally, tried with mingw, I`m not sure I`m doing this right, but got this error.....
C:\Qt\2010.05\qt\src\plugins\sqldrivers\psql>mingw32-make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/2010.05/qt/src/plugins/sqldrivers/psq
l'
g++ -c -g -frtti -fexceptions -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'../../../../i
nclude/QtSql' -I'../../../../include' -I'c:/Program Files/PostgreSQL/9.0/include
' -I'../../../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'../../../../mkspe
cs/win32-g++' -o tmp/obj/debug_shared/main.o main.cpp
g++: CreateProcess: No such file or directory
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
C:\Qt\2010.05\qt\src\plugins\sqldrivers\psql>mingw32-make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/2010.05/qt/src/plugins/sqldrivers/psq
l'
g++ -c -g -frtti -fexceptions -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'../../../../i
nclude/QtSql' -I'../../../../include' -I'c:/Program Files/PostgreSQL/9.0/include
' -I'../../../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'../../../../mkspe
cs/win32-g++' -o tmp/obj/debug_shared/main.o main.cpp
g++: CreateProcess: No such file or directory
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
To copy to clipboard, switch view to plain text mode
Bookmarks