Results 1 to 5 of 5

Thread: Building Qt with SSL Support

  1. #1
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation Building Qt with SSL Support

    When I downloaded the Qt SDK it had SSL support built in, and I used it successfully to read with auth my Gmail inbox xml feed.

    However, I also needed to use Phonon, so I had to rebuild with my VS2008 compiler. I didn't realize, but this removed SSL support. If I configure with the following options, I see "OpenSSL support... no":
    Qt Code:
    1. configure -phonon -no-webkit -platform win32-msvc2008 -opensource
    To copy to clipboard, switch view to plain text mode 
    (Qt 4.5.2 + MSVC 2008 breaks WebKit)

    How can I get it back? I tried configuring with
    Qt Code:
    1. --openssl -I "my/path/to/openssl/include"
    To copy to clipboard, switch view to plain text mode 
    but it still fails, this time with general C++ missing-class messages. Is there a particular OpenSSL version I need to use? Or something else I'm missing?

  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: Building Qt with SSL Support

    Do you have OpenSSL libraries built for MSVC?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    plucas (13th July 2009)

  4. #3
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building Qt with SSL Support

    Ach... I think not... Now it's painfully clear what I missed. ><

    I need to build the libs and link those in... for some reason I was thinking the included files had what was needed but it's obvious that those are for using the openssl lib. I'll work on this.

    Thanks. ><

  5. #4
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building Qt with SSL Support

    It is still failing after building. This is how I'm building:
    Qt Code:
    1. del buildlog-configure.txt
    2. del buildlog-nmake.txt
    3. nmake confclean
    4. configure -phonon -no-webkit -platform win32-msvc2008 -opensource -openssl -I "E:\dev\sdk\openssl\include" -L "E:\dev\sdk\openssl\out32dll" > buildlog-configure.txt
    5. nmake > buildlog-nmake.txt
    To copy to clipboard, switch view to plain text mode 

    Both paths are correct, and the out32dll path is populated.

    Here is the output from configure: Paste
    Here is the output from nmake: Paste

  6. #5
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building Qt with SSL Support

    Well it turns out that I hadn't 'make install'd openssl. All of the files in /include were blank, but existed. Thus, my compiler didn't raise an error until it just couldn't find the classes.

    I would have noticed if they didn't exist, but I didn't since they were just empty. I 'make installed' and the compiling appears to be succeeding.

Similar Threads

  1. Installation Problem
    By QbelcorT in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd April 2010, 09:04
  2. Qt 4.4.3 commercial on Kubuntu 8.10
    By Micawber in forum Installation and Deployment
    Replies: 5
    Last Post: 17th February 2010, 01:02
  3. Problem building qt embedded for WinCE and VS2005
    By high_flyer in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 5th June 2009, 01:04
  4. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  5. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 11:35

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.