Unsolved Different types of errors on different browsers
-
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: _ZTI7QWindowI 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 objectSuggestions will be much appreciated
-
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.