Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Program crashed but I don't know how to fix

Program crashed but I don't know how to fix

Scheduled Pinned Locked Moved General and Desktop
qwebengineviewerrorqml webview
6 Posts 3 Posters 2.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hello everyone,

    I am using QWebEngineView and I get an error after I closed my program. Here's the output of the console:

    Debuggen beginnt
    QML debugging is enabled. Only use this in a safe environment.
    QWindowsWindow::setGeometry: Unable to set geometry 66x34+640+280 on QWidgetWindow/'QToolBarClassWindow'. Resulting geometry: 120x34+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 47x34, maximum size: 16777215x16777215).
    [1203/135949:ERROR:scoped_ole_initializer.cc(20)] Multiple OleInitialize() calls for thread 3352
    [1203/140021:FATAL:resource_scheduler.cc(1051)] Check failed: client_map_.empty().
    

    Here is one picture:
    https://1drv.ms/i/s!AqaeHLtTIsoIhOhWolFloWfYp0XJRQ

    And here is the code which is the reason for the error:
    http://paste.ofcode.org/mCjb2c7RY6DszUjQqebtYD

    Plus these error:
    :-1: Fehler: Exception at 0x7ffb407d7788, code: 0x800706b5: , flags=0x1 (execution cannot be continued) (first chance)
    :-1: Fehler: Exception at 0x7ffb407d7788, code: 0x40080202: , flags=0x0 (first chance)

    Thank you,
    Henrik

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Any idea?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Please provide a minimal example so that we can try to reproduce this.

        1 Reply Last reply
        1
        • sneubertS Offline
          sneubertS Offline
          sneubert
          wrote on last edited by
          #4

          Did you call QtWebEngine::initialize(); ?
          see http://doc.qt.io/qt-5/qtwebengine.html

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            I have test the QtWebEngine::initialize();
            But the errors are still there

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              The problem is the same as in your other thread: you need to take care of the destruction order of your qobjects.

              1 Reply Last reply
              1

              • Login

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