Results 1 to 2 of 2

Thread: Undefined reference problem

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Undefined reference problem

    Hello guys
    I am using Qt 4.7 and iam facing few problems while building a application.
    I have two apllications one is depending on other.
    First application uses QNetworkConfiguration class and is building properly.
    Second application uses first application's .so file.
    But while building second appication iam getting error like
    unedfined refernce to QNetworkConfiguration::allConfigurations(QFlags<QN etworkConfiguration::StateFlags>)Const.

    I have included QNetwork/QNetworkConfigurationManager.

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Undefined reference problem

    I guess you forgot to link your project to the network module, so check in your .pro file if you have:
    Qt Code:
    1. QT += network
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. undefined reference
    By deepakswaroop in forum Newbie
    Replies: 1
    Last Post: 2nd March 2011, 06:46
  2. Replies: 4
    Last Post: 27th October 2010, 19:08
  3. Replies: 2
    Last Post: 29th June 2010, 18:36
  4. undefined reference
    By jayreddy in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2009, 13:45
  5. Problem: Undefined reference
    By stiank81 in forum Qt Programming
    Replies: 4
    Last Post: 16th February 2006, 14:17

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.