[Qt-interest] Building TDS Libraries on Windows
Wm. G. Urquhart
wgu at wurquhart.co.uk
Wed Oct 14 12:26:47 CEST 2009
Hi,
Following a recommendation in a previous thread I tried to build the TDS
libraries based on this :
http://doc.trolltech.com/4.5/sql-driver.html#qtds-for-sybase-adaptive-server
Using the 'Qt Command Prompt' I can successfully execute the qmake
command however neither make or nmake work. Doing a search for make.exe
produces mingw32-make.exe in the Qt hierarchy, but using this results in:
C:\Qt\2009.04\qt\src\plugins\sqldrivers\tds>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory
`C:/Qt/2009.04/qt/src/plugins/sqldrivers/tds'
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"..\..\..\..\include\ActiveQt"
-I"debug"
-I"..\..\..\..\mkspecs\win32-g++" -o debug\main.o main.cpp
In file included from main.cpp:50:
../../../sql/drivers/tds/qsql_tds.h:53:22: sqlfront.h: No such file or
directory
../../../sql/drivers/tds/qsql_tds.h:54:19: sqldb.h: No such file or
directory
In file included from main.cpp:50:
../../../sql/drivers/tds/qsql_tds.h:100: error: expected `)' before '*'
token
mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make[1]: Leaving directory
`C:/Qt/2009.04/qt/src/plugins/sqldrivers/tds'
mingw32-make: *** [debug] Error 2
Needless to say any pointers on this would be very much appreciated.
--
William
More information about the Qt-interest-old
mailing list