Forums

OverviewFelgo 2 Support (Qt 5) › Webassembly custom example cannot run

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23330

    Felgo User

    As the question,and chrome error:

    Uncaught (in promise) ReferenceError: IDBFS is not defined
    at Object.Module.mountsyncFS (qtloader.js:434)
    at qtloader.js:454
    at callRuntimeCallbacks (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:11247)
    at preRun (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:11806)
    at run (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:305062)
    at runCaller (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:304366)
    at removeRunDependency (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:13554)
    at receiveInstance (eval at completeLoadEmscriptenModule (qtloader.js:485), <anonymous>:1:14955)
    at qtloader.js:352

    #23338

    Miguel Rodriguez
    Felgo Team

    Hi,

    It looks like you are building a Qt application without the Felgo libs, you need to add to your .pro file:

    wasm {
      QMAKE_LFLAGS += -lidbfs.js
    }

     

    Regards.

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support