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.
Tool/software: Linux
Platform:
Ubuntu Linux 14.04
AM3354
ti-processor-sdk-linux-am335x-evm-02.00.02.11
qt-everywhere-opensource-src-5.5.0
I want to porting QT5.5.0 to AM3354(User Board).
1. /home/lee/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublib
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
# modifications to 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++
# modifications to 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
load(qt_config)
2. ./home/lee/qt-everywhere-opensource-src-5.5.0/configure
./configure -release \
-opensource \
-confirm-license \
-optimized-qmake \
-platform linux-g++ \
-xplatform linux-arm-gnueabi-g++ \
-prefix /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-sql-psql \
-no-sql-sqlite2 \
-no-sql-tds \
-no-xcb \
-no-xcb-xlib \
-no-icu \
-no-c++11 \
-no-cups \
-no-iconv \
-no-android-style-assets \
-make libs \
-nomake examples \
-nomake tests \
/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: fatal error: gnu/stubs-soft.h: No such file or directory
# include <gnu/stubs-soft.h>
^
compilation terminated.
make: *** [project.o] Error 1
[linux-devkit]:~/qt-everywhere-opensource-src-5.5.0>