• 3958阅读
  • 3回复

[提问]关于Qt5.9.6的移植问题 [复制链接]

上一主题 下一主题
离线hsl17
 

只看楼主 倒序阅读 楼主  发表于: 2018-08-28
成功将Qt5.9.6移植到imx6DL后,运行qt3d例子后,
串口打印:QOpenGLShader::link: LinkShaders: Too many instructions.
界面上无法显示3D模型,请问这是什么情况引起的;
将Qt版本降到Qt5.9.0后可以正常显示

以下是Qt configure内容:



Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)Building for: devices/linux-imx6-g++ (arm, CPU features: neon)
Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus reduce_exports stlBuild options:
  Mode ................................... release  
Optimize release build for size ........ no
  Building shared libraries .............. yes  
Using C++ standard ..................... C++11
  Using ccache ........................... no  
Using gold linker ...................... yes
  Using new DTAGS ........................ yes  
Using precompiled headers .............. yes
  Using LTCG ............................. no  
Target compiler supports:
    NEON ................................. yes  
Build parts ............................ tests examples libs
Qt modules and options:  
Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes  
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 ....................... yes
  QML debugging .......................... yes  
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:  getaddrinfo() .......................... yes
  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 ............................... yes
    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 ................................. yes  
OpenGL:
    Desktop OpenGL ....................... no    
OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes    
OpenGL ES 3.1 ........................ 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 .......................... yes
    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
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
Qt Sensors:  sensorfw ............................... no
Qt Quick Controls 2:  Styles ................................. Default 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  
WebRTC ................................. no
  Using system ninja ..................... no  
ALSA ................................... no
  PulseAudio ............................. no  
System libraries:
    re2 .................................. no    
ICU .................................. no
    libwebp and libwebpdemux ............. no    
Opus ................................. no
    ffmpeg ............................... no

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

Note: PKG_CONFIG_LIBDIR automatically set to /opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/pkgconfig:/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/share/pkgconfig:/opt/fsl-imx-x11/4.1.15-1.2.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/pkgconfig

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

离线jinlong631

只看该作者 1楼 发表于: 2018-10-15
你好 你是如何交叉编译的 能说下过程吗?
我们都是和自己赛跑的人
离线mr、杨

只看该作者 2楼 发表于: 2019-11-06
哈喽,老哥儿,这个是那个能播放视频的Qt的移植吗?
离线fsu0413

只看该作者 3楼 发表于: 2019-12-02
对比一下5.9.6和5.9.0的configure输出,可能有些内容不太一样
快速回复
限100 字节
 
上一个 下一个