Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Missing modules in qml viewer
Forum Updated to NodeBB v4.3 + New Features

Missing modules in qml viewer

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 2.3k Views 1 Watching
  • 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.
  • kidproquoK Offline
    kidproquoK Offline
    kidproquo
    wrote on last edited by
    #1

    I just installed QtCreator 2.2 a couple of days ago and I have a strange issue with the qml viewer.

    If, for example, I use a Web View in my qml file it will show up fine in the designer and load the page etc just fine. But when I go to try out my project in the qml viewer (by hitting the big green "play" arrow) it complains about not being able to find the QtWebKit module.

    The same thing happens if I try to import qml 1.0 instead of qt 4.7, for example.

    Do I need to have these modules installed separately to Creator to use them in the viewer, or is something else causing this issue?

    I am on Ubuntu 10.10 (64 bit) and also have the Qt SDK 1.1 installed.

    1 Reply Last reply
    0
    • kidproquoK Offline
      kidproquoK Offline
      kidproquo
      wrote on last edited by
      #2

      I seem to have found my problem. Apparently if I change the "import QmlProject 1.0" in the *.qmlproject file to "import QmlProject 1.1" everything works just fine.

      I think this might be a side effect of creating the project in the Qt SDK 1.1 (with creator 2.1) and then working with it in Creator 2.2 or something.

      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