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.

am335x的Qt问题,求教

Other Parts Discussed in Thread: AM3352

问题一:

重新编译Qt5.6.1后移植到am335x板子后,跑一个空的Qt界面程序CPU占有率到达96%以上,导致很卡,求教这是什么问题导致,是不是我配置的问题?具体配置如下:

qmake.conf:

#
# qmake configuration for building with arm-linux-gnueabi-g++
#

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                                              
QMAKE_CFLAGS_RELEASE   += -O2 -march=armv7-a                                   
QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv7-a                                                                                                                   
QMAKE_INCDIR += /home/pc335/tslib1.4/include                                               
QMAKE_LIBDIR += /home/pc335/tslib1.4/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配置:

./configure -prefix /home/am335x/hustQt5.6.1 -opensource -confirm-license -release -shared -xplatform linux-arm-hust -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -tslib -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-dbus -no-xcb -no-eglfs -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -no-iconv -make libs -make examples -make tools -nomake tests -skip qt3d -skip qtcanvas3d -skip qtdoc -skip qtwayland -I/home/am335x/tslib1.4/include -L/home/am335x/tslib1.4/lib

问题二:

ti-processor-sdk-linux-rt-am335x-evm-02或者ti-processor-sdk-linux-rt-am335x-evm-03在am3352上使用linuxFb跑Qt5程序,触摸屏怎么校正? weston启动不了,不能用weston-calibrator校正,求教如何解决这个问题