February 24, 2011

ferran.ripoll ferran.ripoll
Lab Rat
5 posts

Gui application failed to start

 

I have compiled the qt 4.7.1 libaries for linux ARM, and all its dependencies (tslib, freetype, etc).

I have checked with qws/framebuffer application, the frambuffer is working properly.

I can calibrate the touch screen with the tslib tools.

Now I’m trying to execute a simple gui app, but I only can see an splash with the cursor, and the application finishes, without any error.

I have tried with different examples, getting the same result.

How can I see which is the problem?

8 replies

February 24, 2011

Deleted Member # 4a2 Deleted Member # 4a2
Ant Farmer
1481 posts

Maybe you already tested it, but does this gui app work on emulator ?
Also can you post some code

February 25, 2011

vishwajeet vishwajeet
Lab Rat
83 posts

seems like your gui applications are crashing on ARN device.

what is the configuration of your ARM board ? is simple “Hello World” label also fails to show up on that device ?

Have u checked if all dependent plugin component are already installed in that device ?

 Signature 

Born To Code !!!

February 25, 2011

ferran.ripoll ferran.ripoll
Lab Rat
5 posts

I didn’t test the app on emulator.

But I’m testing the addressbook tutorial and the calculator example, and the result is the same.

Now I’m testing a simple application with an empty window, and the app crashes at window.show(), without any error.

February 25, 2011

vishwajeet vishwajeet
Lab Rat
83 posts

ok what about console application ? does it work ?

could u please post environment detail on ARM board as well hardware detail of your board

 Signature 

Born To Code !!!

February 25, 2011

ferran.ripoll ferran.ripoll
Lab Rat
5 posts

Yes, a console application works.

I’m using a development board from Hitegh with samsung s3c2440 processor, 7” tft screen (800×480 16bpp), and touch screen.

Linux kernel is 2.32.2, and gcc 4.4.3

February 25, 2011

vishwajeet vishwajeet
Lab Rat
83 posts

Some more info on Qt here now

what are the parameter u passed to configure while building ?

 Signature 

Born To Code !!!

February 25, 2011

ferran.ripoll ferran.ripoll
Lab Rat
5 posts

I used this script:

  1. ./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource -v -no-accessibility \
  2.  -nomake demos -nomake example -make tools \
  3.  -multimedia -phonon \
  4.  -no-qt3support -svg -webkit \
  5.  -declarative -no-nis -no-cups \
  6.  -no-iconv -no-pch -no-dbus -no-opengl \
  7.  -qt-gfx-linuxfb -qt-gfx-qvfb -qt-gfx-vnc \
  8.  -qt-kbd-linuxinput -qt-kbd-qvfb \
  9.  -qt-mouse-tslib \
  10.  -L$STAGING/usr/lib \
  11.  -L$STAGING/usr/lib/gstreamer-0.10 \
  12.  -I$STAGING/usr/include \
  13.  -I$STAGING/usr/include/glib-2.0 \
  14.  -I$STAGING/usr/lib/glib-2.0/include \
  15.  -I$STAGING/usr/include/libxml2 \
  16.  -I$STAGING/usr/include/gstreamer-0.10 \
  17.  -rpath -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lgthread-2.0

[EDIT: code formatting, please use @-tags, Volker]

March 10, 2011

ferran.ripoll ferran.ripoll
Lab Rat
5 posts

Finally I have found the problem. The solution was:

http://bugreports.qt.nokia.com/browse/QTBUG-13441

http://bugreports.qt.nokia.com/browse/QTBUG-13395

I have compiled the Qt embedded without freetype2, and everything is working!!!

 
  ‹‹ error LNK2001      reading and writing files in Symbian^3 with QFile ››

You must log in to post a reply. Not a member yet? Register here!