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.

AM3358: How to use qmake (within SDK, within Qt) to build the Qt project and deploy the output to the AM335X-SK-EVM

Part Number: AM3358


Hi experts,

I have installed ti-processor-sdk-linux-am335x-evm-06.03.00.106-Linux-x86-Install.bin in my Linux Ubuntu18.04, and this SDK contains qmake (Version is 5.11.3).

When I install Qt7.5.0 in the same software environment and configurate the build environment according to the 

https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Examples_and_Demos_Sub-system_Demos.html#hands-on-with-qt

and I encounter two question:

1. Which qmake need to be use to build Qt project? and how can I configurate the build environment that applies to the AM335X-SK-EVM?

qmake within SDK is 5.11.3

qmake with Qt is 7.5.0

2. When I delete the build output (*.o, Makefile) from the applications evse-hmi-1.0, then re-build this demo, some errors display as follows:

 

 

Looking forward to your reply.

Thanks,

Anna

  • Hello Anna,

    Our PSDK6.3 supports Qt version 5.11.3 and it is compatible with qmake version 3.1. 

    [linux-devkit]:~/work/harddrive2/psdk_linux/am335x/ti-processor-sdk-linux-am335x-evm-06.03.00.106/example-applications/evse-hmi-1.0> qmake --version
    QMake version 3.1
    Using Qt version 5.11.3 in /home/work/harddrive2/psdk_linux/am335x/ti-processor-sdk-linux-am335x-evm-06.03.00.106/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib

    I would recommend you to check with Qt on the supported Qt version with qmake version 7.5.0.

    Regards,

    Krunal

  • Hi Krunal, 

    According to your reply, it's ok to use the qmake within PSDK6.3 to cross compile without using the qmake within Qt. 

    Thanks, 

    Anna

  • Hello Anna,

    Yes, that is correct. The qmake that we provide in our SDK is fully compatible with the Qt version we package. 

    Regards,
    Krunal

  • Hi Krunal,

    I check the Qt version release info (https://wiki.qt.io/Main), find that 5.12, 5.15 as the LTS version. And I plan to develop our embedded Linux device based on TI's newest SDK (6.3.0.0 or higher), and the Qt version is 5.11.3 in SDK 6.3.0.0, if I just want to build Qt project with TI SDK in Linux Ubuntu platform, for Qt GUI design, I plan to develop base on Qt in Windows10 platform, which Qt version is suitable to choose in Windows10 without issues about compilation compatibility?

    Thanks,

    Anna

  • Hello Anna,

    If it is possible to wait a few days, I would recommend you to use our next release because it has Qt5.14.2 and Qmake version 3.1. If you plan on using Qt5.12/Qt5.15, I would recommend you to please check with Qt community on the qmake version. We have not tested Qt5.12/Qt5.15 on our setup.

    Regards,
    Krunal

  • Hi Krunal,

    Our development will not add the special display function based on Qt and TI AM335X SDK, so Qt 5.14.* is enough.

    Another question is that Qt 5.14.2 and Qmake 3.1 within the releasing SDK meet the free support from Qt or not.

    Thanks,

    Anna

  • Hello Anna,

    Please check with the Qt community.

    Regards,
    Krunal