diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-24 23:18:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-24 23:18:23 +0200 |
commit | 49aac943cca03cf2b5fe37cc4c034e2d022f03c0 (patch) | |
tree | e22675634bf0cb9955a5175149c7e70e7601742c | |
parent | 0f4a1370bbe746197e5a0931b2f95b2bd72b9d79 (diff) | |
download | tqca-tls-49aac943cca03cf2b5fe37cc4c034e2d022f03c0.tar.gz tqca-tls-49aac943cca03cf2b5fe37cc4c034e2d022f03c0.zip |
Fix visibility of createProvider
This resolves Bug 1412
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | qca-tls.pro | 8 | ||||
-rw-r--r-- | qca-tls.qc | 2 | ||||
-rw-r--r-- | qca.h | 2 |
4 files changed, 7 insertions, 7 deletions
@@ -44,7 +44,7 @@ while [ $# -gt 0 ]; do done -echo "Configuring qca-tls ..." +echo "Configuring tqca-tls ..." if [ "$QC_DEBUG" = "Y" ]; then echo diff --git a/qca-tls.pro b/qca-tls.pro index c1541bf..2457746 100644 --- a/qca-tls.pro +++ b/qca-tls.pro @@ -1,8 +1,8 @@ -# qca-tls qmake profile +# tqca-tls qmake profile TEMPLATE = lib CONFIG += qt thread release plugin -TARGET = qca-tls +TARGET = tqca-tls !exists(qcaprovider.h) { Q_PREFIX = ../../src @@ -13,9 +13,9 @@ HEADERS += ($$Q_PREFIX)qcaprovider.h HEADERS = qca-tls.h SOURCES = qca-tls.cpp -DEFINES += QCA_PLUGIN +DEFINES += TQCA_PLUGIN win32:{ - DEFINES += QCA_PLUGIN_DLL OSSL_097 + DEFINES += TQCA_PLUGIN_DLL OSSL_097 INCLUDEPATH += c:\local\include LIBS += c:\local\lib\libeay32.lib c:\local\lib\ssleay32.lib } @@ -1,5 +1,5 @@ <qconf> - <name>qca-tls</name> + <name>tqca-tls</name> <profile>qca-tls.pro</profile> <noprefix/> <dep type='openssl'> @@ -49,7 +49,7 @@ # endif #endif #ifndef TQCA_PLUGIN_EXPORT -#define TQCA_PLUGIN_EXPORT extern "C" +#define TQCA_PLUGIN_EXPORT extern "C" __attribute__ ((visibility ("default"))) #endif class TQHostAddress; |