Results 1 to 4 of 4

Thread: Qtopia-opensource error

  1. #1
    Join Date
    Jan 2006
    Posts
    115
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qtopia-opensource error

    Hello anybody

    I'am using FC4
    I'am using Qt-x11-opensource-src-4.1.1
    I have compile it with ./configure -qvfb
    I have also download qtopia-core-opensource-src-4.1.1
    i have compile it with:
    /configure -qvfb -embedded x86 -shared

    When i go to qtopia-core-opensource-src-4.1.1/tools/qvfb
    and compile with: qmake qvfb.pro && make there pops up a strange error:
    qvfbshmem.o qvfbshmem.cpp
    qvfbshmem.cpp: In constructor ‘QShMemViewProtocol::QShMemViewProtocol(int, const QSize&, int, QObject*)’:
    qvfbshmem.cpp:201: fout: ‘qws_dataDir’ was not declared in this scope

    What i'am doing wrong.

  2. #2
    Join Date
    Jul 2006
    Location
    Belgium
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qtopia-opensource error

    I am confused about this also. I am using QT 4.1.4. I want to run Qtopia applications on the qvfb tool.

    According to the documentation to install Qtopia you need to do :
    ./configure -embedded x86

    Somewhere else the doc says that if you want qvfb you need to do :
    ./configure -embedded x86 -qvfb
    That is in the Qtopia source tree.

    Then it says :
    "compile & run the qvfb tool as an Qt/X11 application
    cd path/to/Qt/tools/qvfb
    make
    ./qvfb"

    What do they mean with this ?
    You need to download Qt-X11-opensource-edition and compile it ?
    Just ./configure & make in Qt-X11 without options ?
    then cd to qvfb directory and run make ?
    that gives me an error about a header file not found qvfbhdr.h

    Can somebody give some more info on this ?

    Thanks.

    Cedric.

  3. #3
    Join Date
    Jul 2006
    Location
    Belgium
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qtopia-opensource error

    OK,

    I solved it like this :
    I copied the qvfbhdr.h from
    /usr/local/Trolltech/Qtopia../include/Qt to the Qt-X11 source directory tools/qvfb/
    and then compilation worked. Everything seems to work ok. I tested the analogclock example as described in the manual.

    This is not the normal procedure. I think the Qt documentation is not clear enough.

    Cedric.

  4. #4
    Join Date
    Jan 2006
    Location
    Boston, MA
    Posts
    40
    Thanks
    1
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qtopia-opensource error

    Did you set your ENV setting like PATH correctly ?

    Try
    #which qvfbhdr.h

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  4. Qtopia core 4.2.2 cross compile make error
    By smiyai18 in forum Installation and Deployment
    Replies: 2
    Last Post: 28th August 2007, 17:04
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

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.