CallMeBroYang

CallMeBroYang

1个粉丝

7

问答

0

专栏

0

资料

CallMeBroYang  发布于  2018-05-12 11:37:46
采纳率 0%
7个问答
6218

有在hi3536/hi3559a上把qt自带的opengl用起来的吗?

 
本帖最后由 CallMeBroYang 于 2018-5-12 14:04 编辑

用hi3559a的sdk里的gpu例子,可以成功运行。

然后在hi3559a上移植了qt5.10.1。
不带opengl的例子可以跑起来,
但是带opengl的例子跑不起来,总是提示如下信息:
This plugin does not support createPlatformOpenGLContext!

有在hi3559a/hi3536上把qt自带的opengl用起来的人吗?
或想把qt自带的opengl用起来的,一起讨论下。。。


qt配置如下:
[code]Configure summary:

Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: aarch64-himix100-linux-g++ (arm64, CPU features: neon crc32)
Configuration: cross_compile compile_examples enable_new_dtags largefile neon shared rpath release c++11 concurrent no-pkg-config no-qml-debug reduce_exports stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C++ standard ..................... C++11
  Using ccache ........................... no
  Using gold linker ...................... no
  Using new DTAGS ........................ yes
  Using precompiled headers .............. no
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ examples libs
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... no
  Qt D-Bus directly linked to libdbus .... no
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... no
  QML debugging .......................... no
  udev ................................... no
  Using system zlib ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... no
  iconv .................................. no
  ICU .................................... no
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  Using system PCRE2 ..................... no
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
  SCTP ................................... no
  Use system proxies ..................... yes
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ no
  HarfBuzz ............................... no
    Using system HarfBuzz ................ no
  Fontconfig ............................. no
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
    OpenGL ES 3.2 ........................ yes
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon-evdev ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... no
  LinuxFB ................................ yes
  VNC .................................... yes
  Mir client ............................. no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no
Qt Sql:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
QtXmlPatterns:
  XML schema support ..................... yes
Qt QML:
  QML interpreter ........................ yes
  QML network support .................... yes
Qt Quick:
  Direct3D 12 ............................ no
  AnimatedImage item ..................... yes
  Canvas item ............................ yes
  Support for Qt Quick Designer .......... yes
  Flipable item .......................... yes
  GridView item .......................... yes
  ListView item .......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Output Qt3D Job traces ................. no
  Output Qt3D GL traces .................. no
  Use SSE2 instructions .................. no
  Use AVX2 instructions .................. no
  Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
Qt 3D GeometryLoaders:
  Autodesk FBX ........................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
  BlueZ .................................. no
  BlueZ Low Energy ....................... no
  Linux Crypto API ....................... no
  WinRT Bluetooth API (desktop & UWP) .... no
Qt Sensors:
  sensorfw ............................... no
Qt Quick Controls 2:
  Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
Qt Positioning:
  Gypsy GPS Daemon ....................... no
  WinRT Geolocation API .................. no
Qt Location:
  Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. no
    Itemsoverlay ......................... yes
Qt Multimedia:
  ALSA ................................... no
  GStreamer 1.0 .......................... no
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. no
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt WebEngine:
  Embedded build ......................... yes
  Pepper Plugins ......................... no
  Printing and PDF ....................... no
  Proprietary Codecs ..................... no
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. no
  Use System Ninja ....................... no
  Geolocation ............................ yes
  Use v8 snapshot ........................ yes
  Use ALSA ............................... no
  Use PulseAudio ......................... no
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    libsrtp .............................. no
    glib ................................. no
    zlib ................................. no
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. no
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    harfbuzz ............................. no
  Required system libraries:
    fontconfig ........................... no
    dbus ................................. no
    nss .................................. no
    khr .................................. yes
    glibc ................................ yes
  Required system libraries for qpa-xcb:
    libdrm ............................... no
    xcomposite ........................... no
    xcursor .............................. no
    xi ................................... no
    xrandr ............................... no
    xtst ................................. no

Note: Also available for Linux: linux-clang linux-icc

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/opt/hisi-linux/x86-arm/aarch64-himix100-linux/qt5.10.1'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
[/code]
我来回答
回答11个
时间排序
认可量排序

CallMeBroYang

1个粉丝

7

问答

0

专栏

0

资料

CallMeBroYang 2018-05-12 17:22:18
认可0
Hi559a的gpu是Mali G71,需要打开EGLFS Mali 吗,这个怎么打开?

qq244321647

0个粉丝

1

问答

0

专栏

0

资料

qq244321647 2018-12-19 09:23:29
认可0
楼主,能交流下吗?QQ244321647。正在弄3559a的带opengl的qt

Jundy

0个粉丝

1

问答

0

专栏

0

资料

Jundy 2019-01-14 14:46:11
认可0
海思SDK自带了OpenGL,是否应该先编译出来,再在QT configure中指定SDK编译出来的OpenGL?

longage

0个粉丝

4

问答

0

专栏

0

资料

longage 2019-07-24 15:22:15
认可0
请问楼主跑的是AMP双系统还是单系统?

pengjiaqi

0个粉丝

0

问答

0

专栏

0

资料

pengjiaqi 2019-11-20 17:16:02
认可0
同问 3559a +qt5.8 现在不带opengl的例子能跑起来

看网上有人这样说:
经过漫长的查找路程之后,在qt官方给出的一篇文章中发现(http://doc.qt.io/qt-5/embedded-linux.html):

Building Qt for a given device requires a toolchain and a sysroot. Additionally, some devices require vendor-specific adaptation code for EGL and OpenGL ES 2.0 support. This is not relevant for non-accelerated platforms, for example the ones using the LinuxFB plugin, which is meant for software-based rendering only.

也就是说linuxfb只支持基于软件的渲染方式,不支持OPENGL的渲染方式,即qt  quick2方式的QML程序都不被支持。特此记录。
————————————————
版权声明:本文为CSDN博主「嵌嵌前行」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ass_dsb/article/details/80305394

所以该用什么显示方式支持opengl?

qn1548054480

0个粉丝

0

问答

0

专栏

0

资料

qn1548054480 2020-03-03 07:47:55
认可0
楼主可以参考一下你的编译脚本吗?

qq244321647

0个粉丝

1

问答

0

专栏

0

资料

qq244321647 2020-03-10 22:07:31
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=154949&ptid=39558]qn1548054480 发表于 2020-3-3 07:47[/url]
楼主可以参考一下你的编译脚本吗?[/quote]

带opengl的qt在3559A上已跑起来了,测试的时候是使用qt自带的opengl的demo程序测试的。

qn1594091610

0个粉丝

0

问答

0

专栏

0

资料

qn1594091610 2020-07-28 10:23:56
认可0
我移植的QT版本5.9的用 export QT_QPA_PLATFORM="minimalegl" 才行, 用export QT_QPA_PLATFORM="eglfs"就不行

uusky

0个粉丝

1

问答

0

专栏

0

资料

uusky 2018-10-13 23:49:55
认可0
楼主,能给出配置选项吗?

hero

0个粉丝

1

问答

0

专栏

0

资料

hero 2018-10-22 09:26:55
认可0
:victory::victory::victory:

qn1597993351

0个粉丝

0

问答

0

专栏

0

资料

qn1597993351 2020-08-23 09:05:00
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=161169&ptid=39558]qn1594091610 发表于 2020-7-28 10:23[/url]
我移植的QT版本5.9的用 export QT_QPA_PLATFORM="minimalegl" 才行, 用export QT_QPA_PLATFORM="eglfs"就 ...[/quote]

我的qt程序到现在还不能显示窗口呢!@@@ 你们的配置文件是再官方的基础上做的修改吗?
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区