Project

General

Profile

Support for Qt creator application for MitySOM AM57x

Added by Sandeep Sivadas over 1 year ago

Hi,

We have to develop a QT application for our AM57x Development board. which version of QT creator is supported with AM57x ?
Is there any example programs and getting started tutorials for the same.

with regards

Sandeep S


Replies (4)

RE: Support for Qt creator application for MitySOM AM57x - Added by Jonathan Cormier over 1 year ago

Sandeep Sivadas wrote:

Hi,

We have to develop a QT application for our AM57x Development board. which version of QT creator is supported with AM57x ?
Is there any example programs and getting started tutorials for the same.

with regards

Sandeep S

In my experience, you should use the latest version of QT creator and expect it to work with whatever version of QT you are developing for.

The version of QT that ships with the 20220323 tisdk-rootfs-image image is 5.11.3

I wrote up this wiki page, hope it helps. https://support.criticallink.com/redmine/projects/mitysom_am57x/wiki/QT_Starter_Guide_2022

RE: Support for Qt creator application for MitySOM AM57x - Added by Jonathan Cormier over 1 year ago

FYI

root@mitysom-am57x:~# ls -la /usr/lib/libQt5Network.*
-rw-r--r--    1 root     root          1339 Sep  9  2021 /usr/lib/libQt5Network.prl
lrwxrwxrwx    1 root     root            23 Sep  9  2021 /usr/lib/libQt5Network.so -> libQt5Network.so.5.11.3
lrwxrwxrwx    1 root     root            23 Sep  9  2021 /usr/lib/libQt5Network.so.5 -> libQt5Network.so.5.11.3
lrwxrwxrwx    1 root     root            23 Sep  9  2021 /usr/lib/libQt5Network.so.5.11 -> libQt5Network.so.5.11.3
-rwxr-xr-x    1 root     root       1118320 Sep  9  2021 /usr/lib/libQt5Network.so.5.11.3

RE: Support for Qt creator application for MitySOM AM57x - Added by Sandeep Sivadas over 1 year ago

Hi Jonathan

We followed the guidelines as per the link https://support.criticallink.com/redmine/projects/mitysom_am57x/wiki/QT_Starter_Guide_2022 and installed Qt Creator,Qt5 Designer,Qt5 Assistant,Qt5 Linguist.(Qt Version:5.9.5)

But while going through this step " Select the Compilers tab. Click on Add -> GCC -> C. Navigate to <SDK path>/sysroots/x86_64-arago-linux/usr/bin/arm-criticallink-linux-gnueabi/ and select arm-criticallink-linux-gnueabi-gcc. Change name to "GCC (C 57x)" ", we couldn't find the mentioned file/folder arm-criticallink-linux-gnueabi,instead we find the following set of files/folders in bin folder (screenshot is attaching herewith )

Another problem we come across is in the step : " Select the "Qt Versions" tab that is shown. Click the "Add..." button. Navigate to <SDK path>/sysroots/x86_64-arago-linux/usr/bin/ and click on qmake. Change Name to "Qt %{Qt:Version} (57x)" ",a dialogue box appeared telling that the same was added already and we find a red error icon across the qmake location file name.(screenshot is attaching herewith)

Thanks and Regards
Sandeep S

RE: Support for Qt creator application for MitySOM AM57x - Added by Jonathan Cormier over 1 year ago

Sandeep Sivadas wrote in RE: Support for Qt creator application for MitySOM AM57x :

Hi Jonathan

We followed the guidelines as per the link https://support.criticallink.com/redmine/projects/mitysom_am57x/wiki/QT_Starter_Guide_2022 and installed Qt Creator,Qt5 Designer,Qt5 Assistant,Qt5 Linguist.(Qt Version:5.9.5)

But while going through this step " Select the Compilers tab. Click on Add -> GCC -> C. Navigate to <SDK path>/sysroots/x86_64-arago-linux/usr/bin/arm-criticallink-linux-gnueabi/ and select arm-criticallink-linux-gnueabi-gcc. Change name to "GCC (C 57x)" ", we couldn't find the mentioned file/folder arm-criticallink-linux-gnueabi, instead we find the following set of files/folders in bin folder (screenshot is attaching herewith )

You are right, this was a copy/paste mistake. I've updated the instructions. You found the correct path.

Another problem we come across is in the step : " Select the "Qt Versions" tab that is shown. Click the "Add..." button. Navigate to <SDK path>/sysroots/x86_64-arago-linux/usr/bin/ and click on qmake. Change Name to "Qt %{Qt:Version} (57x)" ", a dialogue box appeared telling that the same was added already and we find a red error icon across the qmake location file name.(screenshot is attaching herewith)

Can you check again after setting up the compilers? You may need to hit apply or okay and reopen the dialog.
Also did you source the toolchain and launch qtcreator from the same terminal?

Thanks and Regards
Sandeep S

    (1-4/4)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)