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:
In file included from main.cpp:2:
stat.h: In member function `void Stat::sendData(const QString&, const QString&)'
:
stat.h:41: error: `QSslSocket' undeclared (first use this function)
stat.h:41: error: (Each undeclared identifier is reported only once for each fun
ction it appears in.)
stat.h:41: error: `socket' undeclared (first use this function)
stat.h:41: error: `QSslSocket' has not been declared
In file included from main.cpp:2:
stat.h: In member function `void Stat::sendData(const QString&, const QString&)'
:
stat.h:41: error: `QSslSocket' undeclared (first use this function)
stat.h:41: error: (Each undeclared identifier is reported only once for each fun
ction it appears in.)
stat.h:41: error: `socket' undeclared (first use this function)
stat.h:41: error: `QSslSocket' has not been declared
To copy to clipboard, switch view to plain text mode
line 41 in stat.h:
QSslSocket *socket = new QSslSocket;
QSslSocket *socket = new QSslSocket;
To copy to clipboard, switch view to plain text mode
Bookmarks