Oracle +QT 4.6.2, как настроить драйвер OCI? |
Здравствуйте, гость ( Вход | Регистрация )
Oracle +QT 4.6.2, как настроить драйвер OCI? |
mettamo |
15.3.2010, 0:41
Сообщение
#1
|
Студент Группа: Участник Сообщений: 43 Регистрация: 22.10.2009 Пользователь №: 1173 Спасибо сказали: 0 раз(а) Репутация: 0 |
Здравствуйте, мне нужна помощь, не получается настроить драйвер OCI, руководствовался этим Драйвер Oracle-OCI для Qt (Linux Kubuntu 9.10), Как скомпилировать драйвер oracle для Qt
но безуспешно при выполнении make выдает следующее: g++ -c -pipe -O2 -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/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/oracle/10.2.0.4 -I/opt/qtsdk-2010.02/qt/include/ -I/opt/qtsdk-2010.02/qt/include/QtSql -I. -o qsql_oci.o ../../../sql/drivers/oci/qsql_oci.cpp ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘OraFieldInfo QOCICols::qMakeOraField(const QOCIResultPrivate*, OCIParam*) const’: ../../../sql/drivers/oci/qsql_oci.cpp:1098: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1109: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1116: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1118: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘void QOCICols::getValues(QVector<QVariant>&, int)’: ../../../sql/drivers/oci/qsql_oci.cpp:1588: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1589: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1593: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp:1603: error: ‘class QOCIResult’ has no member named ‘numericalPrecisionPolicy’ ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘virtual QStringList QOCIDriver::tables(QSql::TableType) const’: ../../../sql/drivers/oci/qsql_oci.cpp:2212: error: ‘isIdentifierEscaped’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2213: error: ‘stripDelimiters’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘virtual QSqlRecord QOCIDriver::record(const QString&) const’: ../../../sql/drivers/oci/qsql_oci.cpp:2326: error: ‘isIdentifierEscaped’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2327: error: ‘stripDelimiters’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2336: error: ‘isIdentifierEscaped’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2337: error: ‘stripDelimiters’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘virtual QSqlIndex QOCIDriver::primaryIndex(const QString&) const’: ../../../sql/drivers/oci/qsql_oci.cpp:2394: error: ‘isIdentifierEscaped’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2395: error: ‘stripDelimiters’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2404: error: ‘isIdentifierEscaped’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp:2405: error: ‘stripDelimiters’ was not declared in this scope ../../../sql/drivers/oci/qsql_oci.cpp: In member function ‘virtual QString QOCIDriver::escapeIdentifier(const QString&, QSqlDriver::IdentifierType) const’: ../../../sql/drivers/oci/qsql_oci.cpp:2506: error: ‘isIdentifierEscaped’ was not declared in this scope make: *** [qsql_oci.o] Ошибка 1 |
|
|
molchanoviv |
16.3.2010, 8:03
Сообщение
#2
|
Старейший участник Группа: Сомодератор Сообщений: 597 Регистрация: 18.7.2008 Из: Саратов Пользователь №: 238 Спасибо сказали: 41 раз(а) Репутация: 5 |
Попробуй через ODBC.
|
|
|
Текстовая версия | Сейчас: 28.12.2024, 4:53 |