The debug informations allowed me to adjust 3 connect declarations for my Signals/Slots... But they're still not called.
Moreover, for the following source code I get some debug advices :
sockect_ssl = new QSslSocket(this);
sockect_ssl = new QSslSocket(this);
To copy to clipboard, switch view to plain text mode
QSslSocket
: cannot find ssleay32 library
: QLibrary::load_sys: Cannot load ssleay32
(Le module spécifié est introuvable.
).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket
: cannot find ssleay32 library
: QLibrary::load_sys: Cannot load ssleay32
(Le module spécifié est introuvable.
).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket
: cannot find ssleay32 library
: QLibrary::load_sys: Cannot load ssleay32
(Le module spécifié est introuvable.
).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket
: cannot find ssleay32 library
: QLibrary::load_sys: Cannot load ssleay32
(Le module spécifié est introuvable.
).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket
: cannot find ssleay32 library
: QLibrary::load_sys: Cannot load ssleay32
(Le module spécifié est introuvable.
).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
To copy to clipboard, switch view to plain text mode
It seems that I should make a link between my app (and more generally Qt, because I would like to recompile it in -release -static modes) and the openSSL library... But I can't achieve to do that.
I suppose I shoul modifiy my .pro file, so did I, adding the following lines :
INCLUDEPATH += /openssl/include
LIBS += -L/openssl/lib ssleay32.lib libeay32.lib
INCLUDEPATH += /openssl/include
LIBS += -L/openssl/lib ssleay32.lib libeay32.lib
To copy to clipboard, switch view to plain text mode
But the console returns me :
C:\Qt\4.3.0\Workspace\Veilleur\SRC\MC_NB_mails>make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_ma
ils'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o "release\MC_NB_mails.exe" tmp\
obj\release_shared\Gestion_comptes.o tmp\obj\release_shared\Gestion_liste_noire.
o tmp\obj\release_shared\MailChecker.o tmp\obj\release_shared\main.o tmp\obj\rel
ease_shared\MC_Logs.o tmp\obj\release_shared\moc_MailChecker.o -L"c:\Qt\4.3.0\l
ib" -L"c:\Qt\4.3.0\lib" ssleay32.lib -leay32.lib -lQtGui4 -lQtNetwork4 -lQtCore4
g++: ssleay32.lib: No such file or directory
mingw32-make[1]: *** [release\MC_NB_mails.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_mai
ls'
mingw32-make: *** [release] Error 2
C:\Qt\4.3.0\Workspace\Veilleur\SRC\MC_NB_mails>make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_ma
ils'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o "release\MC_NB_mails.exe" tmp\
obj\release_shared\Gestion_comptes.o tmp\obj\release_shared\Gestion_liste_noire.
o tmp\obj\release_shared\MailChecker.o tmp\obj\release_shared\main.o tmp\obj\rel
ease_shared\MC_Logs.o tmp\obj\release_shared\moc_MailChecker.o -L"c:\Qt\4.3.0\l
ib" -L"c:\Qt\4.3.0\lib" ssleay32.lib -leay32.lib -lQtGui4 -lQtNetwork4 -lQtCore4
g++: ssleay32.lib: No such file or directory
mingw32-make[1]: *** [release\MC_NB_mails.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_mai
ls'
mingw32-make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode
I get the same error with openSSL installed in "C:\" or "C:\Program Files\".
I've tried to create a new OPENSSLDIR environment variable, without success.
.
Bookmarks