Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator gives syntax error for QtWebKit 3.0
QtWS25 Last Chance

Qt Creator gives syntax error for QtWebKit 3.0

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Ghost
    wrote on last edited by
    #1

    I am using the latest Qt 5.1 release on Windows with VC2010 compiler. My sample project uses QtQuick 2.0 and QtWebKit 3.0.

    As per documentation, I typed in onLoadingChanged to keep track of the loading progress. However, Qt Creator draws a red line under onLoadingChanged, saying "invalid property name 'onLoadingChanged'. (M16)".

    Here is a screenshot highlighting the message:

    !http://i.stack.imgur.com/oamm0.png()!

    The mystery is, the code still works when I run it! So it seems to be a Qt Creator issue. Can anyone provide me some solution on it?

    Bhoot

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You can always file a bug report about things like that:-) Developers will definitely see bug reports, but they will most likely not run into issues reported here.

      https://bugreports.qt-project.org/

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Ghost
        wrote on last edited by
        #3

        Yeah, of course. I decided to file a bug report once I was sure that this issue was unheard of. I guess that is the case as nobody has replied to this thread as of yet. I will still wait for a day before filing a bug.

        Bhoot

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Please check the bug tracker if you want to make sure there are no duplicates.

          If you get responses here, then it will be from users that ran into the same issue before, but usually not from somebody with a good idea about which bugs are open.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fawzi
            wrote on last edited by
            #5

            There was a problem and the plugins.qmltypes file was not deployed to the qml directory, that is fixed in stable, and will be fixed in 5.3.1, for now if you manually copy the file from the sources ( qtwebkit/Source/WebKit/qt/declarative/plugins.qmltypes ) and it should work already now

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved