Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Interaction of dlls between Qt dll and msvs dll

    Language Bindings
    2
    2
    1778
    Loading More Posts
    • 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.
    • S
      shisen last edited by

      i want to create a dll in Qt and also call an mfc dll made by msvc..can i get some proper pointers
      firstly how to create dll in Qt and how to use call my own created dll in Qt
      second how to call msvs dll from Qt creator

      1 Reply Last reply Reply Quote 0
      • G
        giesbert last edited by

        If you use QtCreator, call new project, select a dll project and that's it, there is a dll.
        Using a dll is a very basic thing in C/C++ and not Qt related, and it depends on how the dll tio use is created.

        does it have C exported functions? then you could load it with QLibrary and call resolve to get the function pointers

        Or you include the header file and linky dynamically to it

        or it has exported classes, then you MUST link dynamically to it.

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post