Launch Qt in Yocto qemu
-
I have a Yocto SDK built which allows me to cross-compile Qt applications for an i.MX8 processor. I have a Yocto image which I can run in qemu. I can send the Qt executable to the rootfs used in qemu. But, the application does not launch. I get the following:
line 4: syntax error: unexpected ")"
Perhaps I am missing something basic about how qemu works. Should an application compiled for an i.MX8 processor work in the operating system run under qemu?
Thanks
-
I have a Yocto SDK built which allows me to cross-compile Qt applications for an i.MX8 processor. I have a Yocto image which I can run in qemu. I can send the Qt executable to the rootfs used in qemu. But, the application does not launch. I get the following:
line 4: syntax error: unexpected ")"
Perhaps I am missing something basic about how qemu works. Should an application compiled for an i.MX8 processor work in the operating system run under qemu?
Thanks
@ABest2 said in Launch Qt in Yocto qemu:
line 4: syntax error: unexpected ")"
From where is this actually coming? Do you use a script to start your application?
-
@ABest2 said in Launch Qt in Yocto qemu:
line 4: syntax error: unexpected ")"
From where is this actually coming? Do you use a script to start your application?
-
I have a Yocto SDK built which allows me to cross-compile Qt applications for an i.MX8 processor. I have a Yocto image which I can run in qemu. I can send the Qt executable to the rootfs used in qemu. But, the application does not launch. I get the following:
line 4: syntax error: unexpected ")"
Perhaps I am missing something basic about how qemu works. Should an application compiled for an i.MX8 processor work in the operating system run under qemu?
Thanks
@ABest2 To make the question more specific, should the SDK built with Yocto to build the kit for Qt use the MACHINE of the i.MX8 device or the MACHINE used to create the qemu instance. For instance, if I build qemu with MACHINE ??= 'qemux86-64' what do I need for the MACHINE value when building the SDK to run in this qemu instance?