Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. /opt/Qt5.6.3/5.6.3/gcc_64/lib/libQt5Gui.so: file not recognized: File format not recognized
Forum Updated to NodeBB v4.3 + New Features

/opt/Qt5.6.3/5.6.3/gcc_64/lib/libQt5Gui.so: file not recognized: File format not recognized

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 280 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
    AkshayChoudhari
    wrote on last edited by AkshayChoudhari
    #1

    Hi, I am getting the above error while building source code from the Ubuntu Terminal. Please help me on the same.

    attaching logs:
    /opt/poky/2.5.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/real-ld: warning: library search path "/usr/lib64" is unsafe for cross-compilation
    /opt/Qt5.6.3/5.6.3/gcc_64/lib/libQt5Gui.so: file not recognized: File format not recognized
    collect2: error: ld returned 1 exit status
    Makefile.bytearraystreams_test:203: recipe for target 'bytearraystreams_test' failed
    make[3]: *** [bytearraystreams_test] Error 1

    Any pointers/link will be helpful.

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

      Hi and welcome to devnet,

      Looks like you are cross-compiling for ARM so why are you trying to link against your custom installed Qt for x86 ?

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

      A 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi and welcome to devnet,

        Looks like you are cross-compiling for ARM so why are you trying to link against your custom installed Qt for x86 ?

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

        @SGaist Thank you for the help.

        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