Results 1 to 2 of 2

Thread: Is MSVC compiler really required to use QWebEngineView?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Is MSVC compiler really required to use QWebEngineView?

    Hi,

    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 10:24.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    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.

    Cheers,
    _

  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, 19:37
  2. Replies: 0
    Last Post: 10th June 2013, 02:54
  3. Replies: 8
    Last Post: 16th February 2011, 06:16
  4. msvc Compiler or mingw compiler
    By Ashutosh2k1 in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2011, 09: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, 20:55

Tags for this Thread

Bookmarks

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.