diff options
author | Timothy Pearson <[email protected]> | 2012-01-08 21:45:03 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-08 21:45:03 -0600 |
commit | 5e47b11f231d3b096b52355cc285e124f257986b (patch) | |
tree | 0bc94e3894ccf97b828cde2696dd7dea1cc94378 /tools/designer | |
parent | e278b858739babff5cc19ca81a661e1256d162e7 (diff) | |
download | qt3-5e47b11f231d3b096b52355cc285e124f257986b.tar.gz qt3-5e47b11f231d3b096b52355cc285e124f257986b.zip |
Enable gcc visibility support in Qt3
This partially closes Bug 696
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/shared/domtool.h | 2 | ||||
-rw-r--r-- | tools/designer/uilib/qwidgetfactory.cpp | 6 | ||||
-rw-r--r-- | tools/designer/uilib/qwidgetfactory.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/shared/domtool.h b/tools/designer/shared/domtool.h index 4fa561c..15e508d 100644 --- a/tools/designer/shared/domtool.h +++ b/tools/designer/shared/domtool.h @@ -40,7 +40,7 @@ class QDomElement; class QDomDocument; -class DomTool : public Qt +class Q_EXPORT DomTool : public Qt { public: static QVariant readProperty( const QDomElement& e, const QString& name, const QVariant& defValue ); diff --git a/tools/designer/uilib/qwidgetfactory.cpp b/tools/designer/uilib/qwidgetfactory.cpp index a1ff1c2..b7fc6e9 100644 --- a/tools/designer/uilib/qwidgetfactory.cpp +++ b/tools/designer/uilib/qwidgetfactory.cpp @@ -120,13 +120,13 @@ static QPluginManager<WidgetInterface> *widgetInterfaceManager = 0; static QMap<QString, bool> *availableWidgetMap = 0; static QStringList *availableWidgetList = 0; -QMap<QWidget*, QString> *qwf_forms = 0; +Q_EXPORT QMap<QWidget*, QString> *qwf_forms = 0; QString *qwf_language = 0; -bool qwf_execute_code = TRUE; +Q_EXPORT bool qwf_execute_code = TRUE; bool qwf_stays_on_top = FALSE; QString qwf_currFileName = ""; QObject *qwf_form_object = 0; -QString *qwf_plugin_dir = 0; +Q_EXPORT QString *qwf_plugin_dir = 0; static void setupPluginDir() { diff --git a/tools/designer/uilib/qwidgetfactory.h b/tools/designer/uilib/qwidgetfactory.h index daf5db6..220ab27 100644 --- a/tools/designer/uilib/qwidgetfactory.h +++ b/tools/designer/uilib/qwidgetfactory.h @@ -55,7 +55,7 @@ class QWidget; class QWidgetFactoryPrivate; class UibStrTable; -class QWidgetFactory +class Q_EXPORT QWidgetFactory { public: QWidgetFactory(); |