Results 1 to 4 of 4

Thread: QSslSocket : Having troubles

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2007
    Posts
    158
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    25

    Default Re: QSslSocket : Having troubles

    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 :
    Qt Code:
    1. sockect_ssl = new QSslSocket(this);
    To copy to clipboard, switch view to plain text mode 
    Qt Code:
    1. QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
    2. QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
    3. QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
    4. QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
    5. QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
    6. QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
    7. QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
    8. QSslSocketBackendPrivate::ensureInitialized: unable to resolve all symbols
    9. QSslSocket: cannot find ssleay32 library: QLibrary::load_sys: Cannot load ssleay32 (Le module spécifié est introuvable.).
    10. 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 :
    Qt Code:
    1. INCLUDEPATH += /openssl/include
    2. LIBS += -L/openssl/lib ssleay32.lib libeay32.lib
    To copy to clipboard, switch view to plain text mode 
    But the console returns me :
    Qt Code:
    1. C:\Qt\4.3.0\Workspace\Veilleur\SRC\MC_NB_mails>make
    2. mingw32-make -f Makefile.Release
    3. mingw32-make[1]: Entering directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_ma
    4. ils'
    5. g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
    6. oc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o "release\MC_NB_mails.exe" tmp\
    7. obj\release_shared\Gestion_comptes.o tmp\obj\release_shared\Gestion_liste_noire.
    8. o tmp\obj\release_shared\MailChecker.o tmp\obj\release_shared\main.o tmp\obj\rel
    9. ease_shared\MC_Logs.o tmp\obj\release_shared\moc_MailChecker.o -L"c:\Qt\4.3.0\l
    10. ib" -L"c:\Qt\4.3.0\lib" ssleay32.lib -leay32.lib -lQtGui4 -lQtNetwork4 -lQtCore4
    11.  
    12. g++: ssleay32.lib: No such file or directory
    13. mingw32-make[1]: *** [release\MC_NB_mails.exe] Error 1
    14. mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/Workspace/Veilleur/SRC/MC_NB_mai
    15. ls'
    16. 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.



    .
    Last edited by Nyphel; 26th June 2007 at 14:59.

Similar Threads

  1. makefile troubles
    By Walsi in forum Qt Programming
    Replies: 6
    Last Post: 12th April 2007, 15:12
  2. libqjpeg troubles
    By TheRonin in forum Installation and Deployment
    Replies: 6
    Last Post: 25th August 2006, 15:48
  3. lupdate *.pro troubles
    By jeff_s in forum Qt Programming
    Replies: 1
    Last Post: 28th July 2006, 10:07
  4. QTextEdit troubles?!
    By Jojo in forum Qt Programming
    Replies: 2
    Last Post: 21st February 2006, 16:54

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
  •  
Qt is a trademark of The Qt Company.