Results 1 to 9 of 9

Thread: installing OCI driver

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: installing OCI driver

    the makefile is ment to be compiled from gcc compiler and NOT the microsoft compiler..

    the qt sdk comes with MinGW compiler... just locate the compiler direcotry.

    now add path\to\mingw\bin to PATH

    open command prompt and cd to OCI plugin

    run make (not nmake)

  2. #2
    Join Date
    Apr 2009
    Posts
    20
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: installing OCI driver

    Ok, I found MinGW, set PATHs and then run make on command prompt.
    It started. After few minutes I recieved many errors like these:
    C:/Qt/2009.01/qt/src/plugins/sqldrivers/oci/tmp/moc/debug_shared/moc_qsql_oci.cp
    p:41: undefined reference to `_imp___ZN10QSqlDriver16staticMetaObjectE'
    tmp/obj/debug_shared/moc_qsql_oci.o: In function `ZSt17__verify_groupingPKcjRKSs
    ':
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::event(QEvent*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::eventFilter(QObject
    *, QEvent*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::timerEvent(QTimerEv
    ent*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::childEvent(QChildEv
    ent*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::customEvent(QEvent*
    )'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2499: undefined reference to `QObject::connectNotify(char
    const*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2500: undefined reference to `QObject::disconnectNotify(ch
    ar const*)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2500: undefined reference to `QSqlDriver::isOpen() const'
    C:/Qt/2Creating library file: c:\Qt\2009.01\qt\plugins\sqldrivers\libqsqlocid4.a

    009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/loc
    ale_facets.tcc:2507: undefined reference to `QSqlDriver::sqlStatement(QSqlDriver
    ::StatementType, QString const&, QSqlRecord const&, bool) const'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2507: undefined reference to `QSqlDriver::setOpen(bool)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2506: undefined reference to `QSqlDriver::setOpenError(boo
    l)'
    C:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
    its/locale_facets.tcc:2506: undefined reference to `QSqlDriver::setLastError(QSq
    lError const&)'
    collect2: ld returned 1 exit status
    mingw32-make[1]: *** [..\..\..\..\plugins\sqldrivers\qsqlocid4.dll] Error 1
    mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/src/plugins/sqldrivers/oci'

    mingw32-make: *** [debug-all] Error 2
    Why?
    Last edited by dilidpan; 15th June 2009 at 12:52.

Similar Threads

  1. Help with QMYSQL driver for QT 4.4.0: driver not loaded
    By khikho in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 15:00
  2. Installing Driver to connect SQL server
    By srinivasj in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd April 2009, 15:39
  3. How do I get Qt to recognize the oci driver.
    By yleesun in forum Qt Programming
    Replies: 11
    Last Post: 19th January 2009, 03:50
  4. Can't find QPSQL driver!!
    By brevleq in forum Qt Programming
    Replies: 9
    Last Post: 30th October 2007, 00:29
  5. regarding a touch screen driver for qt-embedded
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 2nd March 2007, 10:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.