Results 1 to 3 of 3

Thread: Qt4.4 QSsl Won't Compile with MSVC2008

  1. #1
    Join Date
    Jan 2006
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Qt4.4 QSsl Won't Compile with MSVC2008

    Hi, I'm trying to build Qt 4.4.0 on windows using msvc2008.

    c:\usr\lib\Qt\4.4.0>configure -openssl-linked -I C:/usr/lib/openssl/0.9.8g/include -L C:/usr/lib/openssl/0.9.8g/lib -direct3d -platform win32-msvc2008

    I have tried both -openssl and -openssl-linked, same results.

    http://surye.com/tmp/openssl_errors.txt

    I have tried everything I can think of, any pointers would be appreciated.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt4.4 QSsl Won't Compile with MSVC2008

    Are these openssl sources/libraries compatible with your compiler? Is there a specific reason for specifying your own openssl tree? AFAIR Qt contains openssl sources in its own source tree.

  3. #3
    Join Date
    Jan 2006
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt4.4 QSsl Won't Compile with MSVC2008

    Yes they are, I built the lib myself with msvc2008, and ran all the tests, which passed. And if I don't specify my own libs, I get a lot of the same errors, and also:

    Qt Code:
    1. c:\usr\lib\qt\4.4.0\src\network\ssl\qsslsocket_openssl_p.h(77) : fatal error C10
    2. 83: Cannot open include file: 'openssl/asn1.h': No such file or directory
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02

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.