Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Oracle plugin with SDK 1.1.3
Forum Updated to NodeBB v4.3 + New Features

Qt Oracle plugin with SDK 1.1.3

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 3.5k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    link2007
    wrote on 26 Oct 2011, 14:50 last edited by
    #1

    Hello to everyone :)

    Yesterday I downloaded the most recent Qt SDK (1.1.3) with Qt Creator 2.3 and all that stuff for Windows and was trying to create a simple Qt application that conects to a Oracle database. I read that I need to build the Oracle plugin (http://doc.qt.nokia.com/stable/sql-driver.html#qoci), basically it says something like this :

    set INCLUDE=%INCLUDE%;c:\oracle\oci\include
    set LIB=%LIB%;c:\oracle\oci\lib\msvc
    cd %QTDIR%\src\plugins\sqldrivers\oci
    qmake oci.pro
    nmake

    my problem is that I can not found the oci.pro file in my Qt installation...

    All i have is this path : C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\plugins\sqldrivers

    but no src folder...

    Can someone please point me in the right direction to solve this? Do I need to update something? or install something else?

    Thanks in advance.

    Regards.

    [edit : moved to the installation subforum, Eddy]

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cincirin
      wrote on 26 Oct 2011, 15:19 last edited by
      #2

      You must choose QtSources from Qt SDK.
      Qt SDK-> Miscellaneous -> QtSources

      1 Reply Last reply
      0
      • L Offline
        L Offline
        link2007
        wrote on 27 Oct 2011, 14:12 last edited by
        #3

        Thanks cincirin I found the sorces where you indicated.

        Now I'm having another problem :S ...

        After running nmake I get the following error :

        main.cpp : fatal error C1902 Program database manager mismatch; please check your installation

        I have nno idea what this means

        Please Help!!

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cincirin
          wrote on 27 Oct 2011, 14:37 last edited by
          #4

          It's some microsoft weird compiler error. Try to google search to solve it. I found "Program database manager mismatch":http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/22a3cc87-7052-4ede-9a1b-81e49ab41d0d Seems to renaming mspdb80.dll from VC install/bin resolve the problem.
          But you can try other troubleshooting ...

          1 Reply Last reply
          0
          • L Offline
            L Offline
            link2007
            wrote on 27 Oct 2011, 16:33 last edited by
            #5

            Hi cincirin,

            After a lot of "googling" I managed to create qsqlocid4.dll an lib.

            One last question, how can I create the release versions?

            I suppose it's done with some flag or something, Can you please tell me which one?

            Thanks a lot. :)

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cincirin
              wrote on 28 Oct 2011, 06:55 last edited by
              #6

              Good to hear that. Would be better if you can tell how you solved the problem for other users to see.
              About the release version "see all commands line":http://www.qtcentre.org/wiki/index.php?title=Qt4_with_Visual_Studio#Release

              1 Reply Last reply
              0
              • L Offline
                L Offline
                link2007
                wrote on 29 Oct 2011, 02:00 last edited by
                #7

                Maybe there are other solutions, but the one that worked for me was the following:

                Copy : mspdb80.dll,
                mspdbcore.dll,
                msobj80.dll,
                mspdbsrv.exe

                From
                C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
                to
                C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

                1 Reply Last reply
                0

                1/7

                26 Oct 2011, 14:50

                • Login

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