Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved]building error: Unknown module (s) in QT: webkitwidgets
Forum Updated to NodeBB v4.3 + New Features

[Solved]building error: Unknown module (s) in QT: webkitwidgets

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 10.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.
  • A Offline
    A Offline
    Alex Hu
    wrote on last edited by
    #1

    Hi guys,

    I downloaded "qt-everywhere-opensource-src-5.0.2" and built it with msvc10 to D:\qt-5.0.2-msvc10-bin. And then I ran "Perl qtwebkit\Tools\Scripts\build-webkit" to build QtWebkit. I got the building result files under qtwebkit\WebKitBuild\Release. And then, I copied qtwebkit\WebKitBuild\Release\include and qtwebkit\WebKitBuild\Release\lib to D:\qt-5.0.2-msvc10-bin.
    Now I can build and run the example "network\http". But when I built the demo "webkitwidgets\previewer" I got the error: "Unknown module (s) in QT: webkitwidgets". I checked the file previewer.pro, there is the code line "QT += webkitwidgets network widgets". How can I fix this problem? thanks.

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      you shouldn't need to run qtwebkit\Tools\Scripts\build-webkit perl script. Qt build should also build webkit for you if configured correctly.
      This means that ICU libs need to be available at configure time. See "this forum post":http://qt-project.org/forums/viewthread/28211/#127057 from me.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alex Hu
        wrote on last edited by
        #3

        Thanks for your reply.
        Yes, before I built Qt5, I ran @configure -prefix D:\qt-5.0.2-msvc10-bin -debug-and-release -platform win32-msvc2012 -c++11 -icu -opengl desktop -qt-sql-sqlite -qt-zlib -qt-style-windowsvista -qt-libpng -qt-libjpeg -nomake demos -nomake examples -nomake tests -mp@ and I have also D:\icu4c-51_2-Win32-msvc10\icu\include in env INCLUDE and D:\icu4c-51_2-Win32-msvc10\icu\lib in env LIB and the env PATH has D:\icu4c-51_2-Win32-msvc10\icu\bin. After runing nmake install I didn't get any lib/include file of Webkit.
        [quote author="raven-worx" date="1370509274"]you shouldn't need to run qtwebkit\Tools\Scripts\build-webkit perl script. Qt build should also build webkit for you if configured correctly.
        This means that ICU libs need to be available at configure time. See "this forum post":http://qt-project.org/forums/viewthread/28211/#127057 from me.[/quote]

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Alex Hu
          wrote on last edited by
          #4

          Thanks, you are right. I lost some lib in my environment.
          [quote author="raven-worx" date="1370509274"]you shouldn't need to run qtwebkit\Tools\Scripts\build-webkit perl script. Qt build should also build webkit for you if configured correctly.
          This means that ICU libs need to be available at configure time. See "this forum post":http://qt-project.org/forums/viewthread/28211/#127057 from me.[/quote]

          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