This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cant run QT application on Am335x Sitara board with SDK -01.00.00.03

Hello,

Today I have download the new SDK released by Ti 

SDK : ti-processor-sdk-linux-am335x-evm-01.00.00.03

Target board : AM335x Sitara EVM

Host : ubuntu 14.04

I have created a simple QT application. Cross compile is fine.It even created a binary. But when I run this application on target board with SDK ti-processor-sdk-linux-am335x-evm-01.00.00.03, it says :

error while loading shared libraries: /usr/lib/libGLESv2.so: file too short

Can anyone help on this.

Thank you 

here is my sample code 

main.cpp

#include <QLabel>
#include <QFont>
#include <QtGui>
#include <QPixmap>
#include <QTextEdit>
#include <QTextCursor>
#include <QLineEdit>
#include "mainwindow.h"
#include <QCoreApplication>
#include <QApplication>

int main(int argc, char *argv[])
{
	QApplication app(argc, argv);
	QTextEdit *editor = new QTextEdit();
	editor->setText("Welcome");  				//Set the text inside textedit widget
	QTextCursor cursor(editor->textCursor());
	cursor.beginEditBlock();
	cursor.movePosition(QTextCursor::EndOfWord, QTextCursor::KeepAnchor);
	cursor.endEditBlock();
	editor->show();
	return app.exec();
}

untitled.pro file

#-------------------------------------------------
#
# Project created by QtCreator 2015-07-29T16:43:15
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = untitled
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp

HEADERS  += mainwindow.h

FORMS    += mainwindow.ui

Please provide a solution to me.

Thanks once again.