https://bugs.webkit.org/show_bug.cgi?id=78817
Patch by Andras Becsi <andras.becsi@nokia.com> on 2012-02-21
Reviewed by Simon Hausmann.
* declarative/experimental/plugin.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108333
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-21 Andras Becsi <andras.becsi@nokia.com>
+
+ [Qt] Print warning when importing experimental WK2 APIs in QML
+ https://bugs.webkit.org/show_bug.cgi?id=78817
+
+ Reviewed by Simon Hausmann.
+
+ * declarative/experimental/plugin.cpp:
+
2012-02-20 Benjamin Poulain <benjamin@webkit.org>
Get rid of the LocalizationStrategy
public:
virtual void registerTypes(const char* uri)
{
+ qWarning("\nWARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.\n"
+ "WARNING: The experimental API will change from version to version, or even be removed. You have been warned!\n");
+
Q_ASSERT(QLatin1String(uri) == QLatin1String("QtWebKit.experimental"));
qmlRegisterUncreatableType<QWebDownloadItem>(uri, 1, 0, "DownloadItem", QObject::tr("Cannot create separate instance of DownloadItem"));