Results 1 to 2 of 2

Thread: Creating and Using a Static Library (QT4.7.4, QT Creator 2.2.1, Red Hat Linux 6.1)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Creating and Using a Static Library (QT4.7.4, QT Creator 2.2.1, Red Hat Linux 6.1

    Your updated example worked fine using Qt 4.7.4 & Qt Creator 2.2.1 on my Debian Sid system.
    Qt Code:
    1. #include <QDebug>
    2. #include "SimpleClass.h"
    3.  
    4. int main()
    5. {
    6. SimpleClass sc;
    7. qDebug() << sc.ReturnNumber();
    8. return 0;
    9. }
    To copy to clipboard, switch view to plain text mode 
    Don't know anything about Red Hat but maybe this will help: link

  2. The following user says thank you to norobro for this useful post:

    bruceariggs (15th September 2011)

Similar Threads

  1. Replies: 2
    Last Post: 19th February 2011, 11:26
  2. Replies: 1
    Last Post: 18th February 2011, 11:08
  3. creating and using static library
    By indomie_seleraku in forum Newbie
    Replies: 3
    Last Post: 18th December 2010, 09:05
  4. Replies: 0
    Last Post: 4th November 2009, 07:45
  5. Creating Static library with QT
    By QPlace in forum Qt Programming
    Replies: 2
    Last Post: 21st December 2008, 04:50

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.