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. Need Help to Deploy existing qt project to linux host device
QtWS25 Last Chance

Need Help to Deploy existing qt project to linux host device

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 4 Posters 1.4k 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.
  • V Offline
    V Offline
    vivekyuvan
    wrote on last edited by vivekyuvan
    #1

    Hi Friends
    I have purchased TI Evaluation Board (SBC EVM AM4379). I have successfully deployed my new projects (like hello world ) with remote host device configuration by following procedure in this TI Wiki guide

    http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT
    

    I have a qt5 source code that is configured with desktop configuration locally. Now i am needed to deploy the source code to my linux host (target device) with remote configuration and gives the target ip.

    Now i am struggled to deploy my existing qt projects file to my linux host device(target device).

    I am using TI Processor SDK Version "ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04"

    TI Wiki page suggest that the QT Creator needed to setup the environment setup

    source ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04/linux-devkit/environment-setup
    

    Then open the qt creator under the [linux-devicekit ]mode
    0_1531564041416_1.png

    My problem is I don know how to configure the existing projects to deploy in the remote linux host(target device) without rewrites the code. Hope you guys understands my problem . Help out to fix this problem.

    Best Regards
    vivek yuvan

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

      Hi,

      Something is not clear, are you trying to use your Desktop version of Qt to build your application for 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
      • V Offline
        V Offline
        vivekyuvan
        wrote on last edited by vivekyuvan
        #3

        yes I am trying to use my Desktop version of Qt to build my application for my target device that is evm am4379 processor evaluation board is that possible?

        jsulmJ Pablo J. RoginaP 2 Replies Last reply
        0
        • V vivekyuvan

          yes I am trying to use my Desktop version of Qt to build my application for my target device that is evm am4379 processor evaluation board is that possible?

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

          @vivekyuvan It's not possible the way you do. You need Qt built for your target device processor, you need a sysroot with compiler for your target device. This is called cross-compilation.

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

          V 1 Reply Last reply
          2
          • V vivekyuvan

            yes I am trying to use my Desktop version of Qt to build my application for my target device that is evm am4379 processor evaluation board is that possible?

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

            @vivekyuvan although intended for cross-compiling Qt for Raspberry Pi, this guide may be of interest for you, as an skeleton of the steps involved and how to setup Qt Creator later on.

            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

            1 Reply Last reply
            2
            • jsulmJ jsulm

              @vivekyuvan It's not possible the way you do. You need Qt built for your target device processor, you need a sysroot with compiler for your target device. This is called cross-compilation.

              V Offline
              V Offline
              vivekyuvan
              wrote on last edited by
              #6

              @jsulm
              yes i have sysroots in this location
              /home/vivek/TI_SDK/ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04/linux-sev-kit/sysroots

              and i have a arm-linux compiler in this location "/home/vivek/TI_SDK/ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin "
              "arm-linux-gnueabihf-g++"

              my question is " My existing qt source code can compile under this compiler "arm-linux-gnueabihf-g++" instead of the normal gcc compiler ?" is there any modification i need to do .pro file ? and Build and Run setting ?

              jsulmJ 1 Reply Last reply
              0
              • V vivekyuvan

                @jsulm
                yes i have sysroots in this location
                /home/vivek/TI_SDK/ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04/linux-sev-kit/sysroots

                and i have a arm-linux compiler in this location "/home/vivek/TI_SDK/ti-processor-sdk-linux-rt-am437x-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin "
                "arm-linux-gnueabihf-g++"

                my question is " My existing qt source code can compile under this compiler "arm-linux-gnueabihf-g++" instead of the normal gcc compiler ?" is there any modification i need to do .pro file ? and Build and Run setting ?

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

                @vivekyuvan You need to run configure first. Here you can see how to do it for RaspberryPi (similar for other devices): http://wiki.qt.io/Raspberry_Pi_Beginners_Guide

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

                1 Reply Last reply
                3

                • Login

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