Firefly开源社区

标题: QT跨平台编译 [打印本页]

作者: 官晓龙    时间: 2017-6-9 14:33
标题: QT跨平台编译
我使用的RK3399板子,想使用QT编译程序移植到板子上,在网上找了很多教程,使用直接安装qt-everywhere-opensource-src-5.4.0、5.7.0等版本都没法编译通过,通过buildroot也无法通过,想请问贵公司,是否有相应的编译的教程给我们参考使用,是否能编译成功?
作者: zouxf    时间: 2017-6-9 15:25
通过buildroot编译QT是可以成功的。你试过buildroot编译吗? 如果失败,提供一下编译的log。
作者: 官晓龙    时间: 2017-6-9 17:25
错误如下所示,我用的是buildroot2017.02.3的版本,系统是ubuntu16.04

1496973580.jpg (66.13 KB, 下载次数: 796)

1496973580.jpg

作者: 官晓龙    时间: 2017-6-9 17:31
配置的主要过程如下图所示:

1.png (106.7 KB, 下载次数: 765)

1.png

2.png (66.63 KB, 下载次数: 789)

2.png

3.png (114.19 KB, 下载次数: 754)

3.png

4.png (156.29 KB, 下载次数: 770)

4.png

5.png (131.06 KB, 下载次数: 780)

5.png

6.png (149.66 KB, 下载次数: 729)

6.png

作者: zouxf    时间: 2017-6-9 17:41
你用这个config文件试试看。
作者: zouxf    时间: 2017-6-9 17:44
BR2_aarch64=y
BR2_cortex_a72=y
BR2_TOOLCHAIN_BUILDROOT_VENDOR="firefly"
BR2_KERNEL_HEADERS_4_4=y
BR2_GCC_VERSION_5_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_HOSTNAME="firefly"
BR2_TARGET_GENERIC_ISSUE="Welcome to firefly"
BR2_TARGET_GENERIC_PASSWD_SHA256=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
# BR2_TARGET_ENABLE_ROOT_LOGIN is not set
# BR2_TARGET_GENERIC_GETTY is not set
BR2_ROOTFS_OVERLAY="board/rockchip/rk3399/fs-overlay"
BR2_PACKAGE_BUSYBOX_CONFIG="board/rockchip/rk3399/busybox.config"
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS=y
BR2_PACKAGE_GST1_PLUGINS_GOOD=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX=y
BR2_PACKAGE_GST1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2_PACKAGE_QT5CONNECTIVITY=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5QUICKCONTROLS=y
BR2_PACKAGE_QT5WAYLAND=y
BR2_PACKAGE_QT5QUICKCONTROLS2=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_WESTON_DRM=y
BR2_PACKAGE_WESTON_FBDEV=y
BR2_PACKAGE_WESTON_DEMO_CLIENTS=y
BR2_PACKAGE_SBC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBSVG_CAIRO=y
BR2_PACKAGE_BLUEZ5_UTILS=y
BR2_PACKAGE_BLUEZ5_UTILS_OBEX=y
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL=y
BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL=y
BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS=y
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_HOSTAPD=y
BR2_PACKAGE_HOSTAPD_EAP=y
BR2_PACKAGE_HOSTAPD_WPS=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_VBOOT_UTILS=y

作者: iamFirefly    时间: 2017-8-23 14:30
zouxf 发表于 2017-6-9 17:44
BR2_aarch64=y
BR2_cortex_a72=y
BR2_TOOLCHAIN_BUILDROOT_VENDOR="firefly"

按照你给的配置文件编译提示找不到 board/rockchip/rk3399/。。
作者: gwj    时间: 2018-1-30 16:37
官晓龙 发表于 2017-6-9 17:31
配置的主要过程如下图所示:

你现在正常安装了吗?可以分享一下吗?
作者: gwj    时间: 2018-1-30 16:37
你现在正常安装了吗?可以分享一下吗?
作者: baihouse    时间: 2018-7-22 15:10
本帖最后由 baihouse 于 2018-7-22 17:02 编辑

请教一下,RK3399中buildroot是怎样使用的啊?没有查到类似的资料,能分享一下.config配置文件吗?非常感谢!
作者: dreamer    时间: 2018-12-27 14:03
zouxf 发表于 2017-6-9 17:44
BR2_aarch64=y
BR2_cortex_a72=y
BR2_TOOLCHAIN_BUILDROOT_VENDOR="firefly"

版主能否分享一下QT5的安装方法啊。我在板子上编译也是死活卡在make那里过不去




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1