Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cross Compile qt to IMX6



  • Hello, I am trying to run a Qt program made in a Linux 64 bit Ubuntu desktop (18.04) on a IMX6 SabreLite that has Ubuntu 18.04 installed as well. I have been searching web for a solution or tutorial on how to do this and it seems as if everyone does it a different way that ends up not being successful for me. I know that there is a package called "libimxvpuapi" that if I could get into my .pro file and compile it, it may work on my imx6 by running the binary file.

    Does anyone know of this method working or any other methods that you can link me to that is known to work?



  • @rtvideo said in Cross Compile qt to IMX6:

    I am trying to run a Qt program made in a Linux 64 bit Ubuntu desktop (18.04) on a IMX6 SabreLite that has Ubuntu 18.04 installed as well

    Have you set up a cross-compile environment?
    Is there instructions or even an SDK for such device in order to cross-compile Qt apps for it?

    I'm not expert on IMX6-based devices, so not sure if you have same device or not, but have you checked this Qt guide regarding IMX6 support?

    I know that there is a package called "libimxvpuapi" that if I could get into my .pro file and compile it, it may work on my imx6 by running the binary file.

    Again, not expert on those IMX6 devices, but from this official Freescale page, the libimxvpuapi library

    provides an API for using hardware video codecs on i.MX platforms

    so it doesn't look like it will help you run your Qt app built for a Linux 64 bit Ubuntu desktop (18.04) work on my imx6 by running the binary file.


Log in to reply