PDA

View Full Version : Static QT & QSslSocket



Zygyzy
4th January 2013, 14:31
Dear driends,

today I sucessfully tried to build QT 4.8.1 statically. I did this with Visual Studio 2010 and commands: "configure -static" & "nmake". Afterwards I established a new Visual Studio project (with the help of CMake). Everthing worked fine, I could compile the project in a static way and could also include my static QT libraries.
Except one: I figured out that the class QSslSocket was not available for Visual Studio anymore. The compiler complains that it can't find the header of QSslSocket. But I took a look at the QT libaries, QtNetwork.lib was build and also qsslsocket.h was placed in the inlcude folder of QT. Furthermore it seems that CMake linked all folders correctly, too.

Question: Do I have to install OpenSSl first or something? I see there's a special parameter "-openssl" for the configuration of QT...


Regards,
zygyzy