您尚未登录。

楼主 # 2024-11-13 18:13:20

billymc
会员
注册时间: 2020-05-26
已发帖子: 36
积分: 20.5

Tina T113-S3无法运行Qt程序

运行Qt程序时,提示The futex facility returned an unexpected error code.Aborted,无法运行。
请问有人知道怎么回事吗?

离线

楼主 #1 2024-11-16 22:13:22

billymc
会员
注册时间: 2020-05-26
已发帖子: 36
积分: 20.5

Re: Tina T113-S3无法运行Qt程序

已解决,用Tina里面的编译器重新编译就好了。Qt4.8.7。

./configure -verbose \
-prefix /opt/qt4.8.7-t113 \
-opensource \
-confirm-license \
-release -shared \
-embedded arm \
-xplatform qws/linux-arm-gnueabi-g++ \
-depths 4,8,16,32 \
-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-openvg \
-no-cups \
-no-glib \
-qt-gfx-transformed \
-no-xcursor -no-xfixes -no-xrandr -no-xrender \
-no-separate-debug-info \
-nomake examples -make tools -nomake docs \
-qt-mouse-tslib \
-I/opt/tslib-t113/include/ \
-L/opt/tslib-t113/lib/
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#

include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)

QT_QPA_DEFAULT_PLATFORM = linuxfb
QMAKE_CFLAGS_RELEASE += -O2 -march=armv7-a -lts -fpermissive
QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv7-a -lts -fpermissive
QMAKE_INCDIR += /opt/tslib-t113/include
QMAKE_LIBDIR += /opt/tslib-t113/lib

QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++98

# modifications to g++.conf
QMAKE_CC                = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc -lts
QMAKE_CXX               = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts
QMAKE_LINK              = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts
QMAKE_LINK_SHLIB        = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-g++ -lts

# modifications to linux.conf
QMAKE_AR                = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ar cqs
QMAKE_OBJCOPY           = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-objcopy
#QMAKE_STRIP             = arm-openwrt-linux-muslgnueabi-strip
QMAKE_STRIP             = /home/work/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-strip

load(qt_config)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn