Qt Forum

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

    Using Mingw Compiler with COM API and ActiveQT

    General and Desktop
    2
    2
    791
    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.
    • I
      Ivan1120 last edited by

      Hi everyone:
      I have a problem that I thought maybe someone knew how to solve.The problem is I have Com API based on WIndows from Manufacturer. I tried it with ActiveQT by using MSVS, it can work well. But now I want to using Mingw Compiler with COM API. Of course, It would have more errors. Does anyone have any experience about this issue?? Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • Jeroentjehome
        Jeroentjehome last edited by

        Hi,
        When it is a C++ API you can't use a different compiler than what the manufacturer is providing. Or if you have the source code, you must recompile the API with the MinGw compiler. This has to do when the name mangling of different compilers. Even compilers of the same manufacturer can have different name mangling in the object/linking files causing all kind of compiler errors.
        If on the other hand you use the ActiveQt wrapper it shouldn't be a problem what compiler you use, because the Qt wrapper will "link" the api for you. That should be compiler independent.

        Greetz, Jeroen

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