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.1k 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 16 Sept 2019, 17:36 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Sept 2019, 20:01 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 16 Sept 2019, 20:16
      0
      • S SGaist
        16 Sept 2019, 20:01

        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 16 Sept 2019, 20:16 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 17 Sept 2019, 15:21 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 17 Sept 2019, 15:33 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 18 Sept 2019, 13:24 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
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 18 Sept 2019, 18:42 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 18 Sept 2019, 19:58 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 18 Sept 2019, 21:11 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 18 Sept 2019, 21:29 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 19 Sept 2019, 19:02 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 19 Sept 2019, 19:04 last edited by
                          #17

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

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 19 Sept 2019, 19:18 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 20 Sept 2019, 11:56 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'.
                              J 1 Reply Last reply 20 Sept 2019, 11:57
                              0
                              • J jasonnnn
                                20 Sept 2019, 11:56

                                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'.
                                J Offline
                                J Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on 20 Sept 2019, 11:57 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 20 Sept 2019, 12:12 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
                                  • S Offline
                                    S Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 20 Sept 2019, 19:11 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 20 Sept 2019, 20:02
                                    0
                                    • S SGaist
                                      20 Sept 2019, 19:11

                                      Is the compiler findable in your PATH environment variable ?

                                      J Offline
                                      J Offline
                                      jasonnnn
                                      wrote on 20 Sept 2019, 20:02 last edited by
                                      #23

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

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 20 Sept 2019, 20:51 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 23 Sept 2019, 11:41
                                        0
                                        • S SGaist
                                          20 Sept 2019, 20:51

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

                                          J Offline
                                          J Offline
                                          jasonnnn
                                          wrote on 23 Sept 2019, 11:41 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

                                          15/28

                                          18 Sept 2019, 21:29

                                          • Login

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