diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-09-05 22:31:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-09-05 22:31:11 +0200 |
commit | 7085e78f62c562846a20b9404795034a3ad66113 (patch) | |
tree | d4bbb384a0d46540b7cec3d40e277344a67e77cf /kcm_gtk | |
parent | 49ce296ac51321833c363cc65176070971c5f539 (diff) | |
download | gtk-qt-engine-7085e78f62c562846a20b9404795034a3ad66113.tar.gz gtk-qt-engine-7085e78f62c562846a20b9404795034a3ad66113.zip |
Add option WITH_GCC_VISIBILITY.
Fix building with hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kcm_gtk')
-rw-r--r-- | kcm_gtk/kcmgtk.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp index c2dcac0..2d35870 100644 --- a/kcm_gtk/kcmgtk.cpp +++ b/kcm_gtk/kcmgtk.cpp @@ -18,6 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#if defined( HAVE_CONFIG_H ) +# include "config.h" +#endif + #include <tqlayout.h> #include <tdelocale.h> @@ -68,7 +72,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_gtk, KcmGtkFactory("gtk"))*/ extern "C" { - TDECModule *create_kcmgtk( TQWidget * parent, const char * name ) + KDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name ) { TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" ); return new KcmGtk( parent, "kcmgtk" ); |