Сборка OCI драйвера из имеющихся исходников. |
Здравствуйте, гость ( Вход | Регистрация )
Сборка OCI драйвера из имеющихся исходников. |
Гость_PavelDart_* |
21.11.2009, 23:33
Сообщение
#1
|
Гости |
Доброго времени суток.
Очень надо собрать драйвера для оракла на qt 4.3.4. Наткнулся на исходники драйвера oci (здесь) Скопировал полученнные файлы(Makefile, qsql_oracle.cpp, qsql_oracle.h, QSqlOracleDriverPlugin.cpp, QSqlOracleDriverPlugin.h, qsqloracleqt4.pro) в %QTPATH%\src\plugins\sqldrivers\oci\ далее: qmake qsqloracleqt4.pro make qsql_oracle.cpp:35:23: qsqlerror.h: No such file or directory qsql_oracle.cpp:36:23: qsqlfield.h: No such file or directory qsql_oracle.cpp:37:23: qsqlindex.h: No such file or directory qsql_oracle.cpp:38:24: qsqlrecord.h: No such file or directory qsql_oracle.cpp:39:23: qsqlquery.h: No such file or directory qsql_oracle.cpp:47: error: `struct QSqlError::ErrorType' has not been declared qsql_oracle.cpp:48: error: ISO C++ forbids declaration of `type' with no type qsql_oracle.cpp: In function `QSqlError qMakeError(const QString&, int, QOracleDriver*)': qsql_oracle.cpp:48: error: return type `struct QSqlError' is incomplete qsql_oracle.cpp:51: error: invalid use of undefined type `struct QSqlError' ../../../../include/QtSql/../../src/sql/kernel/qsqldatabase.h:57: error: forward declaration of `struct QSqlError' qsql_oracle.cpp: In member function `bool QOracleResult::processResults()': qsql_oracle.cpp:479: error: incomplete type `QSqlError' used in nested name specifier qsql_oracle.cpp: In member function `virtual QSqlRecord QOracleResult::record() const': qsql_oracle.cpp:485: error: return type `struct QSqlRecord' is incomplete qsql_oracle.cpp:487: error: aggregate `QSqlRecord info' has incomplete type and cannot be defined qsql_oracle.cpp:491: error: invalid use of undefined type `struct QSqlField' ../../../../include/QtSql/../../src/sql/kernel/qsqldriver.h:62: error: forward declaration of `struct QSqlField' qsql_oracle.cpp:493: confused by earlier errors, bailing out mingw32-make[1]: *** [tmp/obj/debug_shared/qsql_oracle.o] Error 1 mingw32-make[1]: Leaving directory `E:/Qt/4.3.4/src/plugins/sqldrivers/oci' mingw32-make: *** [debug] Error 2 make debug qsql_oracle.cpp:35:23: qsqlerror.h: No such file or directory qsql_oracle.cpp:36:23: qsqlfield.h: No such file or directory qsql_oracle.cpp:37:23: qsqlindex.h: No such file or directory qsql_oracle.cpp:38:24: qsqlrecord.h: No such file or directory qsql_oracle.cpp:39:23: qsqlquery.h: No such file or directory qsql_oracle.cpp:47: error: `struct QSqlError::ErrorType' has not been declared qsql_oracle.cpp:48: error: ISO C++ forbids declaration of `type' with no type qsql_oracle.cpp: In function `QSqlError qMakeError(const QString&, int, QOracleDriver*)': qsql_oracle.cpp:48: error: return type `struct QSqlError' is incomplete qsql_oracle.cpp:51: error: invalid use of undefined type `struct QSqlError' ../../../../include/QtSql/../../src/sql/kernel/qsqldatabase.h:57: error: forward declaration of `struct QSqlError' qsql_oracle.cpp: In member function `bool QOracleResult::processResults()': qsql_oracle.cpp:479: error: incomplete type `QSqlError' used in nested name specifier qsql_oracle.cpp: In member function `virtual QSqlRecord QOracleResult::record() const': qsql_oracle.cpp:485: error: return type `struct QSqlRecord' is incomplete qsql_oracle.cpp:487: error: aggregate `QSqlRecord info' has incomplete type and cannot be defined qsql_oracle.cpp:491: error: invalid use of undefined type `struct QSqlField' ../../../../include/QtSql/../../src/sql/kernel/qsqldriver.h:62: error: forward declaration of `struct QSqlField' qsql_oracle.cpp:493: confused by earlier errors, bailing out mingw32-make[1]: *** [tmp/obj/debug_shared/qsql_oracle.o] Error 1 Получается неполная подборка исходников? |
|
|
Текстовая версия | Сейчас: 11.12.2024, 12:13 |