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. Embed a QWebEngineView in a VS dialog box
Forum Updated to NodeBB v4.3 + New Features

Embed a QWebEngineView in a VS dialog box

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 237 Views
  • 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.
  • T Offline
    T Offline
    ThierryH
    wrote on last edited by
    #1

    Hi,
    I'm writing a program in Visual Studio 2019 inside which I have many dialog boxes defined by DIALOGEX (ex.: "IDD_VIEW_BROWSER DIALOGEX, ...")
    In same time, I'm writing a plugin in using Qt 5.15.2 x86 for VS2019, in this one, I defined a QWebEngineView and a QWebEnginePage
    I compiled successfully the "mini browser" example in Qt, the web page is correctly displayed into the main window
    But in the case of my plugin, the web page is displayed correctly too but in a detached window

    I tried to define a static control in my VS dialog box (CONTROL "", IDC_BROWSER_VIEW,"Static",SS_BLACKFRAME | SS_SUNKEN,0,0,184,79), and to link it with the QWebEngineView but the web page still displayed in a detached window

    How can I embed the web page display in my DIALOGEX dialog box in VS2019?

    Thanks,

    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