Results 1 to 2 of 2

Thread: Linking to a DLL

  1. #1

    Default Linking to a DLL

    I am new to QT and I have a (probably stupid) question. I hope this is the proper place to ask this.

    I created a project for my main app, and a separate project for a QT dll which the main app is going to use. In the project settings, I set the Dependencies of the main app to include my library project. But when I build, it is unable to link to the library functions.

    What am I doing wrong?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Linking to a DLL

    It will probably be best if you could post screen shot of the main project and subproject properties you set.
    Also, please post the build output you got.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Qt linking problem
    By LovesTha in forum Newbie
    Replies: 3
    Last Post: 30th March 2009, 23:31
  2. Linking
    By ^NyAw^ in forum General Programming
    Replies: 7
    Last Post: 30th October 2008, 17:37
  3. Replies: 1
    Last Post: 16th September 2008, 17:29
  4. Static linking of Qt programs
    By divya balachandran in forum Qt Programming
    Replies: 0
    Last Post: 15th September 2008, 12:10
  5. Replies: 4
    Last Post: 20th February 2006, 09:11

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.