Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Emscripten : ERROR_ON_UNDEFINED_SYMBOLS=0
Forum Updated to NodeBB v4.3 + New Features

Emscripten : ERROR_ON_UNDEFINED_SYMBOLS=0

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 2 Posters 1.5k Views 2 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.
  • I Offline
    I Offline
    Izza
    wrote on last edited by
    #1

    Hello,
    I am working on a project that was build on qt using c++.
    Now i wanted to change it to web solution using web assembly.
    It is compiling, and creates all desired .o files but I am getting following error as i proceed and run
    MAKE:
    ERROR_ON_UNDEFINED_SYMBOLS=0

    and when i edit and change it to ERROR_ON_UNDEFINED_SYMBOLS=1
    it gives no output on web page but compiles fine.
    Please support.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      Izza
      wrote on last edited by
      #2

      0_1555080208964_Capture.PNG

      Can you see the result of this warning ? Please suggest.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Izza
        wrote on last edited by
        #3

        no answers!! Is there no one who can guide ?

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Izza
          wrote on last edited by
          #4

          resolved myself once again!!

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            The web assembly backend is pretty new so there is less likely a big number of people using it, member of this forum and able to answer.

            It's great that you found a solution ! Can you please share it so if it happens to another developer he can benefit from your findings ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • I Offline
              I Offline
              Izza
              wrote on last edited by
              #6

              I edited my Makefile , included the install folder path like this :

              INCPATH = -I/root/.emscripten_ports/openssl/include -I/usr/local/Qt-5.12.2/mkspecs/wasm-emscripten -I/usr/local/Qt-5.12.2/include/QtQuickControls2 -I/usr/local/Qt-5.12.2/include/QtQml -I/usr/local/Qt-5.12.2/include/QtNetwork -I../qt/src/qt-everywhere-src-5.12.2/qtbase/include -I /home/izza/QcCore -I../qt/src/qt-everywhere-src-5.12.2/qtbase/include/QtGui -I../qt/src/build/qtbase/include -I../qt/src/build/qtbase/include/QtGui

              or else if someone is putting directly from bash
              ypu need to add the following
              -lQt5Qml -lQt5QuickControls2 -lQt5Network -lQt5Gui etc .. whatever modules are missing. and error isnow resolved.

              1 Reply Last reply
              2

              • Login

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