PDA

View Full Version : Qt/Embedded 4.7 TP failed to build for -qconfig small



jmod
13th April 2010, 15:37
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,

lantaarnpaal
19th June 2010, 08:24
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.

nikel
1st December 2010, 21:56
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.?

GirijaG
3rd October 2013, 06:53
Hi,


http://www.qtforum.org/article/27787/tuto-how-to-install-qt-embedded-linux-4-5-1-on-arm-board-phycore-i-mx31-from-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?