[Qt-interest] Compiling the interbase sql plugin driver.
Peter Nunn
pnunn at infoteq.com.au
Sun May 10 14:19:14 CEST 2009
Hi guys,
I'm trying to compile the firebird plugin for qt without compiling the entire
qt shooting match.
I'm using the src rpm from mandriva as the basis and so far have got the make
failing as follows..
make
g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -
DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -
DQT_SQL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -
I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtSql -
I/usr/lib/qt4/include -I. -I. -o main.o main.cpp
In file included from main.cpp:44:
../../../sql/drivers/ibase/qsql_ibase.h:47:46: error:
QtSql/private/qsqlcachedresult_p.h: No such file or directory
In file included from main.cpp:44:
../../../sql/drivers/ibase/qsql_ibase.h:58: error: expected class-name before
‘{’ token
../../../sql/drivers/ibase/qsql_ibase.h:70: error: ‘QSqlCachedResult’ has not
been declared
../../../sql/drivers/ibase/qsql_ibase.h:70: error: expected ‘,’ or ‘...’
before ‘&’ token
However qsqlcachedresult_p.h does exist on the system
locate qsqlcache
/home/pnunn/rpm/SOURCES/qt-x11-opensource-
src-4.5.1/include/Qt/private/qsqlcachedresult_p.h
/home/pnunn/rpm/SOURCES/qt-x11-opensource-
src-4.5.1/include/QtSql/private/qsqlcachedresult_p.h
/home/pnunn/rpm/SOURCES/qt-x11-opensource-
src-4.5.1/src/sql/kernel/qsqlcachedresult.cpp
/home/pnunn/rpm/SOURCES/qt-x11-opensource-
src-4.5.1/src/sql/kernel/qsqlcachedresult_p.h
I'm guessing I'm missing a directive somewhere to point to the source tree i'm
trying to use, but for the life of me I can't work out what it is.
Any clues??
Thanks.
Peter.
More information about the Qt-interest-old
mailing list