Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt-5.6.2: build without OpenGL/Egl
Forum Updated to NodeBB v4.3 + New Features

Qt-5.6.2: build without OpenGL/Egl

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 3.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    debian
    wrote on last edited by
    #1

    Hello!
    I build Qt-5.6.2 for board with ARM SoC and disable OpenGL support

    $ cat config.summary 
    
       Configure summary
    
    Building on:   linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for:  devices/linux-arm-hisilicon-hi3798mv100 (arm, CPU features: neon)
    Platform notes:
    
                - Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
            
    Build options:
      Configuration .......... accessibility audio-backend c++11 c++14 clock-gettime clock-monotonic compile_examples concurrent cross_compile enable_new_dtags evdev eventfd force_debug_info freetype full-config getaddrinfo getifaddrs harfbuzz inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap neon no-libdl no-qml-debug openssl png posix_fallocate qpa qpa reduce_exports release rpath separate_debug_info shared silent small-config system-jpeg system-png system-zlib threadsafe-cloexec
      Build parts ............ libs
      Mode ................... release (with debug info)
      Using sanitizer(s)...... none
      Using C++ standard ..... c++14
      Using gold linker....... no
      Using new DTAGS ........ yes
      Using PCH .............. no
      Using LTCG ............. no
      Target compiler supports:
        Neon ................. yes
    
    Qt modules and options:
      Qt D-Bus ............... no
      Qt Concurrent .......... yes
      Qt GUI ................. yes
      Qt Widgets ............. yes
      Large File ............. yes
      QML debugging .......... no
      Use system proxies ..... no
    Support enabled for:
      Accessibility .......... yes
      ALSA ................... no
      CUPS ................... no
      Evdev .................. yes
      FontConfig ............. no
      FreeType ............... yes (bundled copy)
      Glib ................... no
      GStreamer .............. no
      GTK theme .............. no
      HarfBuzz ............... yes (bundled copy)
      Iconv .................. no
      ICU .................... no
      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)
      OpenGL / OpenVG: 
        EGL .................. no
        OpenGL ............... no
        OpenVG ............... no
      PCRE ................... system
      pkg-config ............. yes 
      PulseAudio ............. no
      QPA backends: 
        DirectFB ............. no
        EGLFS ................ no
          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 .............. yes
        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 ............... yes (plugin, using bundled copy)
        TDS .................. no
      tslib .................. no
      udev ................... no
      xkbcommon-x11........... no
      xkbcommon-evdev......... no
      zlib ................... yes (system library)
    

    OpenGL componnets not builded:

    $ ls -F lib/
    cmake/                           libQt5PrintSupport.so.5@
    libQt5Bootstrap.a                libQt5PrintSupport.so.5.6@
    libQt5Bootstrap.la               libQt5PrintSupport.so.5.6.2*
    libQt5Bootstrap.prl              libQt5PrintSupport.so.5.6.2.debug
    libQt5Concurrent.la              libQt5Sql.la
    libQt5Concurrent.prl             libQt5Sql.prl
    libQt5Concurrent.so@             libQt5Sql.so@
    libQt5Concurrent.so.5@           libQt5Sql.so.5@
    libQt5Concurrent.so.5.6@         libQt5Sql.so.5.6@
    libQt5Concurrent.so.5.6.2*       libQt5Sql.so.5.6.2*
    libQt5Concurrent.so.5.6.2.debug  libQt5Sql.so.5.6.2.debug
    libQt5Core.la                    libQt5Test.la
    libQt5Core.prl                   libQt5Test.prl
    libQt5Core.so@                   libQt5Test.so@
    libQt5Core.so.5@                 libQt5Test.so.5@
    libQt5Core.so.5.6@               libQt5Test.so.5.6@
    libQt5Core.so.5.6.2*             libQt5Test.so.5.6.2*
    libQt5Core.so.5.6.2.debug        libQt5Test.so.5.6.2.debug
    libQt5Gui.la                     libQt5Widgets.la
    libQt5Gui.prl                    libQt5Widgets.prl
    libQt5Gui.so@                    libQt5Widgets.so@
    libQt5Gui.so.5@                  libQt5Widgets.so.5@
    libQt5Gui.so.5.6@                libQt5Widgets.so.5.6@
    libQt5Gui.so.5.6.2*              libQt5Widgets.so.5.6.2*
    libQt5Gui.so.5.6.2.debug         libQt5Widgets.so.5.6.2.debug
    libQt5Network.la                 libQt5Xml.la
    libQt5Network.prl                libQt5Xml.prl
    libQt5Network.so@                libQt5Xml.so@
    libQt5Network.so.5@              libQt5Xml.so.5@
    libQt5Network.so.5.6@            libQt5Xml.so.5.6@
    libQt5Network.so.5.6.2*          libQt5Xml.so.5.6.2*
    libQt5Network.so.5.6.2.debug     libQt5Xml.so.5.6.2.debug
    libQt5PlatformSupport.a          libqtfreetype.a
    libQt5PlatformSupport.la         libqtfreetype.prl
    libQt5PlatformSupport.prl        libqtharfbuzzng.a
    libQt5PrintSupport.la            libqtharfbuzzng.prl
    libQt5PrintSupport.prl           pkgconfig/
    libQt5PrintSupport.so@
    
    $ ls -F plugins/
    bearer/  generic/  imageformats/  platforms/  sqldrivers/
    
    2$ ls -F plugins/platforms/
    libqlinuxfb.so*       libqminimal.so*       libqoffscreen.so*
    libqlinuxfb.so.debug  libqminimal.so.debug  libqoffscreen.so.debug
    

    Unfortunately application cann't start, follow console output:

    This application failed to start because it could not find or load the Qt platform plugin "eglfs"
    in "".
    
    Available platform plugins are: linuxfb, minimal, offscreen.
    
    Reinstalling the application may fix this problem.
    

    Application not use OpenGL in work.
    Why and how can I solve this problem?
    Thank you and excuse my bad english.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      debian
      wrote on last edited by
      #2

      Problem solved after running application with parameter -platform linuxfb

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved