This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

QT模拟机上编译出来的程序是否可以在AM335X的linux系统上运行?



    我们在AM335X的Linux系统上要开发一个应用界面,需要用到键盘、鼠标输入,LCD输出,以及串口功能,我在PC的QT模拟机上开发好后,是否可以直接在AM335X的开发板上运行?开发板上是否已经包含了QT include的库呢?

    谢谢!

  • 需要交叉编译下

              

               Set up the Qt build environment

             e.g. run $source /home/user/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/environment-setup

    Generate Makefile from the Qt project file

    e.g. $/home/user/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/qmake -o Makefile linuxfbofs.pro
     $ make
  • 这个很简单,网上也有很多QT移植教程,只需要把QT交叉编译后的库移到开发板,设置一下环境变量,QT应用程序也交叉编译即可在开发板上运行