Results 1 to 4 of 4

Thread: QWT on ARM9 - Display problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default QWT on ARM9 - Display problem

    Hi

    I have a problem. A Qt application which uses QWT elements isn't properly displayed on my ARM9 target board. Only the cursor is shown in a green box in size of the cursor.
    When I delete the QWT-Elements, the QT widget is displayed errorless.
    If I compile the application for PC (VMWare Ubuntu) and run it there, it is displayed correctly (with Qwt elements).

    What I have done to built the app:

    (on PC)
    -uncompress QWT 5.2.1-Sources to directory qwt-5.2.1
    -compile QWT via qmake (for PC) und make
    -install with "make install"
    -set Library path with ldconfig

    Now I have created the Qt/Qwt application using Qt Designer (Qwt elements were available in Designer).

    Then I used "qmake -project" to generate a *.pro file and added

    INCLUDEPATH = /home/at91sam/Downloads/qwt-5.2.1/src
    LIBS = -L/home/at91sam/Downloads/qwt-5.2.1/lib -lqwt

    to the end of the file. After qmake (for PC) and make, I could start the application on PC.

    Now I built the application for the ARM9 board with:

    (on PC)
    -uncompress QWT 5.2.1-Sources to directory qwt-5.2.1_ICnova
    -uncomment the line "CONFIG += QwtDesigner" from qwtconfig.pri
    -compile QWT via qmake (from ARM toolchain) und make (compiled without errors)

    Now I added the lines

    INCLUDEPATH = /home/at91sam/Downloads/qwt-5.2.1_ICnova/src
    LIBS = -L/home/at91sam/Downloads/qwt-5.2.1_ICnova/lib -lqwt

    at the end of the *.pro file of my application and compiled it with qmake (from ARM toolchain) and make.
    Then I copied the binary to my ARM9 target board. When I executed it, I got the error message "can't load library 'libqwt.so.5'".
    So I copied the file libqwt.so.5.2.1 from PC (directory qwt-5.2.1_ICnova/lib) to the ARM9 board (directory /usr/lib) and created a symlink libqwt.so.5 to the file libqwt.so.5.2.1.
    Now I could start my application "./MyFirstQt -qws" without errors, but with the behavior I described at the beginning of the post (only the cursor is shown).

    Does anybody know why the Qt/Qwt appliccation isn't shown correctly? What is my mistake?
    I hope you can help me.

    By the way, the QTembedded version from my builtroot system is 4.4.3.

    Best regards, Markus

  2. #2
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: QWT on ARM9 - Display problem

    I tried to statically link qwt to my application. Static linking seems to work, because I don't need the qwt-library /usr/lib/libqwt.so.5.2.1 on my ARM board anymore.
    Unfortunately my application shows the same behavior as before.
    I attached 2 pictures, which show the application running on PC (VMWare Ubuntu) and on my ARM9 board.

    Any ideas?
    Attached Images Attached Images

  3. #3
    Join Date
    Nov 2010
    Posts
    2
    Platforms
    Unix/X11

    Default Re: QWT on ARM9 - Display problem

    I've got the same problem.

  4. #4
    Join Date
    Nov 2010
    Posts
    2
    Platforms
    Unix/X11

    Default Re: QWT on ARM9 - Display problem

    I updated my QTE to latest version 4.71, and the problem is solved now.

Similar Threads

  1. Qt 4.5.1 embedded error Phonon+Gst+Glib on arm9
    By anjal in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 20th July 2010, 09:59
  2. Removing antialiasing on Linux ARM9
    By CBQt in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd March 2010, 21:47
  3. Is it possible to run Qt4 on a AT91SAM9263, arm9, 200M
    By wesley in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th January 2010, 21:23
  4. Qt/Embedded-4.4.3 on S3C2440(ARM9)
    By grsandeep85 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 12th January 2010, 04:53
  5. Qt/Embedded-4.4.3 on ARM9(S3C2440)
    By grsandeep85 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 17th December 2009, 13:08

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
  •  
Qt is a trademark of The Qt Company.