Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Launch Qt in Yocto qemu
Forum Updated to NodeBB v4.3 + New Features

Launch Qt in Yocto qemu

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 570 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ABest2
    wrote on last edited by
    #1

    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

    jsulmJ A 2 Replies Last reply
    0
    • A ABest2

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @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?

        A Offline
        A Offline
        ABest2
        wrote on last edited by
        #3

        @jsulm

        I get the same output whether I launch from Qt creator or launch from the terminal in qemu. In the former case the message is in Qt creator and in the latter the message is in the terminal.

        1 Reply Last reply
        0
        • A ABest2

          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

          A Offline
          A Offline
          ABest2
          wrote on last edited by
          #4

          @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?

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved