Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. VirtualKeyboard Error : Illegal Instruction

VirtualKeyboard Error : Illegal Instruction

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
10 Posts 3 Posters 2.1k Views 3 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.
  • KartK Offline
    KartK Offline
    Kart
    wrote on last edited by
    #1

    I have created a cross compiled qmake (5.9.1). I am building the example virtualkeyboard with this qmake and the build is successful. But when i am running the application on the target board, i am getting the following error :

    Illegal instruction
    

    I created a default Qt Quick application and ran in my target and it is working fine.
    I am not able to understand what the issue is. Any help would be appreciated.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Might be a silly question but did you cross-compiled the virtual keyboard module separately ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      KartK 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Might be a silly question but did you cross-compiled the virtual keyboard module separately ?

        KartK Offline
        KartK Offline
        Kart
        wrote on last edited by
        #3

        @SGaist I did.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          With the exact same Qt version you are using for your application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          KartK raven-worxR 2 Replies Last reply
          0
          • SGaistS SGaist

            With the exact same Qt version you are using for your application ?

            KartK Offline
            KartK Offline
            Kart
            wrote on last edited by
            #5

            @SGaist Yes I did.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Can you get a backtrace of that crash ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • SGaistS SGaist

                With the exact same Qt version you are using for your application ?

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @name_qt
                @SGaist said in VirtualKeyboard Error : Illegal Instruction:

                With the exact same Qt version you are using for your application ?

                and also you used the correct toolchain?! Somehow the output of your cross compilation isn't compatible

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                KartK 1 Reply Last reply
                1
                • raven-worxR raven-worx

                  @name_qt
                  @SGaist said in VirtualKeyboard Error : Illegal Instruction:

                  With the exact same Qt version you are using for your application ?

                  and also you used the correct toolchain?! Somehow the output of your cross compilation isn't compatible

                  KartK Offline
                  KartK Offline
                  Kart
                  wrote on last edited by
                  #8

                  Yes @raven-worx , I have used the correct tool chain. Can you explain exactly what you meant by compatibility ?

                  raven-worxR 1 Reply Last reply
                  0
                  • KartK Kart

                    Yes @raven-worx , I have used the correct tool chain. Can you explain exactly what you meant by compatibility ?

                    raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by raven-worx
                    #9

                    @name_qt
                    compatibility with process instructions ;)
                    E.g. also make sure you didn't mixup ARM and x86, and also binary compatibility (also of the dependencies used for cross-compiling and which are available at the end on the target system)

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    KartK 1 Reply Last reply
                    2
                    • raven-worxR raven-worx

                      @name_qt
                      compatibility with process instructions ;)
                      E.g. also make sure you didn't mixup ARM and x86, and also binary compatibility (also of the dependencies used for cross-compiling and which are available at the end on the target system)

                      KartK Offline
                      KartK Offline
                      Kart
                      wrote on last edited by
                      #10

                      @raven-worx I checked with the executables and libraries using file command and everything seems to be perfect.

                      1 Reply Last reply
                      0

                      • Login

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