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. Using Mingw Compiler with COM API and ActiveQT
QtWS25 Last Chance

Using Mingw Compiler with COM API and ActiveQT

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 933 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.
  • I Offline
    I Offline
    Ivan1120
    wrote on last edited by
    #1

    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
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      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
      0

      • Login

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