Qt World Summit: Register Today!

Compiler inconsistency

  • I'm new to Qt Creator and am following Derek Molloy's tutorials for cross-compling for the BeagleBone (Debian Wheezy).

    Per the tutorial, the toolchain installed for use with the BeagleBone is:


    so the BeagleBoard kit compile and debug links are set to:

    '/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++' (BeagleGCC)
    '/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb' (BeagleDebug)

    On the Beaglebone, 'qt4-embedded' was loaded from the repository.

    My problem is that the Beagle kit is flagged with the error:
    "compiler 'BeagleGCC' (arm-linux-generic-elf-32bit) cannot produce code
    for the Qt version 'Qt5.21 GCC' (x86-linux-generic-elf-32bit)"

    Despite this error, the build and deploy process to the Beagle kit looks normal
    but the executable is not cross-compiled.

    Is this an inconsistency among the releases? Any clue from you experts would be appreciated.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Looks like your are trying to cross-compile your application using a x86 Qt. Did you also cross-compile Qt first ?

Log in to reply