Commit 94dcef7f authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-05-13 Tor Arne Vestbø <tavestbo@trolltech.com>

        Reviewed by Simon

        Fix QtWebKit build on Qt embedded.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1db2afca
2008-05-13 Tor Arne Vestbø <tavestbo@trolltech.com>
Reviewed by Simon
Fix QtWebKit build on Qt embedded.
* WebCore.pro:
* platform/FileSystem.h:
* platform/qt/FileSystemQt.cpp:
2008-05-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon.
......@@ -84,7 +84,7 @@ qt-port: !contains(DEFINES, ENABLE_SVG_USE=.): DEFINES += ENABLE_SVG_USE=1
gtk-port:DEFINES += ENABLE_SVG=0
qt-port:contains(QT_CONFIG, phonon):DEFINES += ENABLE_VIDEO=1
else:DEFINES += ENABLE_VIDEO=0
qt-port:unix:!mac: DEFINES += XP_UNIX ENABLE_NETSCAPE_PLUGIN_API=1
qt-port:unix:!mac:!embedded: DEFINES += XP_UNIX ENABLE_NETSCAPE_PLUGIN_API=1
gtk-port:x11:plugins: DEFINES += XP_UNIX ENABLE_NETSCAPE_PLUGIN_API=1
qt-port: DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1
......
......@@ -78,7 +78,7 @@ struct PlatformModuleVersion {
typedef QFile* PlatformFileHandle;
const PlatformFileHandle invalidPlatformFileHandle = 0;
#if defined(Q_WS_X11) || defined(Q_WS_MAC)
#if defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_WS_QWS)
typedef QLibrary* PlatformModule;
typedef unsigned PlatformModuleVersion;
#elif defined(Q_OS_WIN32)
......
......@@ -127,7 +127,7 @@ int writeToFile(PlatformFileHandle handle, const char* data, int length)
return 0;
}
#if defined(Q_WS_X11) || defined(Q_WS_MAC)
#if defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_WS_QWS)
bool unloadModule(PlatformModule module)
{
if (module->unload()) {
......
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