Ïîìîùü - Ïîèñê - Ïîëüçîâàòåëè - Êàëåíäàðü
Ïîëíàÿ âåðñèÿ ýòîé ñòðàíèöû: Oracle +QT 4.6.2
Ôîðóì íà CrossPlatform.RU > Áèáëèîòåêè > Qt > Qt Ðàçðàáîòêà áàç äàííûõ
mettamo
Çäðàâñòâóéòå, ìíå íóæíà ïîìîùü, íå ïîëó÷àåòñÿ íàñòðîèòü äðàéâåð 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
êòî íèáóäü ñòàëêèâàëñÿ?
mettamo
Íå ïîìîãëî


ß òàê ïîíÿë çàñòàâèòü ðàáîòàòü oracle ñ QT ïðàêòè÷åñêè íåðåàëüíî
AD
Öèòàòà(mettamo @ 16.3.2010, 0:40) *
Íå ïîìîãëî


ß òàê ïîíÿë çàñòàâèòü ðàáîòàòü oracle ñ QT ïðàêòè÷åñêè íåðåàëüíî

Ðåàëüíî, ðàç äðàéâåðà åñòü! :) Íàäî ïîêîïàòüñÿ, âèäèìî! :)
molchanoviv
Ïîïðîáóé ÷åðåç ODBC.
Andrewshkovskii
êòî-òî ïèñàë ñâîé äðàéâåð ïîä îðàêë, ÿ êà÷àë, âðîäå, ñ qtcentre.org ,ñåé÷àñ ïîèùó.

http://www.crossplatform.ru/node/883
Äëÿ ïðîñìîòðà ïîëíîé âåðñèè ýòîé ñòðàíèöû, ïîæàëóéñòà, ïðîéäèòå ïî ññûëêå.
Ôîðóì IP.Board © 2001-2024 IPS, Inc.