Results 1 to 4 of 4

Thread: Qt/Embedded 4.7 TP failed to build for -qconfig small

  1. #1
    Join Date
    Apr 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Qt/Embedded 4.7 TP failed to build for -qconfig small

    Hi guys!

    I tried to build Qt/Embeded from qt-everywhere-opensource-src-4.7.0-tp with the command:

    ./configure -embedded -qvfb -qconfig small

    but it failed to compile in QtNetwork module!
    Indeed, it just work with -qconfig dist

    What's the reason?

    Regards,

  2. #2
    Join Date
    Jun 2010
    Posts
    8
    Qt products
    Qt/Embedded
    Platforms
    Windows

    Default Re: Qt/Embedded 4.7 TP failed to build for -qconfig small

    I have the same problem. By the way, have you seen the qconfig-dist.h file ?, there is nothing in it.

    I will now try to minimize the library by hand.

  3. #3
    Join Date
    Nov 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt/Embedded 4.7 TP failed to build for -qconfig small

    I was going out of my mind thinking I was the only one. I am build 4.6.3 and having similar issues? I am cross compiling for Arm. Your error anything like this?


    /home/nik/development/qt-everywhere-opensource-src-4.6.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-angstrom-arm-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared-emb-arm -Ikernel -I.moc/release-shared-emb-arm access/qnetworkreplyimpl_p.h -o .moc/release-shared-emb-arm/moc_qnetworkreplyimpl_p.cpp
    arm-angstrom-linux-gnueabi-g++ -c -include .pch/release-shared-emb-arm/QtNetwork -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-angstrom-arm-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared-emb-arm -Ikernel -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qnetworkreplyimpl.o access/qnetworkreplyimpl.cpp
    access/qnetworkreplyimpl.cpp: In member function ‘void QNetworkReplyImplPrivate::setup(QNetworkAccessMana ger::Operation, const QNetworkRequest&, QIODevice*)’:
    access/qnetworkreplyimpl.cpp:254: error: ‘QNetworkAccessHttpBackend’ was not declared in this scope
    access/qnetworkreplyimpl.cpp:254: error: parse error in template argument list
    access/qnetworkreplyimpl.cpp:254: error: no matching function for call to ‘qobject_cast(QNetworkAccessBackend*&)â€⠄¢
    access/qnetworkreplyimpl.cpp: At global scope:
    access/qnetworkreplyimpl.cpp:512: warning: unused parameter ‘data’
    make[1]: *** [.obj/release-shared-emb-arm/qnetworkreplyimpl.o] Error 1
    make[1]: Leaving directory `/home/nik/development/qt-everywhere-opensource-src-4.6.3/src/network'
    make: *** [sub-network-make_default-ordered] Error 2
    nik@bobbob:~/development/qt-everywhere-opensource-src-4.6.3$

    This is what I am configuring with:
    (echo yes) | ./configure -embedded arm -little-endian -xplatform qws/linux-angstrom-arm-g++ -opensource -release -nomake examples -nomake demos -nomake docs \
    -no-separate-debug-info \
    -qconfig medium \
    -feature-STACKEDWIDGET \
    -feature-STATUSBAR \
    -no-feature-STYLE_CDE \
    -no-feature-STYLE_PLASTIQUE \
    -no-feature-STYLE_WINDOWSXP \
    -no-feature-STYLE_WINDOWSVISTA \
    -no-feature-STYLE_CLEANLOOKS \
    -no-feature-STYLE_WINDOWSCE \
    -no-feature-STYLE_WINDOWSMOBILE

    The above should work.?

  4. #4

    Default Re: Qt/Embedded 4.7 TP failed to build for -qconfig small

    Hi,


    http://www.qtforum.org/article/27787...om-phytec.html

    This Link helpful for compiling qt embeded for arm board. I followed the same website and successfully compiled and deploying qt application on arm board.

    But now I want do the same thing (compiling qt embeded for arm board) instead of using CodeSourcery toolchain I want use Clang/LLVM. Can any one did it successfully?

Similar Threads

  1. failed to build;is it SP1 problem?
    By Masih in forum Installation and Deployment
    Replies: 14
    Last Post: 27th June 2010, 13:40
  2. Failed build of SDK 2009.3.1
    By jmansion in forum Installation and Deployment
    Replies: 2
    Last Post: 19th October 2009, 00:20
  3. QT 4.5.1 failed to build with gtk/gtk.h: No such file or directory
    By doggrant in forum Installation and Deployment
    Replies: 5
    Last Post: 28th August 2009, 15:55
  4. [QtWebKit] - MSVC2005 WebCore build failed
    By aikidorb in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd June 2008, 11:19
  5. "qconfig -medium" failed
    By avrecorder in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 18th November 2007, 15:16

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.