天嵌 ARM开发社区

 找回密码
 注册
查看: 2020|回复: 0

ubuntu14.10下移植QT

[复制链接]
波粒二象性 发表于 2015-10-8 23:12:30 | 显示全部楼层 |阅读模式
本帖最后由 波粒二象性 于 2015-10-8 23:15 编辑

新手一枚,按天嵌手册操作但发现一堆错误,不知是不是因为系统不是Read heat9.0所造成的。错误信息如下,请懂的朋友指点。
Build x86-qtopia-2.2.0 , please wait ...

the x86-qtopia-2.2.0 directory is already !
Build x86-qtopia-2.2.0 , please wait ...


This is the Qtopia Free Edition.

You are licensed to use this software under the terms of
the Qtopia Free Edition License.

Type '?' to view the Qtopia Free Edition License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the Qtopia Free Edition License?
Using the following configurations:
QPE_CFG="'-edition' 'pda' '-displaysize' '320x240' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-generic-g++'"
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-system-jpeg' '-gif' -release -platform 'linux-g++' -xplatform 'linux-generic-g++'"
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"
DQT_CFG="'-no-xft' '-thread' -platform 'linux-g++'"

Qtopia is now configured.

Type "make"              to build the qtopia bundle (and the tools, if required).
Type "make install"      to install Qtopia.
Type "make cleaninstall" to install Qtopia after removing the image first (avoid stale files in the image).
Type "make clean"        to clean the qtopia bundle.

Type "make tools"        to build the tools bundle.
Type "make cleantools"   to clean the tools bundle.

To manually build a particular component (eg. because it failed to build)
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make

/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/scripts/buildQtopia
Building Qtopia Tools.

***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"


This is the Qt Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
symlink created for src/tools/qconfig-qpe.h

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include
        code for exceptions, which increase both the size of
        the Qt library and the amount of memory taken by your
        applications.

        You may elect to re-run ./configure with the -no-g++-exceptions
        option to compile Qt without exceptions.  This is
        completely binary compatible, and existing
        applications will continue to work (like KDE 2).


Build type:    linux-g++-shared

Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... no
NAS sound support.................. no
Session management................. no
Xft support (Anti-Aliased Fonts) .. no
XKB support ....................... no

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]: Entering directory '/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/moc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/moc'
make[1]: Entering directory '/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src'
g++  -c -I/usr/X11R6/include -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -DNO_DEBUG -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB  -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/3rdparty/zlib -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/3rdparty/libpng  -I3rdparty/kernel -I3rdparty/tools -o tmp/release-shared-linux-g++/tools/qmemoryfile_unix.o tools/qmemoryfile_unix.cpp
Makefile:10041: recipe for target 'tmp/release-shared-linux-g++/tools/qmemoryfile_unix.o' failed
make[1]: Leaving directory '/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src'
* ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/moc
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lrelease
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-23 15:12 , Processed in 1.046875 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表