Results 1 to 4 of 4

Thread: How to use Qt Creator to call MFC extensional dll

  1. #1
    Join Date
    Oct 2012
    Posts
    35
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    26

    Default How to use Qt Creator to call MFC extensional dll

    Hi All,

    I have a third-party MFC MFC extensional dll, i want to use Qt Creator call it, but i don't know how to do it. if use VS+Qt, it maybe solved.

    Can you give me advice to how to call third-party MFC extensional dll by Qt Creator?

    Thanks your any advice.

    kenchan

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: How to use Qt Creator to call MFC extensional dll

    Include the header, call the function, link to the library. Basic c++
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. The following user says thank you to amleto for this useful post:

    kenchan (27th February 2013)

  4. #3
    Join Date
    Oct 2012
    Posts
    35
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    26

    Default Re: How to use Qt Creator to call MFC extensional dll

    it would appear “expected constructor, destructor, or type conversion before ...” when debugging.

    my Qt Creator version is Qt SDK by Nokia v2010.05 (open source).

  5. #4
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: How to use Qt Creator to call MFC extensional dll

    Great. And?

    By the way, since that is a compiler error, I highly doubt you got that whilst 'debugging'.

    Please try again when you have a Qt Programming question, and not a plain old C++ one.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 6
    Last Post: 3rd December 2012, 07:26
  2. Replies: 2
    Last Post: 22nd November 2011, 00:09
  3. how to call mfc dll from Qt
    By gauravg in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2011, 07:18
  4. Replies: 2
    Last Post: 7th July 2009, 17:44
  5. how to call mfc dll use qt?
    By yunpeng880 in forum Qt Programming
    Replies: 2
    Last Post: 12th March 2009, 04:32

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.