Results 1 to 4 of 4

Thread: run qt-embedded demos error on arm board

  1. #1
    Join Date
    Sep 2009
    Posts
    1

    Default run qt-embedded demos error on arm board

    I got errors when run demos on the arm board.
    qt-embedded 4.5.2

    /ghye/demos/affine $ ./affine
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    QWSSocket::connectToLocalFile could not connect:: Bad file descriptor
    No Qt for Embedded Linux ant to run this program as a server,
    add the "-qws" command-line option.

    /ghye/demos/affine $ ./affine -qws
    QWSServerSocket::init: Address family not supported by protocol
    QWSServerSocket: unable to crea/QtEmbedded-0
    Aborted

    what was wrong ??...

  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: run qt-embedded demos error on arm board

    Maybe you have to set that QWS_DISPLAY variable to fit your setup:
    http://qt.nokia.com/doc/4.5/qt-embed...anagement.html
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    May 2008
    Location
    Spain
    Posts
    92
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: run qt-embedded demos error on arm board

    QWSServerSocket: unable to crea/QtEmbedded-0
    Perhaps, read-only file system?

  4. #4
    Join Date
    Dec 2009
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: run qt-embedded demos error on arm board

    Append -qws to the end of your command.

    ex. ./fluidlauncher -qws


    Thanks,

    VP.

    EDIT: Woops, already tried that... :P

    EDIT2: Try 'sudo -s' then run.

Similar Threads

  1. Embedded Widgets Demos
    By jhowland in forum Qt Programming
    Replies: 1
    Last Post: 15th January 2009, 11:53
  2. embedded font/locale problems
    By GW in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 10th October 2007, 15:42

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.