Results 1 to 2 of 2

Thread: Qt 4.5 Openssl problem

  1. #1
    Join Date
    Jun 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Qt 4.5 Openssl problem

    Hi,

    Im using Qt 4.5 on Winxp SP2 machine.

    I installed Openssl from openssl.org. After that i configured Qt as
    configure -openssl-linked -I <openssl_include_path> -L <openssl_lib_path>

    configuration is happening properly, after which im executing
    mingw32-make

    At this point im getting compilation errors when it is compiling ssl source files(qt\src\network\ssl)
    Hence my application and browser demo doest work with https sites

    Kindly suggest me the correct way to get openssl linked and get Qt apps work with https sites.

    added: Here is the console for mingw32-make

    ssl\qsslcertificate.cpp: In static member function `static QSslCertificate QSslC
    ertificatePrivate::QSslCertificate_from_X509(X509* )':
    ssl\qsslcertificate.cpp:666: error: `q_X509_get_issuer_name' was not declared in
    this scope
    ssl\qsslcertificate.cpp:666: error: `q_X509_NAME_oneline' cannot be used as a fu
    nction
    ssl\qsslcertificate.cpp:668: error: `q_X509_get_subject_name' was not declared i
    n this scope
    ssl\qsslcertificate.cpp:668: error: `q_X509_NAME_oneline' cannot be used as a fu
    nction
    ssl\qsslcertificate.cpp:670: error: `ASN1_TIME' was not declared in this scope
    ssl\qsslcertificate.cpp:670: error: `nbef' was not declared in this scope
    ssl\qsslcertificate.cpp:670: error: `X509_get_notBefore' was not declared in thi
    s scope
    ssl\qsslcertificate.cpp:671: error: `naft' was not declared in this scope
    ssl\qsslcertificate.cpp:671: error: `X509_get_notAfter' was not declared in this
    scope
    ssl\qsslcertificate.cpp:666: warning: unused variable 'q_X509_get_issuer_name'
    ssl\qsslcertificate.cpp:668: warning: unused variable 'q_X509_get_subject_name'
    ssl\qsslcertificate.cpp:670: warning: unused variable 'X509_get_notBefore'
    ssl\qsslcertificate.cpp:671: warning: unused variable 'X509_get_notAfter'
    mingw32-make[2]: *** [tmp/obj/debug_shared/qsslcertificate.o] Error 1
    mingw32-make[2]: Leaving directory `C:/Qt/2009.01/qt/src/network'
    mingw32-make[1]: *** [debug-all] Error 2
    mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/src/network'
    mingw32-make: *** [sub-network-make_default-ordered] Error 2



    Thanks in advance,
    Srikanth
    Last edited by srikanth_trulyit; 9th June 2009 at 08:27.

  2. #2
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    25
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Openssl problem

    try go read this website... maybe can help you

    http://www.trawlr.com/items/13697329...-on-windows-xp

Similar Threads

  1. Qt for Windows CE with OpenSSL support
    By Jonas in forum Installation and Deployment
    Replies: 2
    Last Post: 4th February 2010, 07:36
  2. Replies: 5
    Last Post: 19th November 2008, 17:54
  3. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  4. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.