Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Where Could i access to oci.pro for setup QOCI sqldriver plugin

Where Could i access to oci.pro for setup QOCI sqldriver plugin

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arash
    wrote on last edited by
    #1

    Dear all in group
    I'm the new one in QT, i just installed QT 5.3 and when i wanted to write some codes to connect to Oracle DB compiler raise an error that QOCI is not loaded, i tried to search for setup this plugin but i could not find oci.pro in folder plugin/sqldriver, some websites noted that i should use some repository for download oci project files, but from where and how could i do for it. please help me

    thanks in advance

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      you have to install also the sources from Qt and you'll find the OCI driver source in <QTDIR>/qtbase/src/sql/drivers/oci

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Arash
        wrote on last edited by
        #3

        hi and thanks in advance
        i downloaded the sources from QT and found the oci directory in the path you notified me, but when i execute nmake after qmake the result is :
        link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /OUT:.......
        .\plugins\sqldrivers\qsqloci.dll @C:\Users\Arash\AppData\Local\Temp\nmE07D.tmp
        Qt5Sql.lib(Qt5Sql.dll) : fatal error LNK1112: module machine type 'x64' conflict
        s with target machine type 'X86'
        NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
        \VC\BIN\link.EXE"' : return code '0x458'
        Stop.
        NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
        \VC\BIN\nmake.exe"' : return code '0x2'
        Stop.
        somebody said that this occure because I built my project in 32bit mode while linking to a 64bit Qt, then now how could i solve this problem, i searched more and more but could not find any right solution.

        Thanks

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          What did you use to open the command prompt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • BonganiB Offline
            BonganiB Offline
            Bongani
            wrote on last edited by
            #5

            @SGaist @Arash did you finally find a solution for this problem ?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved