Results 1 to 12 of 12

Thread: Linking myLib with myApp

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Linking myLib with myApp

    Hi,

    I have problem linking mylib with myapp

    Here is what I have done
    Unzip samplePro.zip to get samplePro directory

    In the directory samplePro, I have two more directories
    namely lib-->contains mylibrary
    and app-->contains myApplication

    The directories contains
    lib directory-->lib.pro, mylib.cpp, mylib.h
    app directory-->main.cpp, scribble.cpp, scribble.h, scribble.pro

    I tried linking mylib to myapp, but getting some errors.

    -->What I want???
    Whenever my application runs myLib should compile first (if any changes are made), create lib.a, should be linked to myApp then app.exe should be created.

    Please tell me where I'm going wrong.
    Attached Files Attached Files

Similar Threads

  1. 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
  •  
Qt is a trademark of The Qt Company.