[solved] Making qt creator aware of my embedded device.



  • Sorry if this is a duplicate as I am sure it must be, but my search fu is failing me.

    I have a brand spanking new build of qt5 deployed on my raspberry pi. In following the build guide, the host files were installed to /usr/local/qt5pi (same as the prefix on the rootfs). Meanwhile qt creator is installed in /opt/Qt5.3.1. How do I make creator aware of my pi build? Do I simply fill out my own Kit and point to the mkspecs files in /usr/local/qt5pi?

    If anyone could point me in the right direction it would be greatly appreciated.

    Thanks.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    When cross-compiling Qt for your Pi you also got a set of host tool for it. You should add a new Qt version to Qt Creator and point it to this qmake version. Then create a kit that uses this version of Qt and you should be good to go



  • [quote author="SGaist" date="1409776997"]Hi and welcome to devnet,

    When cross-compiling Qt for your Pi you also got a set of host tool for it. You should add a new Qt version to Qt Creator and point it to this qmake version. Then create a kit that uses this version of Qt and you should be good to go[/quote]

    Thank you very much.

    After adding the Qt version everything else seemed to fall out perfectly. It builds too!

    Again, thanks!


  • Lifetime Qt Champion

    You're welcome !

    Since you have your cross-compiling environment setup working, please update thread title prepending [solved] so other forum users may know a solution has been found :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.