[Qt-interest] Distributing a QT app that needs SSL on windows

Scott Aron Bloom Scott.Bloom at sabgroup.com
Wed Sep 9 07:23:39 CEST 2009


The problem is, the ODBC driver for SQL Server uses them as well, and
fails to connect securely.  

 

Unfortunately, there is no way to specify where QtNetwork dll's should
go...  Im really stumped on this one...

 

Usually I put it in the app dir as you recommend, but it kills the SQL
server connection.

 

Scott

 

From: Bill King [mailto:bill.king at nokia.com] 
Sent: Tuesday, September 08, 2009 10:11 PM
To: Scott Aron Bloom
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Distributing a QT app that needs SSL on
windows

 

I've found placing them in the directory the app/dll is located in is
the best place for application specific versions of DLL's.

Search order on windows is usually 1. local dir, 2. dirs in path, 3.
system dir.

So long as you don't install your app on the path, you should be good to
go.

On 09/09/2009 02:59 PM, ext Scott Aron Bloom wrote: 

Here is my problem, I have an app that makes HTTPS connections, and
works fine on some machines..  I distrute the DLLs from the OpenSLL
distribution package, and it will work on more machines.. HOWEVER...  On
some machines, the OpenSLL libs cause a conflict with with other SLL
libs, and for instance the ODBC connection to a SQL server fails...

 

Now, on other machines, if I don't distribute the SLL libs and they are
not already on the system I get unresolved function SSLv3_client_method
which means there are no OpenSLL dlls to be found...

 

What is the best way to distribute the SSL dlls on windows?

Scott






-- 
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090908/94305c63/attachment.html 


More information about the Qt-interest-old mailing list