Results 1 to 9 of 9

Thread: I got two problems when I used static compiled library of QT4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: I got two problems when I used static compiled library of QT4

    Quote Originally Posted by qintm
    I got two problems when I used static compiled library of QT4. The first one is the error in using static compile and link.
    If you answer the questions asked, I might be able to help. Asking the same question again in a new thread will probably not get you anywhere. There's an issue with -static. Have you somehow added -static anywhere, except of course for the -static option of configure?

    Quote Originally Posted by qintm
    In order to test the linking of static library, I used the program “complexwizard” which is belong to QT4. The error is as below:
    Ah! The complexwizard example should have been built while building Qt itself. Isn't that the case?

    OK, I understand Qt has been built without problems. You now have problems linking your own programs (or Qt examples) using the -static linker option which you have added yourself. Am I correct?
    Last edited by wysota; 20th April 2006 at 08:54. Reason: Thread merge

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. Compiling QCA as static library
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2008, 17:32
  3. Replies: 22
    Last Post: 8th October 2008, 13:54
  4. Replies: 16
    Last Post: 23rd May 2008, 10:12
  5. Building qt program with static library
    By JonathanForQT4 in forum Newbie
    Replies: 2
    Last Post: 22nd June 2007, 23:15

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.