Qt5.5.0移植到AM335x时候遇到的问题求助大神
我用的Ubuntu15.10gcc版本 gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux
qmake.conf配置如下:
#
# qmake configuration for building with arm-linux-gnueabi-g++
#
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublib
QT_QPA_DEFAULT_PLATFORM = linuxfb
QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp
QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
ROOTFS_PATH=/usr/local/arm
QMAKE_INCDIR +=/usr/local/arm/tslib/include
QMAKE_LIBDIR +=/usr/local/arm/tslib/lib
# 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)
configure的配置如下:——————————————————————————————
#!/bin/sh
./configure \
-prefix /usr/local/arm/qtarm5.5 \
-confirm-license \
-opensource \
-release \
-make libs \
-xplatform linux-arm-g++ \
-optimized-qmake \
-pch \
-qt-sql-sqlite \
-qt-libjpeg \
-qt-libpng \
-qt-zlib \
-tslib \
-qt-freetype \
-no-opengl \
-no-sse2 \
-no-openssl \
-no-nis \
-no-cups \
-no-glib \
-no-dbus \
-no-xcb \
-no-compile-examples \
-nomake tests \
-force-pkg-config
#-nomake examples -nomake tools -nomake docs \
#-no-xcursor -no-xfixes -no-xrandr -no-xrender \
但是每次都提示:
+ cd qtbase
+ /usr/local/arm/qt5.5.0/qtbase/configure -top-level -prefix /usr/local/arm/qtarm5.5 -confirm-license -opensource -release -make libs -xplatform linux-arm-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-libpng -qt-zlib -tslib -qt-freetype -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-dbus -no-xcb -no-compile-examples -nomake tests -force-pkg-config
This is the Qt Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You have already accepted the terms of the Open Source license.
/usr/local/arm/qt5.5.0/qtbase/configure: 3400: /usr/local/arm/qt5.5.0/qtbase/configure: arm-linux-gnueabihf-g++: not found
Creating qmake...
.Done.
Running configuration tests...
You have asked to use pkg-config. Please make sure you have
a correctly setup pkg-config environment!
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
The tslib functionality test failed!
为什么会 /usr/local/arm/qt5.5.0/qtbase/configure: 3400: /usr/local/arm/qt5.5.0/qtbase/configure: arm-linux-gnueabihf-g++: not found??
急求中。。。。。。
AM335x的芯片对应qt5.5.0/qtbase/mkspecs/devices下的那个?如下:
common linux-mipsel-broadcom-97425-g++
linux-archos-gen8-g++ linux-odroid-xu3-g++
linux-arm-amlogic-8726M-g++ linux-rasp-pi2-g++
linux-arm-hisilicon-hix5hd2-g++linux-rasp-pi-g++
linux-arm-trident-pnx8473-g++ linux-sh4-stmicro-ST7108-g++
linux-beagleboard-g++ linux-sh4-stmicro-ST7540-g++
linux-imx53qsb-g++ linux-snowball-g++
linux-imx6-g++ linux-tegra2-g++
实在不知道是那个,在TI的官网也没找到相应的说明
You have asked to use pkg-config. Please make sure you have a correctly setup pkg-config environment! 请问pkg-config environment 在哪里有设置说明呢? 同问,我移植的是qt5.6.1 也想学习学习,QT4做播放器移植开发板不能用 我移植的5.5.1,发现在程序中加入QCustomplot绘图并开启电容触摸后,程序CPU占用率会达到100%,不开启触摸只有6%,楼主有没有遇到过这个问题? 您好:
目前我们的产品还没有移植qt5以上版本,所以没有相关的经验可以提供,敬请谅解 qt4也有这种情况,编译QCustomplot的例子10绘图并开启电容触摸后,CPU占用率会达到100%,请问有没有遇到这种情况过,连续运行不到12小时死机。
页:
[1]