Add KDE_EXPORT to public library symbols.

This fix build with gcc hidden visibility.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 5 years ago
parent bbe9bf4b3b
commit 1c40516d66
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -48,7 +48,7 @@ endif( )
##### optional stuff ############################
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
option( WITH_OPENVPN "Enable openvpn support" ${WITH_ALL_OPTIONS} )
option( WITH_PPTP "Enable pptp support" ${WITH_ALL_OPTIONS} )
option( WITH_VPNC "Enable vpnc support" ${WITH_ALL_OPTIONS} )

@ -26,8 +26,9 @@
#define TDENETWORKMANAGER_PLUGIN_H
#include <tqobject.h>
#include <kdemacros.h>
class Plugin : public TQObject
class KDE_EXPORT Plugin : public TQObject
{
Q_OBJECT

@ -35,7 +35,7 @@
#define TDENETWORKMANAGER_VPNPLUGIN "TDENetworkManager/VPNPlugin"
class VPNConfigWidget : public TQWidget
class KDE_EXPORT VPNConfigWidget : public TQWidget
{
Q_OBJECT
@ -51,7 +51,7 @@ class VPNConfigWidget : public TQWidget
virtual bool isValid(TQStringList&);
};
class VPNAuthenticationWidget : public TQWidget
class KDE_EXPORT VPNAuthenticationWidget : public TQWidget
{
Q_OBJECT
@ -65,7 +65,7 @@ class VPNAuthenticationWidget : public TQWidget
virtual bool needsUserInteraction();
};
class VPNPlugin : public Plugin
class KDE_EXPORT VPNPlugin : public Plugin
{
Q_OBJECT
@ -79,4 +79,3 @@ class VPNPlugin : public Plugin
#endif /* TDENETWORKMANAGER_VPNPLUGIN_H */

Loading…
Cancel
Save