Results 1 to 3 of 3

Thread: Qt/Embedded-4.4.3 on S3C2440(ARM9)

  1. #1
    Join Date
    Jul 2009
    Location
    Bangalore
    Posts
    68
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt/Embedded-4.4.3 on S3C2440(ARM9)

    Hi All,

    I am using ARM9(S3C2440) board, i compiled the Qt/Embedded-4.4.3 on host as
    drass:/home/qt/qt-embedded/qt-embedded-linux-opensource-src-4.4.3 #
    ./configure -embedded arm -shared -no-cups -DQT_QLOCALE_USES_FCVT

    and copied the libraries libQtCore.so.4.4.3, libQtGui.so.4.4.3, libQtNetwork.so.4.4.3, and fonts(DejaVuSans-Bold.ttf, DejaVuSerif-Bold.ttf, DejaVuSans.ttf, DejaVuSerif.ttf) into /opt/qt/lib/ in target ARM9(S3C2440) board

    and

    [root@EmbedSky /]# export LD_LIBRARY_PATH='/opt/qt/lib'
    [root@EmbedSky /]# export QWS_MOUSE_PROTO='Intellimouse:/dev/input/misc'
    [root@EmbedSky /]# mknod /dev/tty0 c 4 0

    [root@EmbedSky lib]# ln -s libQtCore.so.4.4.3 libQtCore.so.4.4
    [root@EmbedSky lib]# ln -s libQtCore.so.4.4.3 libQtCore.so.4
    [root@EmbedSky lib]# ln -s libQtCore.so.4.4.3 libQtCore.so
    [root@EmbedSky lib]# ln -s libQtGui.so.4.4.3 libQtGui.so.4.4
    [root@EmbedSky lib]# ln -s libQtGui.so.4.4.3 libQtGui.so.4
    [root@EmbedSky lib]# ln -s libQtGui.so.4.4.3 libQtGui.so
    [root@EmbedSky lib]# ln -s libQtNetwork.so.4.4.3 libQtNetwork.so.4.4
    [root@EmbedSky lib]# ln -s libQtNetwork.so.4.4.3 libQtNetwork.so.4
    [root@EmbedSky lib]# ln -s libQtNetwork.so.4.4.3 libQtNetwork.so

    and if i run my application as

    [root@EmbedSky /home]# ./dro -qws
    QFontDatabase: Cannot find font directory /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/fonts - is Qt installed correctly?
    Aborted
    [root@EmbedSky /home]#

    How to resolve this issue. Any suggestions will be added advantage.
    Thanks & Regards
    Sandeep G.R.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Qt/Embedded-4.4.3 on S3C2440(ARM9)

    Is there such a directory /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/fonts on your target system and does it contains the fonts? Does the application has the rights to access that directory?
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default Re: Qt/Embedded-4.4.3 on S3C2440(ARM9)

    a..ha ...you build Qt4 with the default prefix path (see ./configure --help for more details about "prefix" path), which may be already fixed to /usr/local/Trolltech/QtEmbedded-4.4.3-arm/"

    so, Qt try to find the fonts under the "prefix"/lib/fonts/ directory,
    just create a link for /opt/qt to /usr/local/Trolltech/QtEmbedded-4.4.3-arm/ may fix this problem i think.

    or, you can rebuild your Qt with "prefix" set to "/opt/qt"

    /WX

Similar Threads

  1. Building Qt 4.4.3 with GCC 4.3.2 on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 9
    Last Post: 15th July 2009, 20:30
  2. regarding qt/embedded support in MontaVista linux
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 6th February 2007, 12:46
  3. Graph display in QT/Embedded
    By hvreddy1110 in forum Newbie
    Replies: 1
    Last Post: 22nd September 2006, 19:02

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.