Results 1 to 10 of 10

Thread: how to use static library in qt4?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    74
    Thanks
    23
    Thanked 2 Times in 2 Posts

    Default Re: how to use static library in qt4?


  2. #2
    Join Date
    Dec 2008
    Location
    Paris, France
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to use static library in qt4?

    but what confusing me is why
    qmake QT+=uitools ;qmake;make;
    cann't work
    According to the documentation, the project file should have CONFIG+=uitools (not QT+=uitools)
    See http://doc.trolltech.com/4.5/qtuitools.html

  3. The following user says thank you to daniel-verite for this useful post:

    hashb (28th October 2009)

  4. #3
    Join Date
    Jun 2009
    Posts
    74
    Thanks
    23
    Thanked 2 Times in 2 Posts

    Default Re: how to use static library in qt4?

    Hi Daniel-verite,

    It works! !
    Thanks all very much !

    Best regards,
    hb

  5. #4
    Join Date
    Apr 2008
    Posts
    35
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to use static library in qt4?

    it would be easy to add CONFIG += uitools to project file if its not generated automatically..

Similar Threads

  1. QMAKE: Building static library without -fPIC
    By rainman110 in forum Qt Programming
    Replies: 1
    Last Post: 2nd May 2012, 16:07
  2. Extending a plugin in a static library
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 25th March 2010, 15:10
  3. Replies: 2
    Last Post: 7th September 2009, 21:13
  4. Compiling QCA as static library
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2008, 17:32
  5. Replies: 16
    Last Post: 23rd May 2008, 10:12

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.