How can I upgrade QT version from 5.6 to 5.8 on AGL?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I upgrade QT version from 5.6 to 5.8 on AGL?

2,163 Views
305824281
Contributor I

My application is compiled by qt5.8, but I added qt5 in the following way, running and reporting an error. What should I do if I want to upgrade the qt version of AGL to 5.8。Does AGL currently support qt5.8?

local.conf:

IMAGE_INSTALL_append = " \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
qtsystems-tools \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-qmlplugins \
qt3d-tools \
qtwebkit \
qtwebkit-qmlplugins \
qtgraphicaleffects-qmlplugins \
qtconnectivity-qmlplugins \
qtlocation-plugins \
qtlocation-qmlplugins \
"

0 Kudos
Reply
5 Replies

1,809 Views
305824281
Contributor I

i don't fix,do u?

0 Kudos
Reply

1,809 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi guang,

You can go into meta-qt5 directory and switch to a branch that contains QT5.8 using git. I think pyro branch of meta-qt5 contains QT5.8. 

Switching to another branch may cause incompatibilities with existing layers or recipes.

Regards

0 Kudos
Reply

1,809 Views
305824281
Contributor I

hi  Bio:

     I have already tried it,It's not compatible.So I downloaded the 4.9.88 V2.0 code, it's qt5.9,but compiled without the following error:

ERROR: wayland-ivi-extension-2.0.2-r0 do_compile: Function failed: do_compile (log file is located at /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/temp/log.do_compile.8499)
ERROR: Logfile of failure stored in: /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/temp/log.do_compile.8499
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build --
| /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -H/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git -B/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build --check-build-system CMakeFiles/Makefile.cmake 0
| /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_progress_start /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/CMakeFiles /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/CMakeFiles/progress.marks
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make -f protocol/CMakeFiles/ivi-application.dir/build.make protocol/CMakeFiles/ivi-application.dir/depend
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| cd /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build && /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/protocol /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol/CMakeFiles/ivi-application.dir/DependInfo.cmake --color=
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make -f protocol/CMakeFiles/ivi-application.dir/build.make protocol/CMakeFiles/ivi-application.dir/build
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make[2]: Nothing to be done for 'protocol/CMakeFiles/ivi-application.dir/build'.
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| [ 5%] Built target ivi-application
| make -f protocol/CMakeFiles/ivi-extension-protocol.dir/build.make protocol/CMakeFiles/ivi-extension-protocol.dir/depend
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| cd /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build && /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/protocol /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol/CMakeFiles/ivi-extension-protocol.dir/DependInfo.cmake --color=
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make -f protocol/CMakeFiles/ivi-extension-protocol.dir/build.make protocol/CMakeFiles/ivi-extension-protocol.dir/build
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make[2]: Nothing to be done for 'protocol/CMakeFiles/ivi-extension-protocol.dir/build'.
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| [ 27%] Built target ivi-extension-protocol
| make -f weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make weston-ivi-shell/CMakeFiles/ivi-controller.dir/depend
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| cd /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build && /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell/CMakeFiles/ivi-controller.dir/DependInfo.cmake --color=
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| make -f weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make weston-ivi-shell/CMakeFiles/ivi-controller.dir/build
| make[2]: Entering directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| [ 28%] Building C object weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o
| cd /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell && /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -Divi_controller_EXPORTS -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/weston-ivi-shell -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/weston -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/libweston-3 -I/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot/usr/include/pixman-1 -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0=/usr/src/debug/wayland-ivi-extension/2.0.2-r0 -fdebug-prefix-map=/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot= -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/recipe-sysroot -fPIC -o CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o -c /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c
| /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c: In function 'controller_screenshot_notify':
| /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c:1280:42: error: incompatible type for argument 7 of 'ivi_screenshot_send_done'
| shm_format, output->frame_time);
| ^~~~~~
| In file included from /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/git/weston-ivi-shell/src/ivi-controller.c:39:0:
| /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build/protocol/ivi-wm-server-protocol.h:314:1: note: expected 'uint32_t {aka unsigned int}' but argument is of type 'struct timespec'
| ivi_screenshot_send_done(struct wl_resource *resource_, int32_t fd, int32_t width, int32_t height, int32_t stride, uint32_t format, uint32_t timestamp)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| weston-ivi-shell/CMakeFiles/ivi-controller.dir/build.make:65: recipe for target 'weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o' failed
| make[2]: *** [weston-ivi-shell/CMakeFiles/ivi-controller.dir/src/ivi-controller.c.o] Error 1
| make[2]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| CMakeFiles/Makefile2:315: recipe for target 'weston-ivi-shell/CMakeFiles/ivi-controller.dir/all' failed
| make[1]: *** [weston-ivi-shell/CMakeFiles/ivi-controller.dir/all] Error 2
| make[1]: Leaving directory '/home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/build'
| Makefile:132: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/zengguang/nxp_bak/bld-agl/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/wayland-ivi-extension/2.0.2-r0/temp/log.do_compile.8499)
ERROR: Task (/home/zengguang/nxp_bak/sources/meta-agl/meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension_2.0.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3830 tasks of which 3812 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/zengguang/nxp_bak/sources/meta-agl/meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension_2.0.2.bb:do_compile

0 Kudos
Reply

1,809 Views
YoshihisaSaitou
Contributor I

Dear guang zeng,

How is this error best avoided?
Please tell me how to do it.

I have a similar problem with the i.mx 8 MEK board.

Regards

0 Kudos
Reply

1,809 Views
305824281
Contributor I

i don't fix,do u?

0 Kudos
Reply