Results 1 to 6 of 6

Thread: Problem with QVFB

  1. #1
    Join Date
    Feb 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Post Problem with QVFB

    Hi,

    I am new to Qt. I am developing a simple application using Qt. I want the exe to be displayed on the qvfb. But i am getting the following error:

    "_X11TransSocketINETConnect() can't get address for QVFb:6000: Name or service not known
    simplecalc: cannot connect to X server QVFb:0"

    These were my installation steps:
    cd /to qt-x11-opensource-src-4.4.3
    ./configure -qvfb
    make
    make install

    I set the evnvironment variables as mentioned in the installation steps in the trolltech site.
    The installation was successful without any errors.

    I then went inside the tools/qvfb within the above mentioned directory.

    make
    make install

    I developed a simple calculator application using Qt designer tool. Made an exe and it was succcessful without any errors. I could successfully display it on the X11 widow.

    I went inside /usr/local/Trolltech/Qt-4.4.3/bin/ and ran qvfb.
    I ran my application as :
    simplecalc -qws -display QVFb:0

    But it threw an error:
    _X11TransSocketINETConnect() can't get address for QVFb:6000: Name or service not known
    simplecalc: cannot connect to X server QVFb:0


    Please help.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with QVFB

    Why do you need qvfb with a desktop installation? You said you passed -qvfb to configure - are you sure you are using the desktop release of Qt? My source bundle doesn't have such option...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Problem with QVFB

    Yes i am using a desktop installation. The link from where i downloaded is:

    ftp://ftp.trolltech.no/qt/source/qt-...c-4.4.3.tar.gz


    Is qvfb used only with Qt-embedded?
    And do i have to develop the application in Qtopia core to run in qvfb?

    Thanks in advance.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with QVFB

    But why do you need qvfb in the first place?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Feb 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Problem with QVFB

    I am trying to see how the GUI looks on an embedded platform. But I dont have the platform yet.

    Thanks in advance.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with QVFB

    Download the embedded edition then and build it for your desktop platform. Alternatively newer versions of Designer have the ability to be configured with embedded device dimensions so if you're just after the GUI, you can test it this way without the embedded platform.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 28th August 2008, 14:49
  2. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  3. QVFB problem.
    By hvreddy1110 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 25th October 2006, 11:29
  4. QVFB problem.
    By hvreddy1110 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th October 2006, 16:16
  5. the big problem about QVFB
    By screen in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th May 2006, 15:06

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.