Hi everyone
I want to build Qt 4.8.5 statically and it’s done. Now, I config new qmake for Qt creator. But when I compile my application, I get this error
error: 'QSslCertificate' has not been declared
I’m using a QSslCertificate object in my project. The compiler with new static qmake doesn’t recognize this class. I have included
#include <QtCore>
#include <QtGui>
#include <QtNetwork/QSslCertificate>
#include <QtNetwork/QSslKey>
and no errors found when using shared library (I have both shared and static library in seperated path).
Any problems with when ./configure parameter when I do build statically:
./configure -prefix /usr/local/Trolltech/Qt-4.8.5_static -largefile -static -qt-libjpeg -qt-libpng -qt-libmng -qt-zlib -debug-and-release -phonon -phonon-backend -svg -dbus -script -qt-sql-mysql -multimedia -audio-backend -opengl -stl -glib -xrender -xshape -xcursor -xinput -xrandr -xfixes -xsync -xkb -xmlpatterns -fontconfig -glib -mitshm -sm -pch -nis -cups -gtkstyle -nomake demos -nomake examples -nomake tools
How can I build statically Qt library with all libraries?
Please help me!!
Thank you
↧