Results 1 to 5 of 5

Thread: "qconfig -medium" failed

  1. #1
    Join Date
    Nov 2007
    Posts
    10
    Qt products
    Platforms
    Unix/X11

    Default "qconfig -medium" failed

    I am using qtopia-core-opensource-4.3.2.

    I am able to configure and install it by
    ./configure -embedded arm
    gmake
    gmake install


    However if I do like:
    ./configure -embedded arm -qconfig medium
    then gmake will fail at the stage "compiling examples"
    Could anyone tell me how to solve this problem?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: "qconfig -medium" failed

    What's the first error message?
    J-P Nurmi

  3. #3
    Join Date
    Nov 2007
    Posts
    10
    Qt products
    Platforms
    Unix/X11

    Default Re: "qconfig -medium" failed

    Thanks, jpn,

    Successful story:
    qtopia-core-opensource-src-4.3.2 #
    echo "yes"|./configure -embedded arm -no-stl -no-qt3support -no-nis -no-cups -no-iconv -no-qdbus -no-freetype -depths 4,8,16,32 -qt-mouse-linuxtp
    gmake
    gmake install

    Failed story:
    echo "yes"|./configure -qconfig medium -embedded arm -no-stl -no-qt3support -no-nis -no-cups -no-iconv -no-qdbus -no-freetype -depths 4,8,16,32 -qt-mouse-linuxtp
    The last error messages are:
    ......
    arm-linux-g++ -c -pipe -g -fno-exceptions -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/qws/linux-arm-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include/QtXml -I../../../../include/QtXml -I../../../../include/QtSvg -I../../../../include/QtSvg -I../../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qsvgiconengine.o qsvgiconengine.cpp
    rm -f libqsvg.so
    arm-linux-g++ -fno-exceptions -Wl,-rpath,/usr/local/Trolltech/QtopiaCore-4.3.2-arm/lib -Wl,-rpath,/usr/local/Trolltech/QtopiaCore-4.3.2-arm/lib -shared -o libqsvg.so .obj/release-shared-emb-arm/main.o .obj/release-shared-emb-arm/qsvgiconengine.o -L/opt/qtopia-core-opensource-src-4.3.2/lib -lQtSvg -L/opt/qtopia-core-opensource-src-4.3.2/lib -lQtXml -lQtGui -lQtNetwork -lQtCore -lm -lpthread -ldl
    mv -f libqsvg.so ../../../../plugins/iconengines/
    gmake[3]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/iconengines/svgiconengine'
    gmake[2]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/iconengines'
    cd gfxdrivers/ && gmake -f Makefile
    gmake[2]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/gfxdrivers'
    gmake[2]: Nothing to be done for `first'.
    gmake[2]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/gfxdrivers'
    cd decorations/ && gmake -f Makefile
    gmake[2]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/decorations'
    gmake[2]: Nothing to be done for `first'.
    gmake[2]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/decorations'
    cd mousedrivers/ && gmake -f Makefile
    gmake[2]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/mousedrivers'
    gmake[2]: Nothing to be done for `first'.
    gmake[2]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins/mousedrivers'
    gmake[1]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/src/plugins'
    cd examples/ && gmake -f Makefile
    gmake[1]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/examples'
    cd desktop/ && gmake -f Makefile
    gmake[2]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop'
    cd screenshot/ && gmake -f Makefile
    gmake[3]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop/screenshot'
    /opt/qtopia-core-opensource-src-4.3.2/bin/qmake -spec ../../../mkspecs/qws/linux-arm-g++ -unix -o Makefile screenshot.pro
    gmake[3]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop/screenshot'
    gmake[3]: Entering directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop/screenshot'
    arm-linux-g++ -c -pipe -g -fno-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../include/QtCore -I../../../include/QtCore -I../../../include/QtNetwork -I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtGui -I../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/main.o main.cpp
    arm-linux-g++ -c -pipe -g -fno-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../include/QtCore -I../../../include/QtCore -I../../../include/QtNetwork -I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtGui -I../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/screenshot.o screenshot.cpp
    screenshot.cpp: In member function `void Screenshot::saveScreenshot()':
    screenshot.cpp:90: error: `QFileDialog' has not been declared
    screenshot.cpp:94: error: `getSaveFileName' undeclared (first use this function)
    screenshot.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)
    gmake[3]: *** [.obj/release-shared-emb-arm/screenshot.o] Error 1
    gmake[3]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop/screenshot'
    gmake[2]: *** [sub-screenshot-make_default-ordered] Error 2
    gmake[2]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/examples/desktop'
    gmake[1]: *** [sub-desktop-make_default] Error 2
    gmake[1]: Leaving directory `/opt/qtopia-core-opensource-src-4.3.2/examples'
    gmake: *** [sub-examples-make_default-ordered] Error 2
    linux-insb:/opt/qtopia-core-opensource-src-4.3.2 #

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: "qconfig -medium" failed

    That's weird, because screenshot.cpp seems to include whole <QtGui> so QFileDialog should be declared. Anyway, you could try skipping examples with "-nomake examples" unless you really need them?
    J-P Nurmi

  5. #5
    Join Date
    Nov 2007
    Posts
    10
    Qt products
    Platforms
    Unix/X11

    Default Re: "qconfig -medium" failed

    Since I use "-qconfig medium" to configure, so some defines are surely undeclared. Actually whenever I use "-qconfig medium", "-qconfig small", "-qconfig minimal" or "-qconfig my", compiling examples will definetely fail here or there.
    The "./configure" does not seem to have intelligence to properly configure to compile examples, it just simply compile them all. I found, this problem exists in all qtopia core releases.

Similar Threads

  1. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.