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.

  • Resolved

Linux/AM5718: Qt Version not properly installed

Prodigy 165 points

Replies: 12

Views: 294

Part Number: AM5718

Tool/software: Linux

Hi,

I am working on AM5718 Linux Qt, i installed Qt Creator 4.3.1 Based on Qt 5.9.0.

I followed this steps http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT  to configure Qt for AM5718, but i getting this following error

Project ERROR: Qmake spec does not set MAKEFILE_GENERATOR.

Could not find qmake spec 'default'.

Error while parsing file /opt/Qt5.9.0/Examples/Qt-5.9/multimedia/audioinput/audioinput.pro. Giving up.

Kindly help me out on this.

Regards,

Ravi

  • Hello Ravi,

    I am wondering if you could please share which PSDK you are using for your test setup. I am not able to replicate your error using Qt Creator 5.9.6 and PSDK5.0.

    Regards,
    Krunal
  • In reply to Krunal Bhargav34:

    Hi Krunal,

    I am using this SDK "ti-processor-SDK-Linux-am57xx-evm-05.02.00.10" and my Qt version 5.9.7

    please check the below images

    Regards,

    Ravi

  • In reply to ravi rk23:

    Hello Ravi,

    In your previous post, you mentioned that you were using Qt Creator 4.3.1 and I am wondering if you are able to replicate your errors using Qt Creator 5.9.7.

    Regards,
    Krunal
  • In reply to Krunal Bhargav34:

    Hi Krunal,

    This was I am getting while checking Qt Version

    Still, I have the same problem, kindly help me out.

    Regards,

    Ravi

  • In reply to ravi rk23:

    Hello Ravi,

    In the lab, it is mentioned to perform the following step before opening the qtcreator: "source /home/sitara/AM335x/ti-processor-sdk-linux-<machine>-<sdk version>/linux-devkit/environment-setup" . I am wondering if you could please confirm if you have performed the required step.

    For my test setup, I have PSDK5.2 and I downloaded the following Qt Creator 4.7.1:

     

    I performed the steps 1 and 2 under the "LAB 2: QT Creator Hello World" before configuring qmake.

    Regards,

    Krunal

  • In reply to Krunal Bhargav34:

    Hi Krunal,

    From the beginning, I performed all the steps given in LAB 2.

    It gave the same error, I will share the all the configuration screenshots please check that,

    I am using PSDK "ti-processor-sdk-linux-am57xx-evm-05.02.00.10-Linux-x86-Install.bin" and below PSDK qmake version is,

    Qt Version,

    LAB 2: Configurations

    Regards,

    Raveen.

  • In reply to ravi rk23:

    Hello Raveen,

    After running the command “source environment-setup”, could you please verify if you are getting a valid path after running the command “echo $QMAKESPEC”?

    The only way I could replicate your errors is if I open Qt without running the command “source environment-setup”. Also, could you please share how you are opening the Qt Creator? 

    Regards,

    Krunal

  • In reply to Krunal Bhargav34:

    Hi Krunal,

    I tried the same what you suggested, but still same problem.

    Can you take remote access of my machine so you can figure out the issue.

    Regards,

    Raveen

  • In reply to ravi rk23:

    Hello Raveen,

    Please correct me if I am wrong but I believe you might not be launching the Qt Creator from the same terminal that you are calling the command “source environment-setup”. For example, in the picture below, I call the source command followed by the location of the qtcreator executable (same terminal window):

    Regards,

    Krunal

  • In reply to Krunal Bhargav34:

    Hi Krunal,

    I launch Qt Creator from the same terminal where I am calling source environment-setup, I tried both cases with and without "sudo" mode.

    Regards,

    Raveen.

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.