Results 1 to 13 of 13

Thread: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Hi I'm new here,

    I created qt project that will use any url. It works in http, but i'm stuck in https, I tried research and googling the issue about https, there are bunch of things about it such as downloading the OpenSSL and then recompiling, configuring, linking whatever the Qt itself and I'm so confuse for the information . I need a bit of step by step proceedure in installing/configuring/linking OpenSSL to Qt so that i can use https. Is someone there can provide me detailed procedure?

    Thanks.. sorry for my English

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

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Did you build Qt yourself or are you using a pre-built binary release?
    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. #3
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    I'm using a pre-built binary release. What do you mean by build Qt by myself? Do you mean configuring and installing Qt through terminal commands?

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

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Quote Originally Posted by shino14 View Post
    I'm using a pre-built binary release.
    Then just have OpenSSL in case of Linux or equivalent in case of Windows available in your system and Qt will pick that up.

    What do you mean by build Qt by myself? Do you mean configuring and installing Qt through terminal commands?
    Configuring, building and installing.
    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.


  5. #5
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Thanks for that,

    I've already installed OpenSSL on default location and i don't know what to do next.
    I've just read about CONFIG += -openssl-linked but it doesn't work. Do i need to include the libraries of OpenSSL to .pro file?

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

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Quote Originally Posted by shino14 View Post
    I've already installed OpenSSL on default location and i don't know what to do next.
    You don't have to do anything else.

    I've just read about CONFIG += -openssl-linked but it doesn't work.
    There is no such option for CONFIG. The option you mention is for building Qt.

    Do i need to include the libraries of OpenSSL to .pro file?
    No.
    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.


  7. #7
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Ok, that start make sense to me,

    By the way I installed Qt using an executable file: Qt_SDK_Lin32_offline_v1_1_2_en.run.
    Let say i want to reinstall it again and i want to use building Qt based on what you've mentioned earlier. Can you give procedure steps of configuring, building and installing Qt.?

    Thanks.

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

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    What do you mean by "use building Qt"?
    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.


  9. #9
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    build Qt by myself you said, configuring, building and installing.

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

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    I think you are confusing some terms. There is no "reinstall" if you want to "configure, build and install". What is the reason you want to build Qt yourself?
    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.


  11. #11
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Configuring/Linking OpenSSL to Qt 4 in Ubuntu

    Well, I just only want to fix my issue. Enabling HTTPS in my Qt project, no matter what and how many process in Qt to enable this its fine, at least I've learn something.

Similar Threads

  1. Replies: 1
    Last Post: 13th December 2014, 17:08
  2. Replies: 1
    Last Post: 20th May 2014, 06:27
  3. installing and configuring Qt on a laptop running Ubuntu 12.04
    By modoMojo in forum Installation and Deployment
    Replies: 5
    Last Post: 20th June 2012, 09:29
  4. Qt Creator Linking fails on Ubuntu Karmic
    By kevinchannon in forum Qt Tools
    Replies: 1
    Last Post: 29th March 2010, 09:34
  5. Problem configuring qt for static linking.
    By Netich in forum Qt Programming
    Replies: 4
    Last Post: 11th October 2009, 23:55

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.