Pages

Wednesday, September 11, 2013

Activate QtWebKit module for Qt Quick after manually building Qt inWindows

After building Qt from source code, you’ll find out that Qt Creator will complain that “module QtWebKit is not installed” for your Qt WebKit 3.0 applications.

In this case, follow the order here as a remedy:

  1. Copy jsc.exe and QtWebBrowser.exe in qtwebkit/bin to qtbase/bin
  2. Copy QtWebKit directory from qtwebkit/import to qtbase/qml
  3. in qtbase/qml/QtWebKit, make a new file named qmldir, and write down following:
    module QtWebKit
    plugin qmlwebkitplugin
  4. Try your code
  5. PROFIT! :)

No comments:

Post a Comment