Results 1 to 8 of 8

Thread: QT Creator - Creating and Using LIBS

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jul 2009
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT Creator - Creating and Using LIBS

    Thanks for the replies everyone...

    @ yogeshgokul:
    I've added the lines you recommended. I'm not quite sure of the syntax for the LIBS though...here is what I have right now

    Qt Code:
    1. win32:INCLUDEPATH += ../test2Library/test2library
    2. win32:debug:LIBS += -L../test2Library/test2library/debug
    3. LIBS += -ltest2Library
    To copy to clipboard, switch view to plain text mode 

    ...and it seems to build fine but still not run

    @ wysota: I'm not sure if I add that line to the library pro or the mainProject pro?

    Update

    If I copy the dll file into the same folder as the mainProject.exe then everything runs in the IDE. However, if I remove the dll and leave it in it's build location then I get the error "exited with code -1073741515"

    Can you tell me if there is something else I should set? Does the exe know to look for the dll in location specified by LIBS?
    Last edited by floyd.pepper; 22nd July 2009 at 19:34.

Tags for this Thread

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.