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
QtWS25 Last Chance

armv7 embedded device with no Graphical interface

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
28 Posts 4 Posters 2.9k Views
  • 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
    #6

    thanks for the reply again, would that be the contrib you refer to https://github.com/qt/qtbase ??

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

      GitHub is a mirror, the official sources are at https://code.qt.io. However, you seem to have already the sources so there's no need to clone it again.

      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

        GitHub is a mirror, the official sources are at https://code.qt.io. However, you seem to have already the sources so there's no need to clone it again.

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

        @sgaist thnaks, but the source i compiled was an old version I belive 5.4, it would have to be upate correct ??

        I am just going to rebuild using 5.13. Now as far as the next steps how do I go about to get the Web assembly running and imported from the QT creator

        thanks

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

          while trying to run configure i got this, i did clone from https://code.qt.io.

          root@axcf2152:/opt/qt5/qtbase# ./configure
          Can't locate File/Basename.pm in @INC (you may need to install the File::Basename module) (@INC contains: /etc/perl /usr/lib/perl/site_perl/5.24.4/ /usr/lib/perl/site_perl/5.24.4 /usr/lib/perl/vendor_perl/5.24.4/ /usr/lib/perl/vendor_perl/5.24.4 /usr/lib/perl/5.24.4/ /usr/lib/perl/5.24.4 /usr/local/lib/site_perl /usr/lib/perl/5.24.4 .) at /opt/qt5/qtbase/bin/syncqt.pl line 47.
          BEGIN failed--compilation aborted at /opt/qt5/qtbase/bin/syncqt.pl line 47.

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

            Did you clone qtbase directly ?

            In any case, I would recommend to put the sources somewhere a standard user can access (it's home directory for example) rather that building stuff as root.

            That said, you can clone the qt5 repository and then follow the instructions to get all the sources checkout out properly.

            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
              #11

              We are changing the focus and following this guide as well

              running into problems with emsdk

              Error: No tool or SDK found by name 'sdk-releases-fastcomp-f3030d9fffcc9e1287cb6b8e72982e94ece31d71-64bit'.

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

                Which guide ?

                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
                  #13

                  https://wiki.qt.io/Qt_for_WebAssembly

                  my question on that is when i build from source do I only need to build QTbase ??

                  thanks

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

                    If you want to use QtQuick, you should also build qtdeclarative.

                    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
                      #15

                      I am really not sure about what we need to be totally honest, QT has some many options it becomes overwhelming.

                      We do understand that the functionality we need lies on QT Web Assembly, What would exactly the source package dependencies and all that I need to build to run the QT web assembly ?? is qt declarative and QTquick mandatories, we need this deployment as light as possible

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

                        Mandatory ? No they are not, it depends mainly on what your application should show/do. If you need some fancy animations, then QtQuick is the way to go.

                        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
                          #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

                                          • Login

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