Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt cross compile for SDR board
Forum Updated to NodeBB v4.3 + New Features

Qt cross compile for SDR board

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 5 Posters 898 Views 3 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.
  • MijazM Offline
    MijazM Offline
    Mijaz
    wrote on last edited by
    #1

    I have cross compiled executable file from QT 4.8.7 and i am running it on SDR ADRV9361 board (Linaro-Ubuntu). When i run the cross compiled executable file (which is cross compiled on Ubuntu 16.04) on my SDR board, i got the error message like : " symbol lookup error : ./project: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent". I don't know why i am getting this error as I conformed tool chain version on both side, please help.

    I followed following forums:

    https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/

    https://forum.qt.io/topic/52546/tuto-build-qt-to-cross-compile-for-arm/2

    https://www.tal.org/tutorials/building-qt-512-raspberry-pi

    Pablo J. RoginaP 1 Reply Last reply
    0
    • jsulmJ jsulm

      @Mijaz For the future it would be better to post the text output of the command instead of a picture taken from the display.
      Just mark the text with your mouse, right click on it and copy.

      MijazM Offline
      MijazM Offline
      Mijaz
      wrote on last edited by
      #7

      @jsulm
      Now I have solved this issue and working successfully.
      If anyone need help can address me.

      mrjjM MijazM 2 Replies Last reply
      0
      • MijazM Mijaz

        I have cross compiled executable file from QT 4.8.7 and i am running it on SDR ADRV9361 board (Linaro-Ubuntu). When i run the cross compiled executable file (which is cross compiled on Ubuntu 16.04) on my SDR board, i got the error message like : " symbol lookup error : ./project: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent". I don't know why i am getting this error as I conformed tool chain version on both side, please help.

        I followed following forums:

        https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/

        https://forum.qt.io/topic/52546/tuto-build-qt-to-cross-compile-for-arm/2

        https://www.tal.org/tutorials/building-qt-512-raspberry-pi

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #2

        @Mijaz said in Qt cross compile for SDR board:

        symbol lookup error : ./project: undefined symbol

        could you please show output of this command run in your SDR device:

        ldd ./your-cross-compiled-app
        

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

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

          Hi,

          Did you deploy your cross-compiled Qt on the board ?
          If not, then your application is likely picking the boards distribution provided Qt which is not a Qt for Embedded Linux build.

          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
          • Pablo J. RoginaP Pablo J. Rogina

            @Mijaz said in Qt cross compile for SDR board:

            symbol lookup error : ./project: undefined symbol

            could you please show output of this command run in your SDR device:

            ldd ./your-cross-compiled-app
            
            MijazM Offline
            MijazM Offline
            Mijaz
            wrote on last edited by
            #4

            Hi @Pablo-J-Rogina
            Thanks for responding,
            Here is the output of your sagusted command:
            ldd ./my_ Project

            IMG_20190925_083740 (1).jpg

            jsulmJ 1 Reply Last reply
            0
            • MijazM Mijaz

              Hi @Pablo-J-Rogina
              Thanks for responding,
              Here is the output of your sagusted command:
              ldd ./my_ Project

              IMG_20190925_083740 (1).jpg

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by jsulm
              #5

              @Mijaz For the future it would be better to post the text output of the command instead of a picture taken from the display.
              Just mark the text with your mouse, right click on it and copy.

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

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

                It shows that your distribution Qt is found, not the one you cross-compiled. So again, did you copy the cross-compiled version of Qt over to the target ?
                If so from where to where exactly ?

                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
                • jsulmJ jsulm

                  @Mijaz For the future it would be better to post the text output of the command instead of a picture taken from the display.
                  Just mark the text with your mouse, right click on it and copy.

                  MijazM Offline
                  MijazM Offline
                  Mijaz
                  wrote on last edited by
                  #7

                  @jsulm
                  Now I have solved this issue and working successfully.
                  If anyone need help can address me.

                  mrjjM MijazM 2 Replies Last reply
                  0
                  • MijazM Mijaz

                    @jsulm
                    Now I have solved this issue and working successfully.
                    If anyone need help can address me.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    @Mijaz
                    Hi
                    please mark the post as solved using the
                    "Topic Tools " button on top post.

                    Also if possible, can you write what you did to make it work ?

                    1 Reply Last reply
                    2
                    • MijazM Mijaz

                      @jsulm
                      Now I have solved this issue and working successfully.
                      If anyone need help can address me.

                      MijazM Offline
                      MijazM Offline
                      Mijaz
                      wrote on last edited by Mijaz
                      #9

                      @Mijaz
                      The x11Event Error was just due to the confliction of my deployed project to ubuntu GUI of the target.
                      Now I just open my project in by the following step:

                      1. (Cntrl+Alt+F1)
                      2. Go to your directory where you deployed your project
                        3 ./project -qws
                        now your project window comes out and ready for operations.
                      1 Reply Last reply
                      1

                      • Login

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