[oe] Application run time problem when upgraded to Qt5.6.1 on AM335x

Ankur Tyagi ankur.tyagi85 at gmail.com
Tue Jun 28 10:26:37 UTC 2016


Hi,

​​
I am using daisy branch for development on AM335x based product.
Recently I updated Qt version from 5.4.1 (daisy) -> 5.6.1 (krogoth) as
Qt5.6.1 is declared as LTS.

So I only updated meta-qt5 as I want rest of layers to be at daisy.

My application is having runtime problems with Qt5.6.1. It is loading very
slowly and I can see UI changes like transparency on button getting set,
sliders moving in etc which were kind of spontaneous with Qt5.4.1

It feels weird as if I am debugging through all the Qt qml code.
But if I run SGX demos, they all run fine which is expected as I only
update meta-qt5 layer
​.​

Is there a reason for observing this ? Or is there something I missed in
recipes ?

Here are the changes that I did to upgrade Qt:
- updated meta-qt5 layer to krogoth branch
- copied recipes-qt from meta-arago krogoth branch into my meta-arago daisy
branch
- updated my qtbase_%.bbappend for customization's

Here is my qtbase_%.bbappend:

GLES_EXTRA_DEPS = ""
PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
${GLES_EXTRA_DEPS}"

PACKAGECONFIG += "accessibility icu"

QT_CONFIG_FLAGS += " \
    -qpa eglfs \
    -freetype \
    -no-iconv \
    -no-linuxfb \
    -no-directfb \
    -nomake examples \
    -no-fontconfig \
    -no-tslib \
    -no-sql-sqlite \
    -no-sql-sqlite2 \
    -no-xcb \
    -no-alsa \
    -no-pulseaudio \
"

I also have removed "x11 wayland" from DISTRO_FEATURES as MACHINE_FEATURES
have "sgx"

Here is the Qt configuration log:

Build options:
  Configuration .......... accessibility audio-backend c++11 clock-gettime
clock-monotonic compile_examples concurrent cross_compile dbus dbus-linked
egl eglfs evdev eventfd freetype full-config getaddrinfo getifaddrs glib
harfbuzz icu inotify ipv6ifname kms large-config largefile libudev
medium-config minimal-config mremap neon nis no-widgets opengl opengles2
openssl pcre png posix_fallocate qpa qpa reduce_exports release shared
silent small-config system-jpeg system-png system-zlib threadsafe-cloexec
  Build parts ............ libs
  Mode ................... release
  Using sanitizer(s)...... none
  Using C++ standard ..... c++11
  Using gold linker....... no
  Using new DTAGS ........ no
  Using PCH .............. no
  Using LTCG ............. no
  Target compiler supports:
    Neon ................. yes

Qt modules and options:
  Qt D-Bus ............... yes (linked to dbus-1)
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. no
  Large File ............. yes
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... no
  CUPS ................... no
  Evdev .................. yes
  FontConfig ............. no
  FreeType ............... qt
  Glib ................... yes
  GStreamer .............. no
  GTK theme .............. no
  HarfBuzz ............... yes (bundled copy)
  Iconv .................. no
  ICU .................... yes
  Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
  libinput................ no
  Logging backends:
    journald ............... no
    syslog   ............... no
  mtdev .................. no
  Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. yes (loading libraries at run-time)
  NIS .................... yes
  OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... yes (OpenGL ES 2.0+)
    OpenVG ............... no
  PCRE ................... yes (bundled copy)
  pkg-config ............. yes
  PulseAudio ............. no
  QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
      EGLFS i.MX6 ........ no
      EGLFS i.MX6 Wayland. no
      EGLFS EGLDevice .... no
      EGLFS GBM .......... no
      EGLFS Mali ......... no
      EGLFS Raspberry Pi . no
      EGLFS X11 .......... no
    LinuxFB .............. no
    Mir client............ no
    XCB .................. no
  Session management ..... yes
  SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... no
    TDS .................. no
  tslib .................. no
  udev ................... yes
  xkbcommon-x11........... no
  xkbcommon-evdev......... no
  zlib ................... yes (system library)
​

​
​
Any help in investigating this is appreciated as I would really like to
upgrade to Qt LTS.​

thanks
Ankur



More information about the Openembedded-devel mailing list