Results 1 to 2 of 2

Thread: Getting errors while trying to compile Qvfb from Qt/X11 environment

  1. #1
    Join Date
    Apr 2012
    Posts
    3
    Qt products
    Qt4 Qt/Embedded

    Default Getting errors while trying to compile Qvfb from Qt/X11 environment

    hi all,
    I downloaded the latest libraries (Qt libraries 4.8.1 for Linux/X11).
    I was trying to build the qvfb from ~/Qt-X11/tools/qvfb.Prior to this compilation, i had compiled Qt/X11 successfully and set the Qt path accordingly.

    Then i tried to build qvfb by giving make command from the qvfb folder which resulted with errors

    While compiling the qvfb i am getting the errors related to qanimationwriter.cpp as follows

    Makefile:4577: warning: overriding commands for target `.obj/release-shared/qlock.o’
    Makefile:4259: warning: ignoring old commands for target `.obj/release-shared/qlock.o’
    g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_QWS_SIGNALHANDLER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../src/gui/embedded -I../shared/deviceskin -I../../src/3rdparty/libpng -I../../src/3rdparty/zlib -I/usr/X11R6/include -I.uic/release-shared -I.moc/release-shared -o .obj/release-shared/qanimationwriter.o qanimationwriter.cpp
    qanimationwriter.cpp:74: error: ‘png_structp’ does not name a type
    qanimationwriter.cpp:75: error: ‘png_infop’ does not name a type
    qanimationwriter.cpp:107: error: ‘png_structp’ has not been declared
    qanimationwriter.cpp:107: error: ‘png_bytep’ has not been declared
    qanimationwriter.cpp:107: error: ‘png_size_t’ has not been declared

    can anybody help me to overcome this issue

    thanks&regards
    sunil

  2. #2
    Join Date
    Apr 2012
    Posts
    3
    Qt products
    Qt4 Qt/Embedded

    Default Re: Getting errors while trying to compile Qvfb from Qt/X11 environment

    hi all,
    I myself found the reason for build failure for the qvfb.Infact it was a bug in the qt4.8.1 version release itself as it is being reported by the following link.

    https://bugreports.qt-project.org/se...ter/order=DESC
    please search for the “qvfb” in the above link


    Then I downloaded the 4.5.2 sourcecode for both Qt/Embedded and Qt/X11 and finally i am able to bring the qvfb emulator up .Following link will give the proper instructions to install the qvfb.
    http://www.qtcentre.org/archive/index.php/t-37822.html

    So finally I am able to run the Qt/Embedded application using the Qvfb from the Qt/X11 tools….

Similar Threads

  1. Replies: 0
    Last Post: 7th June 2010, 07:14
  2. qwt vc++ compile errors
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 0
    Last Post: 5th December 2009, 21:26
  3. QT_NO_DEBUG_OUTPUT cause compile errors!
    By slux in forum Qt Programming
    Replies: 3
    Last Post: 8th January 2008, 00:48
  4. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 06:26
  5. Qt Compile Errors?
    By magikalpnoi in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2006, 23:18

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.