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.

Linux/AM5728: Qt Creator installation

Part Number: AM5728

Tool/software: Linux

Hi

I have installed Linux SDK 5.00.00.15v for AM57xx EVM. Now as per Lab 2 described in Hands on with QT I need to install Qt Creator.So which version of Qt creator will be compatible for the SDK I have installed and where (which directory) to install.

My Linux SDK installed directory is : /opt/ti_linux_SDK

How can I invoke Qt creator from the same terminal window.

And one more question is where can I get the commands to build (How to re-build) example application codes in SDK.

Thanks

  • Hello Arpita,

    Arpita Jena said:
    So which version of Qt creator will be compatible for the SDK I have installed and where (which directory) to install.

    The latest, non-beta one is recommended. The customer can install it everywhere by desire, just need to remember the installation path to be able later invoke it from that location.


    Arpita Jena said:
    How can I invoke Qt creator from the same terminal window.

    If we assume you install it on /opt/Qt/, to invoke it from the terminal, just type /opt/Qt/Tools/QtCreator/bin/qtcreator after sourcing the environment-setup.


    Arpita Jena said:
    And one more question is where can I get the commands to build (How to re-build) example application codes in SDK.

    To rebuild a example from the Processor SDK, click on  File -> Open File or Project... and select the .pro file from the <Processor SDK>/targetNFS/usr/share/qt5/examples/ or without using the Qt Creator source environment-setup cd <Processor SDK>/targetNFS/usr/share/qt5/examples/<application> then type qmake and make.

    Best regards,
    Kemal

  • Hi Kemal ,

    Thank you for your quick response and answers. Its really helpful.I installed Qt Creator 5.9 and able to invoke from the terminal window with SDK v5.00.00.15.

    For building example applications also, your answer works well for without Qt Creator.

    But the exe I got does not match with the pre-build exe.What may be the reason for this ? (I didn't change anything in the example codes.)

    Can I re-build the same example application (.pro file) in Qt Creator without having an EVM ?

    Regards

    Arpita

  • Arpita Jena said:
    But the exe I got does not match with the pre-build exe.What may be the reason for this ? (I didn't change anything in the example codes.)


    If you are comparing the bits and checksums it is expected to differ. Otherwise you have compiled a wrong example.


    Arpita Jena said:
    Can I re-build the same example application (.pro file) in Qt Creator without having an EVM ?

    Yes, you can build it but cannot test it. Unless you can build it for your computer and test it there, but not over every example this can be done.

  • Hi Kemal,
    Thanks a lot.
    As per the Hands_on_with_QT document (Lab-2,Step-4-Configure for Qt Creator for qmake) I have configured the followings:
    Qt version,Compiler,Debugger,kits.
    As i don't have an EVM available with me right now I could not deploy successfully(step-8).
    So now whenever I try to create a new project I get an option to chose (After the project name and Path) for Kit Selection .But the 'Next' option is disabled (even after selecting the configured kit-AM57xx).
    How to fix this in order to create and build Qt applications(including the possible example applications in SDK) ?

    Regards
    Arpita
  • Remove these configs:
    $ rm -rf ~/.cache/Qt* ~/.config/Qt*
  • Thank you Kemal. It works fine now and resolves my issue.

    Regards

    Arpita