Results 1 to 2 of 2

Thread: qt build error

  1. #1
    Join Date
    Aug 2009
    Posts
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default qt build error

    I got qt-embedded-linux-opensource-src-4.5.3.tar.gz and run ./configure with option bellows:

    ./configure \
    -opensource \
    -embedded mips \
    -little-endian \
    -xplatform qws/linux-mipsel-g++ \
    -shared \
    -no-cups \
    -depths 32 \
    -debug \
    -qt-mouse-linuxtp \
    -no-opengl \
    -no-mmx \
    -no-3dnow \
    -no-sse \
    -no-sse2 \
    -qt-kbd-usb \
    -qt-zlib \
    -qt-gif \
    -qt-libpng \
    -qt-libjpeg \
    -qt-libmng

    and then run make...

    Unfortunately, It give us an error :

    mipsel-linux-g++ -c -include .pch/debug-shared-emb-mips/QtGui -pipe -mips32 -fno-exceptions -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-mipsel-g++ -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/debug-shared-emb-mips -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/debug-shared-emb-mips -I.uic/debug-shared-emb-mips -o .obj/debug-shared-emb-mips/qpnghandler.o image/qpnghandler.cpp
    In file included from ../3rdparty/libpng/png.h:444,
    from image/qpnghandler.cpp:53:
    ../3rdparty/libpng/pngconf.h:329: error: expected constructor, destructor, or type conversion before '.' token
    ../3rdparty/libpng/pngconf.h:330: error: '__dont__' does not name a type
    make[1]: *** [.obj/debug-shared-emb-mips/qpnghandler.o] 오류 1
    make[1]: Leaving directory `/root/project/tools/qt-embedded-linux-opensource-src-4.5.3/src/gui'
    make: *** [sub-gui-make_default-ordered] 오류 2

    why the above error? please, help me~~~

    thanks in advance....

    sunny

  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: qt build error

    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. Gtk error when installing Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 1
    Last Post: 18th November 2009, 05:08
  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. 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
  5. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31

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.