| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hello, How can I make my build dependend on if Ssl-Support exists? Thanks in advance -- [ signature omitted ]
Attachment:
pgpvWz3fVt8iK.pgp
Description: PGP signature
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 ]