Installing QT Creator On ARM Processor



  • Hello,

    I am trying to install qt creator on an a80 arm processor running labuntu (like ubuntu) but qt creator will not start. It does not give an error or anything, nothing happens.

    I ran these commands for installation

    sudo apt-get install qt4-dev-tools
    sudo apt-get install qtcreator
    sudo apt-get install gcc
    sudo apt-get install xterm


  • Lifetime Qt Champion

    Hi,

    Did you try starting from the command line to see if there's anything printed on the console ?



  • Thank you for the suggestion. Here is the output I get

    root@local:~/.local/share/applications# cd /usr/bin/
    root@local:/usr/bin# ./qtcreator
    libEGL warning: DRI2: failed to authenticate
    libEGL warning: DRI2: failed to open swrast (search paths /usr/local/pvr/lib/dri)
    libEGL warning: GLX: failed to load GLX
    Fontconfig warning: ignoring C.UTF-8: not a valid language tag
    file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:30:1: module "QtQuick" is not installed
    import QtQuick 2.1
    ^
    SOFT ASSERT: "tc" in file /build/buildd/qtcreator-3.0.1/src/plugins/debugger/debuggerkitinformation.cpp, line 62
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    Could not initialize EGL
    Aborted


    so then i issued these commands
    apt-get update && apt-get install qt-components-ubuntu qt-components-ubuntu-examples qt-components-ubuntu-doc

    but now i get

    ./qtcreator
    libEGL warning: DRI2: failed to authenticate
    libEGL warning: DRI2: failed to open swrast (search paths /usr/local/pvr/lib/dri)
    libEGL warning: GLX: failed to load GLX
    Fontconfig warning: ignoring C.UTF-8: not a valid language tag
    SOFT ASSERT: "tc" in file /build/buildd/qtcreator-3.0.1/src/plugins/debugger/debuggerkitinformation.cpp, line 62
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    Could not initialize EGL
    Aborted



  • I had to update the symbolic links for libGLESv2.so but now when I try to compile a basic qt app (everything default) I get this.

    :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

    obviously i need to setup a compiler but all the tutorials i see are for cross compile setups. How do i compile for arm processor directly on that arm processor?

    I created a compiler in the kit options like it said but I still get "No tool chain set from kit "Desktop" when i start qtcreator from the command line. What do I need to install?


  • Lifetime Qt Champion

    Do you have a compiler properly installed ?



  • I have installed Qt on a bananapi running lubuntu with the following command:
    sudo apt-get install qt-sdk
    I hope this helps,
    Kind regards,
    Cedric


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.