crossplatform.ru

Здравствуйте, гость ( Вход | Регистрация )

> 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
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
 
Начать новую тему
Ответов
mettamo
  опции профиля:
сообщение 16.3.2010, 0:40
Сообщение #2


Студент
*

Группа: Участник
Сообщений: 43
Регистрация: 22.10.2009
Пользователь №: 1173

Спасибо сказали: 0 раз(а)




Репутация:   0  


Не помогло


Я так понял заставить работать oracle с QT практически нереально
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение

Сообщений в этой теме


Быстрый ответОтветить в данную темуНачать новую тему
Теги
Нет тегов для показа


1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0




RSS Текстовая версия Сейчас: 29.3.2024, 1:04