qmake error when used for target

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

qmake error when used for target

597 Views
KrishnaPavan
Contributor II

Hi,

 

Having built Qt for Embedded [Qt_Everywhere_Opensource] on i.MX5X successfully, an Application has been tried on Qt Creator IDE [from Qt_SDK_4.8.0] on Host-PC, with the build, qmake being done well.

The application binary has been generated with a makefile, that uses the native-gcc as the work is being done on Host. The binary has been successfully run on the Qt_Simulator.

 

Now that, I wanted to try this on Target, I did this

Cross-Compile [ Using arm-none-linux-gnueabi- YYY ] the Project files with the qmake binary for i.MX5X

post4pavan@ubuntu:/usr/local/Trolltech/Qt-target-version/bin$ ./qmake /home/post4pavan/Work/hi/hi.pro

Failure to open file: /usr/local/Trolltech/Qt-target-version/bin/Makefile
Unable to generate makefile for: /home/post4pavan/Work/hi/hi.pro


Please Suggest :: Krishna Pavan

Tags (2)
0 Kudos
1 Reply

409 Views
KrishnaPavan
Contributor II

Yeah! Solved.

One thing was to add the dependencies properly to hi.pro

Second was to build in the project directory and not in /usr/local/Trolltech/... as it is meant for root only.

Regards :: Krishna Pavan

0 Kudos