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. Compile Oracle 64 bit plugin on Windows 64 bit with Qt4.3
Forum Updated to NodeBB v4.3 + New Features

Compile Oracle 64 bit plugin on Windows 64 bit with Qt4.3

Scheduled Pinned Locked Moved General and Desktop
12 Posts 2 Posters 3.7k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    The loading failure can be because the Oracle dlls cannot be found, adjust the PATH environment variable in QtCreator's run panel and add the path to these dlls.

    The link failure might indicate a missing library to link to

    On a side, are you locked to this pretty old version of Qt ? The latest in the 4 edition is 4.8.5

    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
    • M Offline
      M Offline
      mourad_bilog
      wrote on last edited by
      #3

      Hi,

      Thanks for your reply.

      Exacetly, there are some dlls who are not found but I've added the Oracle bin to Environement Paths, I've added to oci.dll with to the Qt source plungins.

      I've tried a lot of manipulation but none have resolved the problem.

      For the Qt 4.3, it is our licenced Qt and it Works well until now :)

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

        When you build your plugin you also need to give the path to the corresponding OCI lib files that might not be in the same folder as the dlls.

        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
        • M Offline
          M Offline
          mourad_bilog
          wrote on last edited by
          #5

          Of course I did that, I do like this "set LIB=%LIB%;c:\oracle\oci\lib\msvc"

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

            Can you show me the steps you are using to build the plugin ?

            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
            • M Offline
              M Offline
              mourad_bilog
              wrote on last edited by
              #7

              I'm using the steps as follows in the Qt doc :

              set INCLUDE=%INCLUDE%;C:\Oracle11g\product\dbhome\OCI\include

              set LIB=%LIB%;C:\Oracle11g\product\dbhome\OCI\lib\MSVC

              cd %QTDIR%\src\plugins\sqldrivers\oci

              qmake -o Makefile oci.pro

              nmake

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

                Strange… Looks correct. Does it also contain a VS2005 version of the library ?

                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
                • M Offline
                  M Offline
                  mourad_bilog
                  wrote on last edited by
                  #9

                  .....i Haven't understund what do you mean...please can you explain more

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

                    Some enterprises have the good idea to provide their libs/dlls for various versions of Visual Studio. Is it the case here ? Or to you only have one lib file ?

                    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
                    • M Offline
                      M Offline
                      mourad_bilog
                      wrote on last edited by
                      #11

                      .....No I've only one lib file

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

                        Then check whether it contains or not that missing symbol

                        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

                        • Login

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