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. Cross Compiling on BeagleBone Black
Forum Updated to NodeBB v4.3 + New Features

Cross Compiling on BeagleBone Black

Scheduled Pinned Locked Moved Mobile and Embedded
37 Posts 2 Posters 14.5k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #14

    The message is pretty self-explanatory, Test doesn't exist

    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
    • S Offline
      S Offline
      SPRB
      wrote on last edited by
      #15

      Hi,

      When I give "ls -al" it is listing the "Test", So its confirmed that Test binary is present in the path.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SPRB
        wrote on last edited by
        #16

        Hi,
        I some tried to link the libraries now I am getting this error when I execute the exe in the target system.
        "./Test : error while loading shared libraries: libEGL.so.1: cannot open shares object file: No such file or directory"

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

          You are missing some dependencies on your target

          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
          • S Offline
            S Offline
            SPRB
            wrote on last edited by
            #18

            hi,

            The all the above issues where resolved.

            But currently I am facing a new issue. I deployed my application successfully into beaglebone black and even the application is running. But no texts are being displayed on the UI. I tried with linking the Qt directory path but i was not successful in that.

            Can I know what changes needs to be done to get the text displayed on the UI?

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

              Did you deploy the font files ?

              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
              • S Offline
                S Offline
                SPRB
                wrote on last edited by
                #20

                Yes I have deployed the fonts and have also specified the QT_QWS_FONTDIR to that where the fonts are there.

                When I set the width and height by giving the following environmental variable: QWS_DISPLAY = LinuxFB:mmWidth=800:mmHeight=480, I could see some of the texts but it is not properly aligned and some texts are still missing.

                Can I know how can I resolve it?

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

                  Are you getting any information on the console stating that there's a problem ?

                  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
                  • S Offline
                    S Offline
                    SPRB
                    wrote on last edited by
                    #22

                    No I am not getting any error on the console. Everything seems to be fine.
                    I even tried by generating the fontdir file for the fonts, thinking it might be searching for that fontdir file. But I could not achieve success out of this.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SPRB
                      wrote on last edited by
                      #23

                      I also tried several ways for getting the text displayed. Like setting the QT_QWS_FONTDIR to my font dir, By setting the QWS_DISPLAY, also I tried to run the application by giving the following command: "./Test -qws -font unicode" but couldn't achieve any success.

                      Please direct me where I am going wrong.
                      Waiting for an helpful suggestion.

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

                        What output do you get on your console when running your application ?

                        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
                        • S Offline
                          S Offline
                          SPRB
                          wrote on last edited by
                          #25

                          The UI is being displayed as a output but none of the texts are shown.

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

                            Are you running it directly on the target or using ssh/serial console ?

                            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
                            • S Offline
                              S Offline
                              SPRB
                              wrote on last edited by
                              #27

                              I am deploying the application into target using Qtcreator itself. As Qtcreator provides that options.

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

                                What language are you using for your application ?

                                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
                                • S Offline
                                  S Offline
                                  SPRB
                                  wrote on last edited by
                                  #29

                                  I am using "English" language itself.

                                  Now I am trying to run my application which also includes images of type ".png", but now application is not at all running, now I am getting an error in console like :
                                  "QFSFileEngine::open: No file name specified.
                                  Bus errorixel: coordinate (-1,-1) out of range"

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

                                    Looking very strange, are you sure your target Qt is properly compiled/installed ?

                                    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
                                    • S Offline
                                      S Offline
                                      SPRB
                                      wrote on last edited by
                                      #31

                                      Ya I am sure, I dint get any errors I have installed many times without any error.

                                      Can I know why that error "QFSFileEngine" error is there??
                                      Though Images are there why it is unable to fetch it?

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        SPRB
                                        wrote on last edited by
                                        #32

                                        Hi,
                                        I resolved that "QFSFileEngine" error, it was searching for a file which I have specified in my application as I had not deployed that I was getting that error.

                                        Now I am getting an error like:
                                        "Cannot open input device '/dev/tty0':Permission denied
                                        QImage::pixel: coordinate (-1,-1) out of range
                                        Bus error
                                        ".

                                        Please help me why this Bus error is coming?

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

                                          It seems you do not have the rights to access the console, what are the rights of /dev/tty0 ?

                                          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