Results 1 to 2 of 2

Thread: How to use a dll in a QT

  1. #1
    Join Date
    Oct 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question How to use a dll in a QT

    Dear All,
    I need to use a external dll and its functions in my QT application. I tried for days but failed. The application that I developed gives "collect2: ld returned 1 exit status " error. I could not find a way to resolve the problem. Application project files attached. Any Help?

    Operating System:Windows7
    QT:QT Creator 2.01 Based on 4.7.0, 32 bit

    Regards
    Cengiz EKEN
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to use a dll in a QT

    I think you should to replace string containing visa32.dll with visa32.lib in LIBS section in your .pro file. Isn't it ?

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.