Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. "QtWebEngine is not installed" warning even though it is
Forum Updated to NodeBB v4.3 + New Features

"QtWebEngine is not installed" warning even though it is

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 1.7k Views 2 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.
  • I Offline
    I Offline
    Ilethas
    wrote on last edited by
    #1

    Hello!

    I was trying to use QtWebEngineView in a qml control however, in design mode, i get following warnings in the navigator panel:
    alt text

    This is the code for the control:

    import QtQuick 2.0
    import QtWebEngine 1.5
    
    Item {
        WebEngineView {
            id: webEngineView
            anchors.fill: parent
        }
    }
    

    I added QT += webengine to my project file and

    #include <qtwebengineglobal.h>
    ...
    QtWebEngine::initialize();
    

    code to my main.cpp file. My program does launch in debug mode with warnings but if I switch to release, it exits immediately with -1 code and outputs in the console that "QtWebEngine" module is not installed. The problem is that I did install it...
    alt text

    I use MSVC 2017 provided with Visual Studio 2017 with Qt 5.10.1 MSVC 2015 32bit to build and run my program. I read that WebEngine is not provided for MinGW but since I don't use it, the problem must lie somewhere else. Maybe somebody here encountered similar problem before?

    Thanks!

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

      Hi,

      Did you re-run qmake after adding QT += webengine ?

      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
      • I Offline
        I Offline
        Ilethas
        wrote on last edited by
        #3

        Yes, I run qmake and after that I rebuilt the project.

        jsulmJ 1 Reply Last reply
        0
        • I Ilethas

          Yes, I run qmake and after that I rebuilt the project.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Ilethas You installed ALL precompiled Qt binaries for 5.10.1 (I don't know why). Which one do you actually use?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ilethas
            wrote on last edited by
            #5

            I use precompiled Qt 5.10.1 MSVC 2015 32-bit. Well, when installing I just selected all, I probably should just install only what I need in the future. ^^

            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