Results 1 to 3 of 3

Thread: qmake: removing --no-undefined option for libs.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Platforms
    MacOS X Unix/X11
    Thanks
    1
    Thanked 52 Times in 52 Posts

    Default Re: qmake: removing --no-undefined option for libs.

    Edit the appropriate mkspec from Qt. You can find it in the mkspecs-directory of your Qt installation.
    It's nice to be important but it's more important to be nice.

  2. #2
    Join Date
    Dec 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qmake: removing --no-undefined option for libs.

    That's done the trick. I editted "g++.conf" in "/usr/share/qt4/mkspecs/common", so the line containing "QMAKE_LFLAGS += -Wl,--no-undefined" was changed to remove the --no-undefined bit.

    Thanks for the help.

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 15:22
  2. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 18:33
  3. MS Sql native driver??
    By LordQt in forum Qt Programming
    Replies: 4
    Last Post: 9th October 2007, 14:41
  4. error undefined reference ...............
    By amit_pansuria in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2007, 15:28
  5. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 20: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
  •  
Qt is a trademark of The Qt Company.