Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Need Help to Deploy existing qt project to linux host device

    Mobile and Embedded
    4
    7
    1048
    Loading More Posts
    • 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
      vivekyuvan last edited by vivekyuvan

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • V
          vivekyuvan last edited by 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?

          jsulm Pablo J. Rogina 2 Replies Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @vivekyuvan last edited by

            @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 Reply Quote 2
            • Pablo J. Rogina
              Pablo J. Rogina @vivekyuvan last edited by Pablo J. Rogina

              @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 Reply Quote 2
              • V
                vivekyuvan @jsulm last edited by

                @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 ?

                jsulm 1 Reply Last reply Reply Quote 0
                • jsulm
                  jsulm Lifetime Qt Champion @vivekyuvan last edited by

                  @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 Reply Quote 3
                  • First post
                    Last post