Results 1 to 6 of 6

Thread: Error while building/deploying project

  1. #1
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Error while building/deploying project

    Hi guys,

    I am having problem deploying a simple qml project. I encountered this error:

    Error while building/deploying project test (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.3.2))
    When executing step "Deploy to Android device"


    I found out that the AVD i created is not compatible:

    ABI is incompatible, device supports ABIs: armeabi

    Here is my environment:
    OS: windows 7 (64 bit)
    Qt: Qt Creator 3.2.1 based on Qt 5.3.2 (MSVC 2010, 32 bit)
    JDK: jdk1.8.0_25
    SDK: Androind SDK Tools 23.0.5 with API 21 and 10 installed
    NDK: Android NDK r10c
    Ant: apache-ant-1.9.4

    Basically, i am using the updated Android tools.

    I already tried adding ANDROID_TARGET_ARCH build variable based on some recommendations on the internet but still the same issue.

    I noticed from build variables, the following variables are using forward slash instead of backward slash.

    ANDROID_HOME
    ANDROID_SDK_ROOT
    JAVA_HOME

    Should I be concerned with that?

    TIA!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Error while building/deploying project

    Is the device you are deploying to ARMv7 compatible? If not then you have to use the generic ARM architecture toolchain.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error while building/deploying project

    Quote Originally Posted by wysota View Post
    Is the device you are deploying to ARMv7 compatible? If not then you have to use the generic ARM architecture toolchain.
    Wow! How come I didn't tried that kit. Thank you for your response.

    However, I've encountered these errors while deploying:

    W/Qt ( 533): eglconvenience\qeglconvenience.cpp:314 (void* QEglConfigChooser::chooseConfig()): Cant find EGLConfig, returning null config
    W/Qt ( 533): scenegraph\qsgcontext.cpp:432 (virtual void QSGRenderContext::initialize(QOpenGLContext*)): QSGContext::initialize: depth buffer support missing, expect rendering errors
    W/Qt ( 533): scenegraph\qsgcontext.cpp:434 (virtual void QSGRenderContext::initialize(QOpenGLContext*)): QSGContext::initialize: stencil buffer support missing, expect rendering errors
    I/ARMAssembler( 533): generated scanline__00000077:03010108_00000A08_00000000 [ 4 ipp] (25 ins) at [0x45ba41e8:0x45ba424c] in 1985690 ns
    E/libEGL ( 533): called unimplemented OpenGL ES API
    E/libEGL ( 522): called unimplemented OpenGL ES API
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:322 (bool QOpenGLShaderPrivate::compile(QOpenGLShader*)): QOpenGLShader::compile(Vertex): failed
    E/libEGL ( 522): called unimplemented OpenGL ES API
    E/libEGL ( 522): called unimplemented OpenGL ES API
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:322 (bool QOpenGLShaderPrivate::compile(QOpenGLShader*)): QOpenGLShader::compile(Fragment): failed
    E/libEGL ( 522): called unimplemented OpenGL ES API
    E/libEGL ( 522): called unimplemented OpenGL ES API
    W/Qt ( 522): scenegraph\coreapi\qsgmaterial.cpp:369 (virtual void QSGMaterialShader::compile()): QSGMaterialShader: Shader compilation failed:
    W/Qt ( 522): scenegraph\coreapi\qsgmaterial.cpp:370 (virtual void QSGMaterialShader::compile()): ""
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    E/libEGL ( 522): called unimplemented OpenGL ES API
    Any thoughts on this error? TIA.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Error while building/deploying project

    Does your device have support for OpenGLES in the version required by your application (2.0+)?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    joko (18th November 2014)

  6. #5
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error while building/deploying project

    Quote Originally Posted by wysota View Post
    Does your device have support for OpenGLES in the version required by your application (2.0+)?
    Wysota, i didn't encountered such error this time when I'm using actual device.

    Thank you for all your support, everything is working now.
    Last edited by joko; 18th November 2014 at 19:10.

  7. #6
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error while building/deploying project

    ----------------
    Last edited by joko; 16th January 2015 at 18:52.

Similar Threads

  1. error while building the project
    By Harini in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2014, 20:44
  2. error while building qt project
    By bibhukalyana in forum Newbie
    Replies: 2
    Last Post: 9th May 2011, 04:19
  3. Error while building project
    By kapitanluffy in forum Newbie
    Replies: 1
    Last Post: 9th February 2011, 13:33
  4. Issues deploying a Qt-Creator-Project on Linux
    By The_Maverick in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd December 2010, 23:18
  5. anyone building/deploying Qt+Coin3d+SoQt apps with MinGW??
    By vonCZ in forum Installation and Deployment
    Replies: 0
    Last Post: 13th November 2008, 16:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.