Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qt Webkit troubleshoots
Qt 6.11 is out! See what's new in the release blog

Qt Webkit troubleshoots

Scheduled Pinned Locked Moved Unsolved QtWebEngine
4 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    Batmaaaan
    wrote on last edited by
    #1

    hello,
    I'm using Qt Creator 4.10.1 in Windows 7 ( Qt version 5.13.1 (MSVC 2017, 32 bit) ).
    I'm triying to make a navigator app for Windows.
    When I try to use the " webenginewidgets " in my *.pro file and execute the qmake I have this error " Unknown module in QT : webenginewidgets ".
    I verrified if the " Webkit" is installed in the QT directory, it is.
    some proposed to use the MSVC 2013 at least. I have MSVC 2015 and 2017 installed and do have a VS 2017 installed in my laptop ( but I see an exclamation point beside it in the Tools/Options/kits/QT versions and a message that this compiler can't produce any code for this QT version" , only MSVC 2015 32bits and MINGW work correctlly).

    my *.pro file:

    FORMS += \
        mainwindow.ui
    
    HEADERS += \
        mainwindow.h
    
    SOURCES += \
        main.cpp \
        mainwindow.cpp
    
    QT += widgets webenginewidgets
    
    CONFIG += c++11 
    

    the error I'm getting " Unknown module(s) in QT: webenginewidgets "

    here are some images to help you to understand:

    MainWindows.cpp

    4.JPG

    1.JPG

    3.JPG

    1.JPG

    Can any one propose a solution or guide me to find one?

    Best regards.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      IIRC, Chromium which is the base of Qt WebEngine requires VS2017, so you have to use that build of Qt to use QtWebEngine.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        IIRC, Chromium which is the base of Qt WebEngine requires VS2017, so you have to use that build of Qt to use QtWebEngine.

        B Offline
        B Offline
        Batmaaaan
        wrote on last edited by
        #3

        @SGaist
        Hi and thank you for your answer,
        Do you mean to use Qt framework on VS 2017 ( cause I already have VS 2017 installed ) or should I use a Visual Studio 2017 compiler on QT creator since I'm using it in this case?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I meant use the Qt version pre-built with VS2017. If you are already using Qt Creator with the VS2017 compiler, then it's all fine.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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