[SOLVED]Adding Openssl Support



  • Hi there. I want to add Openssl support to my Qt installation. I configured my QtSDK 1.1.3 like http://developer.qt.nokia.com/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc except static options. But there is no "configure.exe" or something like this.

    I need openssl and its capabilities. Which sdk is right one for this build?

    I know how to configure Qt, but in sdk files i cant find it.

    Installiation
    Mingw 32
    QtSDK 1.1.3 from binaries.

    Edit:

    Shall i install from source code ?

    Second Edit: How to solve problem

    I installed Qt 4.7.4 source via maintaince tool. Thanks trolls :D



  • The SDK is fine -- it's built with OpenSSL support. But it doesn't ship with OpenSSL, thus you need to install it by hand (and be sure that at runtime Qt can find its libraries, which usually means put the .dlls in your application folder or add the OpenSSL directory to the PATH).



  • Hi peppe. Thanks for answer. I know how to configure Qt with openssl support. But i cant find configure.exe in new installation. I'm using QtSDK 1.1.3 from http://get.qt.nokia.com/qtsdk/Qt_SDK_Win_offline_v1_1_3_en.exe

    I think, i'm using wrong sdk, or i must install it from source. Because there is no configure.exe in this package.
    Best regards.



  • You don't have to reconfigure Qt. OpenSSL is already enabled. If you want to recompile Qt (for instance, to statically link openssl into it) then you have to grab the sources and compile from scratch (do NOT use the sources inside the sdk).



  • [quote author="peppe" date="1317714974"]You don't have to reconfigure Qt. OpenSSL is already enabled. If you want to recompile Qt (for instance, to statically link openssl into it) then you have to grab the sources and compile from scratch (do NOT use the sources inside the sdk).[/quote]

    Is openssl enabled ? Can i use blowfish for encryption so ?

    In docs - http://doc.qt.nokia.com/4.7-snapshot/configure-options.html
    openssl - Compile in run-time OpenSSL support - This option denotes a default value and needs to be evaluated. If the evaluation succeeds, the feature is included.

    I need openssl cyrpto library. I need encrypt a file with qt app and decrypt with php server app. So openssl is standart for this process.

    Thanks for answers.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.