Results 1 to 9 of 9

Thread: Static linking problems.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Location
    Moscow, Russia
    Posts
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Static linking problems.

    Hi!
    I am trying to build static .exe using Qt 4.3.2 under Windows Xp. Everything was ok with dynamic linking. My steps were: "configure -static" and "mingw32-make" to rebuild Qt. After rebuilding I tried to compile my program and got error:
    Qt Code:
    1. In file included from main.cpp:2:
    2. stat.h: In member function `void Stat::sendData(const QString&, const QString&)'
    3. :
    4. stat.h:41: error: `QSslSocket' undeclared (first use this function)
    5. stat.h:41: error: (Each undeclared identifier is reported only once for each fun
    6. ction it appears in.)
    7. stat.h:41: error: `socket' undeclared (first use this function)
    8. stat.h:41: error: `QSslSocket' has not been declared
    To copy to clipboard, switch view to plain text mode 

    line 41 in stat.h:

    Qt Code:
    1. QSslSocket *socket = new QSslSocket;
    To copy to clipboard, switch view to plain text mode 
    Last edited by Unplugged; 29th January 2008 at 09:19.

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Replies: 2
    Last Post: 4th December 2007, 00:34
  3. Replies: 2
    Last Post: 8th March 2007, 22:22
  4. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 08:52
  5. Replies: 4
    Last Post: 20th February 2006, 09:11

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.