Results 1 to 12 of 12

Thread: How to use standard COM method to link a Qt GCC C++ .exe and a project in MVS C++?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to use standard COM method to link a Qt GCC C++ .exe and a project in MVS C++

    Here are a few options:
    • You build Qt and your application using MSVC++ and the C++ ABI problem goes away.
    • If you can get the source and build it with MingW, or if the DLL author could build you a version using MingW, then C++ ABI problem goes away. You may have to do some work to adjust MSVC specific things in the code, and things missing in the MingW headers, to make it build.
    • If the DLL author can produce a C only interface to the functionality of catDataPreparator then the problem goes away (whether she uses MSVC or not).
    • If the DLL author can produce a COM wrapper around catDataPreparator then the problem goes away (whether she uses MSVC or not). In this case you use ActiveQt to access the functionality.

    Which of these options is best really depends on what catDataPreparator does and how accommodating the DLL provider is.

  2. The following user says thank you to ChrisW67 for this useful post:

    babygal (24th May 2010)

Similar Threads

  1. Replies: 2
    Last Post: 20th May 2010, 09:40
  2. Replies: 3
    Last Post: 11th May 2010, 04:50
  3. How to link GLUT to Qt Project?
    By Lawand in forum Newbie
    Replies: 5
    Last Post: 20th March 2010, 20:29
  4. Replies: 1
    Last Post: 3rd December 2009, 23:34
  5. Replies: 2
    Last Post: 2nd June 2008, 08:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.