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

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?



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



  • 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 ?



  • 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.



  • ok what about console application ? does it work ?

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



  • Yes, a console application works.

    I'm using a development board from Hitegh with samsung s3c2440 processor, 7" tft screen (800x480 16bpp), and touch screen.

    Linux kernel is 2.32.2, and gcc 4.4.3



  • Some more info on Qt here now

    what are the parameter u passed to configure while building ?



  • I used this script:

    @
    ./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource -v -no-accessibility
    -nomake demos -nomake example -make tools
    -multimedia -phonon
    -no-qt3support -svg -webkit
    -declarative -no-nis -no-cups
    -no-iconv -no-pch -no-dbus -no-opengl
    -qt-gfx-linuxfb -qt-gfx-qvfb -qt-gfx-vnc
    -qt-kbd-linuxinput -qt-kbd-qvfb
    -qt-mouse-tslib
    -L$STAGING/usr/lib
    -L$STAGING/usr/lib/gstreamer-0.10
    -I$STAGING/usr/include
    -I$STAGING/usr/include/glib-2.0
    -I$STAGING/usr/lib/glib-2.0/include
    -I$STAGING/usr/include/libxml2
    -I$STAGING/usr/include/gstreamer-0.10
    -rpath -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lgthread-2.0
    @

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



  • 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!!!


Log in to reply