[Interest] QML, QtWebkit, Qt5 and settings problem

marek at cyberdeus.pl marek at cyberdeus.pl
Tue Oct 30 23:08:40 CET 2012


Hello

I installed 
http://releases.qt-project.org/qt5.0/beta1/qt-linux-opensource-5.0.0-beta1-x86-ubuntu1204-offline.run
then I tried to recompile by myself... maybe it's something wrong with 
me :)

I have a simple qml file:
import QtQuick 2.0
import QtWebKit 3.0

Rectangle
{
  WebView
  {
    id: view
    url: "http://www.google.com"
  }
}

everything is ok until:
i change this:
  WebView
  {
    id: view
    url: "http://www.google.com"
  }
into this:
  WebView
  {
    id: view
    url: "http://www.google.com"
    settings.javascriptEnabled: true
  }

and what it says:  Cannot assign to non-existent property "settings"

I have totally no idea why. configure flags? something missing?

Best Regards,
Marek Bronowicki



More information about the Interest mailing list