Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Different types of errors on different browsers
Forum Updated to NodeBB v4.3 + New Features

Different types of errors on different browsers

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 429 Views 1 Watching
  • 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.
  • Boris613B Offline
    Boris613B Offline
    Boris613
    wrote on last edited by
    #1

    I am trying to build application, and build passes, not without bunch of linker errors, like these
    warning: undefined symbol: _ZTI26QPlatformColorDialogHelper
    warning: undefined symbol: _ZTI28QPlatformMessageDialogHelper
    warning: undefined symbol: _ZTI6QEvent
    warning: undefined symbol: _ZTI6QTimer
    warning: undefined symbol: _ZTI7QObject
    warning: undefined symbol: _ZTI7QThread
    warning: undefined symbol: _ZTI7QWindow

    I am getting html, and wasm and js files at the end, but I can't run them, and different browsers give me different errors, at least different wording
    Safari:
    Error: WebAssembly.Module doesn't parse at byte 29340: can't parse resizable limits flags
    Chrome and Opera:
    LinkError: WebAssembly.instantiate(): Import #2997 module="env" function="a" error: global import must be a number or WebAssembly.Global object

    Suggestions will be much appreciated

    1 Reply Last reply
    0
    • F Offline
      F Offline
      FrogCastOrg
      wrote on last edited by
      #2

      For your undefined symbols, sometimes this is all that needs to be done:

      replace
      #include <QObject>
      with
      #include <QtCore/QObject>

      Unfortunately, I am still searching how to do this with my custom headers, as that is throwing me the undefined symbol errors.
      #include "myclass.h"
      Is not working.

      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