Reg:QT Creator cross compiler setting

cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:QT Creator cross compiler setting

1,153 Views
vishvapathi
Contributor V

Hi aLL,

I was able to run QT demo's created by LTIB. Though the project i created doesnt run on my IMX 6.  When i select qmake file from /qt-everywhere-opensource-src/bin/qmake i am getting an ERROR.

"QT version not properly Installed, please run Make Install"

am i selecting the wrong qmake file??

Kindly advice

Raybiztech

DaianeAngolini

Labels (2)
0 Kudos
7 Replies

313 Views
Raybiztech
Contributor V

Hi Vishvapathi,

                                    

                            you can also use LTIB to compile your project.

  • Take the your Qt project and place it in the

<ltib-home>/rpm/BUILD/qt-everywhere-opensource-src-4.6.0/demos

Make some changes to demos.pro file ,as add our project name in SUBDIRS

  Ex:  SUBDIRS = \ demos_shared \

                               demos_deform \

                               demos_gradients \

                                …………………

                                demos_<your Qt project>

  • Add this line at end of the file demos_<your QT project>.subdir = <your Qt project>
  • Build the ltib. And you will get the executable in  

   Ex: <ltib-home> /rpm/Build/qt-opensource4.6.0/demos.

  • Run <your-qt-executable> executable with –qws option (qt windowing system).
      Ex: 
    ./<your-qt-executable> -qws

Thanks & Regards,

Raybiztech.

313 Views
vishvapathi
Contributor V

Hi,

      My QT application and touch screen are working now. but for building ltib its taking a lot of time even for a small change in QT project. Is there any alternate way for deploying qt ?

Kindly advice

0 Kudos

313 Views
vishvapathi
Contributor V

Hi,

./ltib -m prep -p qt-embedded.spec

Processing: qt-embedded

=========================

Build path taken because: directory build, build key set,

Cowardly refusing to clobber existing directory:

/home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.6.0

Remove this by hand if you really want to rebuild this package from scratch

f_prep() returned an error, exiting

traceback:

main:572

Exiting on error or interrupt

is there a way to make it work without deleting the files in BUILD/????

0 Kudos

313 Views
Raybiztech
Contributor V

Hi Vishvapathi,

                           No need of doing prep again. After following the process which i mentioned in previous reply, just cd to your LTIB path and do ./ltib it will build your project. Keep a watch on your debug log whether your project is building or not.

Thanks & Regards,

Raybiztech.

0 Kudos

313 Views
vishvapathi
Contributor V

if i give ./ltib i am getting the previous ERRORS....

0 Kudos

313 Views
vishvapathi
Contributor V

Attached Log..

0 Kudos

313 Views
vishvapathi
Contributor V

Hi,

  I followed the ur instruction and i am able to deploy qt application in my IMX, mistake was mine. I copied the wrong folder.

My application is working, but mouse click events are not working for qt application. Do i have to configure anything for using mouse+qt?

Kindly advice

wen i tried cat /dev/input/mouse1 i was getting some funny characters so i guess the mouse is working fine.

0 Kudos