2011-03-15 Siddharth Mathur <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Symbian][WK2] Fix exporting and importing the WebProcessMainQt symbol
        https://bugs.webkit.org/show_bug.cgi?id=56417

        Use the Q_DECL_EXPORT and Q_DECL_IMPORT macros directly to make sure
        the symbol is always exported/imported.

        * WebProcess/qt/WebProcessMainQt.cpp:
        (WebKit::WebProcessMainQt):
        * qt/MainQt.cpp:

git-svn-id: svn://svn.chromium.org/blink/trunk@81186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent b5f7175b
2011-03-15 Siddharth Mathur <siddharth.mathur@nokia.com>
Reviewed by Laszlo Gombos.
[Qt][Symbian][WK2] Fix exporting and importing the WebProcessMainQt symbol
https://bugs.webkit.org/show_bug.cgi?id=56417
Use the Q_DECL_EXPORT and Q_DECL_IMPORT macros directly to make sure
the symbol is always exported/imported.
* WebProcess/qt/WebProcessMainQt.cpp:
(WebKit::WebProcessMainQt):
* qt/MainQt.cpp:
2011-03-15 Alexey Proskuryakov <ap@apple.com> 2011-03-15 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler. Reviewed by Darin Adler.
......
...@@ -48,13 +48,6 @@ ...@@ -48,13 +48,6 @@
#endif #endif
#endif #endif
#if !defined(QWEBKIT_EXPORT)
#if defined(QT_SHARED)
#define QWEBKIT_EXPORT Q_DECL_EXPORT
#else
#define QWEBKIT_EXPORT
#endif
#endif
#ifndef NDEBUG #ifndef NDEBUG
#include <QDebug> #include <QDebug>
#endif #endif
...@@ -137,7 +130,7 @@ static void initializeProxy() ...@@ -137,7 +130,7 @@ static void initializeProxy()
QNetworkProxyFactory::setUseSystemConfiguration(true); QNetworkProxyFactory::setUseSystemConfiguration(true);
} }
QWEBKIT_EXPORT int WebProcessMainQt(int argc, char** argv) Q_DECL_EXPORT int WebProcessMainQt(int argc, char** argv)
{ {
QApplication::setGraphicsSystem("raster"); QApplication::setGraphicsSystem("raster");
QApplication* app = new QApplication(argc, argv); QApplication* app = new QApplication(argc, argv);
......
...@@ -26,16 +26,8 @@ ...@@ -26,16 +26,8 @@
#include <QtGlobal> #include <QtGlobal>
#if !defined(QWEBKIT_EXPORT)
#if defined(QT_SHARED)
#define QWEBKIT_EXPORT Q_DECL_EXPORT
#else
#define QWEBKIT_EXPORT
#endif
#endif
namespace WebKit { namespace WebKit {
QWEBKIT_EXPORT int WebProcessMainQt(int argc, char** argv); Q_DECL_IMPORT int WebProcessMainQt(int argc, char** argv);
} }
// The framework entry point. // The framework entry point.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment