嵌入式爱好者

查看: 13205|回复: 0

QT环境搭建

[复制链接]

4

主题

6

帖子

18

积分

扫一扫,手机访问本帖
发表于 2015-7-24 15:24:10 | 显示全部楼层 |阅读模式
编译qt-4.8.5,已经建立好pc版和x86块,编译到arm的时候出现了这个问题
thread/qthread_unix.cpp:124: error: thread-local storage not supported for this target
thread/qthread_unix.cpp: In function `void setCurrentThreadName(pthread_t, const char*)':
thread/qthread_unix.cpp:287: error: `PR_SET_NAME' undeclared (first use this function)
thread/qthread_unix.cpp:287: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[1]: *** [.obj/release-shared-emb-arm/qthread_unix.o] 错误 1
make[1]:正在离开目录 `/usr/local/qt-arm/src/corelib'
make: *** [sub-corelib-make_default-ordered] 错误 2
编译时配置如下
./configure \
-prefix /usr/local/Trolltech/QtEmbedded-4.8.5-arm\
-opensource \
-confirm-license \
-release -shared \
-embedded arm \
-xplatform qws/linux-arm-g++\
-depths 16,18,24\
-fast \
-optimized-qmake \
-pch \
-qt-sql-sqlite \
-qt-libjpeg \
-qt-zlib \
-qt-libpng \
-qt-freetype \
-little-endian -host-little-endian \
-no-qt3support \
-no-libtiff -no-libmng \
-no-opengl \
-no-mmx -no-sse -no-sse2 \
-no-3dnow \
-no-openssl \
-no-webkit \
-no-qvfb \
-no-phonon \
-no-nis \
-no-opengl \
-no-cups \
-no-glib \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info \
-nomake examples -nomake tools -nomake docs \
-qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib

交叉工具的路径也是设置好了,求大神帮忙解答
回复

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-23 15:20

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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