Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Gui application failed to start
Forum Updated to NodeBB v4.3 + New Features

Gui application failed to start

Scheduled Pinned Locked Moved Mobile and Embedded
9 Posts 2 Posters 4.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    ferran.ripoll
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vishwajeet
        wrote on last edited by
        #3

        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 ?

        Born To Code !!!

        1 Reply Last reply
        0
        • F Offline
          F Offline
          ferran.ripoll
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vishwajeet
            wrote on last edited by
            #5

            ok what about console application ? does it work ?

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

            Born To Code !!!

            1 Reply Last reply
            0
            • F Offline
              F Offline
              ferran.ripoll
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vishwajeet
                wrote on last edited by
                #7

                Some more info on Qt here now

                what are the parameter u passed to configure while building ?

                Born To Code !!!

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  ferran.ripoll
                  wrote on last edited by
                  #8

                  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]

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    ferran.ripoll
                    wrote on last edited by
                    #9

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

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved