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. QtWebEngine doesn't load HTML page
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine doesn't load HTML page

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 203 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.
  • C Offline
    C Offline
    Cyclotech
    wrote on 24 Jul 2023, 14:53 last edited by
    #1

    Hi,
    I try making work a QtWebEngine application with Qt6.5 but

    QQuickView* windowMap = new QQuickView();
    QQmlContext* context = windowMap->rootContext();
    context->setContextProperty(QStringLiteral("MyUrl"), QUrl("myPage.html"));
    myWindow->setSource(QUrl(QLatin1String("myQml.qml")));

    unfortunately it works only if I run with Qt5.15.
    Anyone has an idea?
    Thank you
    Regards

    1 Reply Last reply
    0

    1/1

    24 Jul 2023, 14:53

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved