Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Could not determine target Architecture



  • Hi,

    I am getting the error Could not determine target architecture while buildling Qt for arm

    OpenGL ES 2.x disabled.
    The OpenGL ES 2.0 functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in


  • Qt Champions 2019

    @Chandrasekhar I don't think this "Could not determine target Architecture" is related to OpenGL tests.
    You should provide more information:

    • What is your target device?
    • What SDK/sysroot are you using
    • How do you call configure?


  • My target architecture is imx283 board and arm is armv5

    my configure command is as below

    ./configure -release -opengl es2 -no-eglfs -make libs -device imx283 -device-option CROSS_COMPILE=../../../../../../../d/Hayward_Nucleus_2014/tools/compilers/Nucleus/codesourcery_arm_4.5.1/bin/../../../../../../../d/Hayward_Nucleus_2014/tools/compilers/Nucleus/codesourcery_arm_4.5.1/ -sysroot ../../../../../../../d/Hayward_Nucleus_2014/tools/compilers/Nucleus/codesourcery_arm_4.5.1/ -prefix /usr/local/QtNucleus -qt-xcb -force-pkg-config -no-gcc-sysroot -device-option DISTRO_OPTS=hard-float

    I am trying to compile it for Nucleus ,and i am having a query of what to be usewd -sysroot option,currently i am using same as cross compile path.



  • Hi,
    Can any guide me on this


Log in to reply