Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QtWebKit module won't be found?
Forum Update on Monday, May 27th 2025

QtWebKit module won't be found?

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.4k 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.
  • B Offline
    B Offline
    bas0707
    wrote on last edited by
    #1

    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
    0

    • Login

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