Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2007
Howto get the configuration of QT inside a project file


Message 1 in thread

Hello,

How can I make my build dependend on if Ssl-Support exists?

Thanks in advance
-- 
 [ signature omitted ] 

Attachment: pgpvWz3fVt8iK.pgp
Description: PGP signature


Message 2 in thread

On mandag den 5. November 2007, Ronny Brendel wrote:
> How can I make my build dependend on if Ssl-Support exists?

There is no qmake variable that can tell you if ssl support is there or not. 
You need to make a check script that runs before qmake. I would make the 
output of the script be a .pri file (qmake include file) that sets a define 
like this:

DEFINES += SSL_SUPPORT=1

In your .pro file you include this file, and exit if it doesn't exist.

Bo.

-- 
 [ signature omitted ]