This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Linux
平台:
Ubuntu Linux 14.04
AM3354
TI-PROCESSOR-SDK-LINUX-AM335x-EVM-02.00.02.11.
QT-Everywhere—opensource-src-5.5.0
我想将 QT5.5.0移植到 AM3354(用户板)。
/home/lee/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/linux-arm-gnueabi-g。++/qmake.conf
Makefile_generator = UNIX
config +=递增
qmake_increed_style=子项
include (./common/linux.conf)
include (./common/gcc-base-unix.conf)
include (./common/g +-UNIX.conf)
QT_QPA_default_platform = linuxfb
QT_INSTALL_DIR =/home/jack/qt-everywhere-opensource-src-5.5.0/qtbase
Compiler_flags +=-o3 -March =armv7-a -mtune =cortex-A8 -mfpu=vfpv3 -mfloat-abi=hard
qmake_CFLAGS_release +=-O3 -March =armv7-a -mtune =cortex-A8 -mfpu=vfpv3 -mfloat-abi=hard
qmake_CXXFLAGS_release +=-O3 -March =armv7-a -mtune =cortex-A8 -mfpu=vfpv3 -mfloat-abi=hard
对 g++.conf 的#修改
qmake_CC = arm-linux-gnueabihf-gcc
qmake_CXX = arm-linux-gnueabihf-g++
qmake_link = arm-linux-gnueabihf-g++
qmake_link_SHLIB = arm-linux-gnueabihf-g++
对 linux.conf 的#修改
qmake_AR = arm-linux-gnueabihf-ar cqs
qmake_objcopy = arm-linux-gnueabihf-objcopy
qmake_nm = arm-linux-gnueabihf-nm -P
qmake_strip = arm-linux-gnueabihf-strip
负载(qt_config)
/home/lee/qt-everywhere-opensource-src-5.5.0/configure
/configure -release \
-opensource \
-confirme-license \
-optimized qmake \
-platform linux-g++\
xplatform linux-arm-gnueabi-g++\
前缀/home/jack/qt-everywhere-opensource-src-5.5.0/qtbase \
-pch \
-qt-libjpeg \
-qt-libpng \
-qt-zlib \
-qt-SQL-SQLite \
-qReal float \
-linuxfb \
-no-evdev \
-no-EGL \
-no-eglfs \
-no-OpenGL \
-no-DirectFB \
-no-SQL-DB2 \
-no-SQL-IBASE \
-no-sql-mysql \
-no-SQL-OCI \
-no-SQL-ODBC \
-no-sq-psql \
-no-sqlite2 \
-no-SQL-TDS \
-no-xcb \
-no-xcb-xlib \
-no-ICU \
-no-c++11 \
-无杯子\
-no-iconv \
-no-android-style assets \
-make libs \
-nomake 示例\
-nomake 测试\
/home/lee/ti-processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/sysroots/cortexa8hf-vfp-neon-linux-gnueabi/usr/include/gnu/stubs.h:7:29:致命错误:GNU/stubs-soft.h:无此类文件或目录
#包含
^μ A
编译已终止。
制造:***[project.o]错误1.
[Linux-devkit]:~/qt-Everywhere -opensource-src-5.5.[0]