Results 1 to 2 of 2

Thread: Is MSVC compiler really required to use QWebEngineView?

  1. #1
    Join Date
    Sep 2011
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5

    Default Is MSVC compiler really required to use QWebEngineView?


    I checked QtWebEngine option while installing Qt framework.
    I added QT += webenginewidgets to my project file. With my MinGW(7.3.0 64-bit for C++) compiler, I'm getting Project ERROR: Unknown module(s) in QT: webenginewidgets.
    A little searching in all the Qt related forums, I found an answer where it was mentioned, QWebEngineView Class needs MSVC compiler.

    Well, I'm really confused as it's not mentioned anywhere in the Qt documentation. Please help me resolve this error. Thank you.
    Last edited by rawfool; 4th May 2019 at 09:24.

  2. #2
    Join Date
    Jan 2006
    Graz, Austria
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Unix/X11 Windows

    Default Re: Is MSVC compiler really required to use QWebEngineView?

    The core problem with this is the underlying web engine, the Qt specific parts could easily be built with any other compiler.

    The web engine at this point is Blink/Chromium and Google only supports Windows builds with MSVC.

    I am unsure about the reasons for this as the engine's code can obviously be built with GCC on Linux or Clang on Linux and MacOS.

    The problem is of course aggravated by Windows' lack of a standard C++ ABI, so different' compilers' DLLs can't be combined into a single project.


  3. The following user says thank you to anda_skoa for this useful post:

    rawfool (4th May 2019)

Similar Threads

  1. Using Qt 5.7 with MSVC compiler
    By papercut87 in forum Qt Tools
    Replies: 0
    Last Post: 12th August 2016, 18:37
  2. Replies: 0
    Last Post: 10th June 2013, 01:54
  3. Replies: 8
    Last Post: 16th February 2011, 05:16
  4. msvc Compiler or mingw compiler
    By Ashutosh2k1 in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2011, 08:33
  5. how to set QT Creator to use MSVC++ compiler instead of mingw
    By hcetiner in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2010, 19:55

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.