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. Cross-Compile Stage Qt Creator for Orange Pi One
Forum Updated to NodeBB v4.3 + New Features

Cross-Compile Stage Qt Creator for Orange Pi One

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 883 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.
  • K Offline
    K Offline
    kutluyigitturk
    wrote on last edited by
    #1

    Hi,

    For a long time, I've been trying to cross-compile qt5 for Orange Pi One V1.1,
    I'm currently running a line that I don't know what it does and I'm getting an error

    Command Executed
    ../qt-everywhere-src-5.15.2/configure -opengl es2 -device linux-arm-generic-g++ -device-option CROSS_COMPILE=/opt/qt5opi/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /opt/qt5opi/sysroot -prefix /usr/local/qt5opi -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtdatavis3d -nomake examples -make libs -pkg-config -no-use-gold-linker -v

    Error Received
    ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.

    Which solutions can you suggest me about this issue?

    Thank you

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      See the verbose output and qmake logs to see what exactly is failing to compile.

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kutluyigitturk
        wrote on last edited by
        #3

        I solved the problem I mentioned above by typing the following command line.

        ../qt-everywhere-src-5.15.2/configure -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/opt/qt5opi/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /opt/qt5opi/sysroot -prefix /usr/local/qt5opi -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtdatavis3d -nomake examples -make libs -pkg-config -no-use-gold-linker -v

        ,and then I successfully completed the cross-compile process.

        With the hope that all humanity who encounters or will encounter this problem will find a solution here.

        1 Reply Last reply
        2

        • Login

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