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. Call existing C++ DLL
QtWS25 Last Chance

Call existing C++ DLL

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 9.6k 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
    ahdbk
    wrote on last edited by
    #1

    hi ,
    i have 3 DLL developed in VS10 en C++ i want to call some function from those DLL in my QT Creator project

    thanks

    Best Regards
    Ahd bk

    Visit www.jci.cc to learn how young people around the world are working to create positive change!

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

      Hi,

      Do you only have the DLLs ? Do you have some headers ?

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

        i have the hole VS10 project (Header , source )

        the project export 3 DDLs

        Best Regards
        Ahd bk

        Visit www.jci.cc to learn how young people around the world are working to create positive change!

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

          You can follow "this doc":http://qt-project.org/doc/qtcreator-2.7/creator-project-qmake-libraries.html

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

            ok
            thanks

            Best Regards
            Ahd bk

            Visit www.jci.cc to learn how young people around the world are working to create positive change!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              ahdbk
              wrote on last edited by
              #6

              hi ,
              with this methode i can add only *.lib files
              i have a DLL not a lib file

              [quote author="SGaist" date="1366022179"]You can follow "this doc":http://qt-project.org/doc/qtcreator-2.7/creator-project-qmake-libraries.html [/quote]

              Best Regards
              Ahd bk

              Visit www.jci.cc to learn how young people around the world are working to create positive change!

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

                Are you exporting any symbol from your 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
                • Q Offline
                  Q Offline
                  qxoz
                  wrote on last edited by
                  #8

                  Hi!
                  Do you use same compiler in your QtCreator project(VS 2010)?
                  When you create C++ dll in output you get *.dll and *.lib files. In this case you can do like "doc":http://qt-project.org/doc/qtcreator-2.7/creator-project-qmake-libraries.html but if you want load library in runtime and for some reasons you don't have *lib and header files you can use "QLibrary":http://qt-project.org/doc/qt-5.0/qtcore/qlibrary.html

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    ahdbk
                    wrote on last edited by
                    #9

                    i found the lib file thanks for all

                    Best Regards
                    Ahd bk

                    Visit www.jci.cc to learn how young people around the world are working to create positive change!

                    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