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

블로그를 이전합니다

뭐, 이런 작은 변방의 블로그에 관심있으신 분들은 아무도 없으시리라 생각합니다만...... (웃음) 블로그 플랫폼을 블로거에서 dev.to로 옮겼습니다. 새 URL은 아래와 같습니다: https://dev.to/teminian 새로운 거처에서 뵙겠습니...

Popular in Code{nested}