Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QtWebKit module won't be found?

    Qt WebKit
    1
    1
    1288
    Loading More Posts
    • 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.
    • B
      bas0707 last edited by

      Hello,

      I'm making my first QtQuick application. One of the features is using a WebView.
      I design my application on a Windows PC with Qt 4.8.4 library.
      Then I compile my application for a Linux platform which has Qt 4.8.2 library included.

      As long as I don't use QtWebKit, I can compile and run my software on the platform. But using the QtWebKit gives an error on the platform (though it works on the windows PC).

      In one of my .qml files I do "import QtWebKit 1.0" for using the WebView element.
      Now when i cross compile it on my platform, launching the application gives the following message:
      "module "QtWebKit" is not installed"

      The QtWebKit plugin is what i suppose the only requirement to use the WebView element?
      On the windows PC i have a folder "4.8.4\imports\QtWebKit" which holds the qmlwebkitplugin files.
      On the linux platform i have a folder "Trolltech\imports\QtWebKit" which holds a libqmlwebkitplugin.so and a qmldir file (plugin qmlwebkitplugin).

      I set some environment variables:
      QTWEBKIT_PLUGIN_PATH="/usr/local/Trolltech/imports"
      QT_DEBUG_PLUGINS=1

      When running with these settings I receive the same message, also I don't receive ANY information about the debug plugins setting which i have set.

      Does anyone have a solution for this?
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post