Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. armv7 embedded device with no Graphical interface
Forum Updated to NodeBB v4.3 + New Features

armv7 embedded device with no Graphical interface

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
28 Posts 4 Posters 3.2k 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.
  • J Offline
    J Offline
    jasonnnn
    wrote on last edited by
    #17

    I have successfully built QTbase and emsdk (nodejs ) , what would be the next step?

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

      Create a small application and follow the Build and Run applications part of the guide you are following. Then you shall have an application ready.

      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
      0
      • J Offline
        J Offline
        jasonnnn
        wrote on last edited by
        #19

        while building

        ./configure xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase

        • cd qtbase
        • /opt/qt5/qtbase/configure -top-level xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
          <srcbase> = /opt/qt5/qtbase
          <bldbase> = /opt/qt5/qtbase
          <outbase> = /opt/qt5/qtbase
          Creating qmake...
          .Done.
          ERROR: Invalid command line parameter 'xplatform'.
        jsulmJ 1 Reply Last reply
        0
        • J jasonnnn

          while building

          ./configure xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase

          • cd qtbase
          • /opt/qt5/qtbase/configure -top-level xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
            <srcbase> = /opt/qt5/qtbase
            <bldbase> = /opt/qt5/qtbase
            <outbase> = /opt/qt5/qtbase
            Creating qmake...
            .Done.
            ERROR: Invalid command line parameter 'xplatform'.
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #20

          @jasonnnn said in armv7 embedded device with no Graphical interface:

          'xplatform'.

          should be -xplatform

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jasonnnn
            wrote on last edited by
            #21

            thank you caught that,

            now i am getting this one

            ./configure -xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase + cd qtbase

            • /opt/qt5/qtbase/configure -top-level -xplatform wasm-emscripten -nomake examples -prefix /opt/qt5/qtbase
              <srcbase> = /opt/qt5/qtbase
              <bldbase> = /opt/qt5/qtbase
              <outbase> = /opt/qt5/qtbase
              Creating qmake...
              .Done.
              Project ERROR: Cannot run target compiler 'em++'. Output:
              ===================
              ===================
              Maybe you forgot to setup the environment?
            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #22

              Is the compiler findable in your PATH environment variable ?

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

              J 1 Reply Last reply
              0
              • SGaistS SGaist

                Is the compiler findable in your PATH environment variable ?

                J Offline
                J Offline
                jasonnnn
                wrote on last edited by
                #23

                @sgaist how could I check that ? , i did execute source ./emsdk_env.sh

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

                  First thing, try to call em++ in the same terminal you are currently building Qt in.

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

                  J 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    First thing, try to call em++ in the same terminal you are currently building Qt in.

                    J Offline
                    J Offline
                    jasonnnn
                    wrote on last edited by
                    #25

                    @sgaist thanks for supporting, we are finding problems building Emscripten , thatis the main reason why QT will no build. Unfortunately, we may have to give up on QT for this project.

                    I don't believe you guys would be supporting un on the emscripten side, but just in case here is the build error (next post)

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

                      I'm not sure I understood your issue with the emc compiler.

                      In any case, the error log is missing.

                      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
                      0
                      • J Offline
                        J Offline
                        jasonnnn
                        wrote on last edited by
                        #27

                        SOrry for the missing pieces, so I am not sure if i am missing dependencies on my embbeded device, so too prrof concept I am trying to build on an Unbuntu 64, and the problem appears to be the same ,

                        1 i built emsdk

                        2 git clone QT5, Qtbase and QTdeclaratives

                        3 tried to build QT with ./configure -xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase
                        then got (execute the call on em++ which appears to be there)

                        Info: creating super cache file /opt/qt5/.qmake.super
                        Info: creating cache file /opt/qt5/.qmake.cache
                        Project ERROR: Cannot run target compiler 'em++'. Output:

                        ===================
                        Maybe you forgot to setup the environment?
                        root@osboxes:/opt/qt5# em++
                        Traceback (most recent call last):
                        File "/opt/emsdk/emscripten/1.38.31/emcc.py", line 41, in <module>
                        from tools import shared, system_libs, client_mods, js_optimizer, jsrun
                        File "/opt/emsdk/emscripten/1.38.31/tools/shared.py", line 782, in <module>
                        CLANG_CC = os.path.expanduser(build_clang_tool_path(exe_suffix('clang')))
                        File "/opt/emsdk/emscripten/1.38.31/tools/shared.py", line 647, in build_clang_tool_path
                        return os.path.join(LLVM_ROOT, tool)
                        File "/usr/lib/python2.7/posixpath.py", line 70, in join
                        elif path == '' or path.endswith('/'):
                        AttributeError: 'NoneType' object has no attribute 'endswith'

                        thanks in advance

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

                          You seem to use a version of the emsdk that is not mentioned in the Qt for Web Assembly wiki entry.

                          Did you try to use one of these ?

                          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
                          0

                          • Login

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