Hey @all,

did anybody know the reason why the PostgreSQL driver can't be compiled with the "new" SDK?
When I try to compile the driver i still get the error
Qt Code:
  1. c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:psql.pro: file format not recognized; treating as linker script
  2. c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:psql.pro:1: syntax error
To copy to clipboard, switch view to plain text mode 
The psql.pro file isn't changed at all, but here it is:
Qt Code:
  1. TARGET = qsqlpsql
  2.  
  3. HEADERS = ../../../sql/drivers/psql/qsql_psql.h
  4. SOURCES = main.cpp \
  5. ../../../sql/drivers/psql/qsql_psql.cpp
  6.  
  7. unix: {
  8. !isEmpty(QT_LFLAGS_PSQL) {
  9. LIBS *= $$QT_LFLAGS_PSQL
  10. QMAKE_CXXFLAGS *= $$QT_CFLAGS_PSQL
  11. }
  12. !contains(LIBS, .*pq.*):LIBS *= -lpq
  13. }
  14.  
  15. win32:!contains(LIBS, .*pq.* ) {
  16. !win32-g++:LIBS *= -llibpq
  17. win32-g++:LIBS *= -lpq
  18. LIBS *= -lws2_32 -ladvapi32
  19. }
  20.  
  21. include(../qsqldriverbase.pri)
To copy to clipboard, switch view to plain text mode 

I hope someone could help

Best Regards
NoRulez