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. eglfs + framebuffer - display issue
Forum Updated to NodeBB v4.3 + New Features

eglfs + framebuffer - display issue

Scheduled Pinned Locked Moved Solved Mobile and Embedded
28 Posts 3 Posters 11.5k Views 2 Watching
  • 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.
  • python74P Offline
    python74P Offline
    python74
    wrote on last edited by
    #6

    I'm trying to build Qt5.9 enviroment but configure cannot pass eglfs option:
    ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed.
    Any idea?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #7

      What's your complete configure line ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • python74P Offline
        python74P Offline
        python74
        wrote on last edited by
        #8

        ./configure -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device olinuxinoA20 -device-option CROSS_COMPILE=~/qt5.9-arm-compile/gcc-linaro-7.1.1-2017.05-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/qt5.9-arm-compile/sysroot -prefix /usr/local/qt5.9 -extprefix ~/qt5.9-arm7 -hostprefix ~/qt5.9-arm7-host -eglfs -v

        in sysroot are present needed includes EGL, GLES, GLES2, KHR

        1 Reply Last reply
        0
        • python74P Offline
          python74P Offline
          python74
          wrote on last edited by
          #9

          btw: on device EGL/GLES driver stack passing all tests

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #10

            Since you already have the -v option, can you post the failure message ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • python74P Offline
              python74P Offline
              python74
              wrote on last edited by
              #11

              complete output of configure

              • cd qtbase
              • /home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/configure -top-level -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device olinuxinoA20 -device-option CROSS_COMPILE=/home/rafal/qt5.9-arm-compile/gcc-linaro-7.1.1-2017.05-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/rafal/qt5.9-arm-compile/sysroot -prefix /usr/local/qt5.9 -extprefix /home/rafal/qt5.9-arm7 -hostprefix /home/rafal/qt5.9-arm7-host -eglfs -v
                Creating qmake...
                g++ -c -o mingw_make.o -pipe -std=c++11 -ffunction-sections -g -g -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/library -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/generators -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/generators/unix -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/generators/win32 -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/generators/mac -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/include -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/include/QtCore -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/include/QtCore/5.9.0 -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/include/QtCore/5.9.0/QtCore -I../src/corelib/global -I/home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/mkspecs/linux-g++ -DQT_VERSION_STR="5.9.0" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=9 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /home/rafal/qt5.9-arm-compile/qt-everywhere-opensource-src-5.9.0/qtbase/qmake/generators/win32/mingw_make.cpp
                g++ -o "../bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qoperatingsystemversion.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o qlibraryinfo.o -Wl,--gc-sections
                Command line: -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device olinuxinoA20 -device-option CROSS_COMPILE=/home/rafal/qt5.9-arm-compile/gcc-linaro-7.1.1-2017.05-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/rafal/qt5.9-arm-compile/sysroot -prefix /usr/local/qt5.9 -extprefix /home/rafal/qt5.9-arm7 -hostprefix /home/rafal/qt5.9-arm7-host -eglfs -v

              This is the Qt Open Source Edition.

              You have already accepted the terms of the Open Source license.

              Running configuration tests...
              Done running configuration tests.

              Configure summary:

              Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
              Building for: devices/linux-olinuxinoA20-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 c++14 c++1z concurrent dbus mremap reduce_exports stl
              Build options:
              Mode ................................... release
              Optimize release build for size ........ no
              Building shared libraries .............. yes
              Using C++ standard ..................... C++1z
              Using gold linker ...................... yes
              Using new DTAGS ........................ yes
              Using precompiled headers .............. yes
              Using LTCG ............................. no
              Target compiler supports:
              NEON ................................. yes
              Build parts ............................ libs
              Qt modules and options:
              Qt Concurrent .......................... yes
              Qt D-Bus ............................... yes
              Qt D-Bus directly linked to libdbus .... yes
              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 ................................... yes
              Using system zlib ...................... yes
              Qt Core:
              DoubleConversion ....................... yes
              Using system DoubleConversion ........ no
              GLib ................................... yes
              iconv .................................. no
              ICU .................................... yes
              Logging backends:
              journald ............................. no
              syslog ............................... no
              slog2 ................................ no
              Using system PCRE2 ..................... no
              Qt Network:
              getaddrinfo() .......................... yes
              getifaddrs() ........................... yes
              IPv6 ifname ............................ yes
              libproxy ............................... no
              OpenSSL ................................ yes
              Qt directly linked to OpenSSL ........ no
              SCTP ................................... no
              Use system proxies ..................... yes
              Qt Sql:
              DB2 (IBM) .............................. no
              InterBase .............................. no
              MySql .................................. no
              OCI (Oracle) ........................... no
              ODBC ................................... yes
              PostgreSQL ............................. yes
              SQLite2 ................................ yes
              SQLite ................................. yes
              Using system provided SQLite ......... no
              TDS (Sybase) ........................... yes
              Qt Gui:
              Accessibility .......................... yes
              FreeType ............................... yes
              Using system FreeType ................ yes
              HarfBuzz ............................... yes
              Using system HarfBuzz ................ no
              Fontconfig ............................. yes
              Image formats:
              GIF .................................. yes
              ICO .................................. yes
              JPEG ................................. yes
              Using system libjpeg ............... yes
              PNG .................................. yes
              Using system libpng ................ yes
              EGL .................................... no
              OpenVG ................................. yes
              OpenGL:
              Desktop OpenGL ....................... no
              OpenGL ES 2.0 ........................ yes
              OpenGL ES 3.0 ........................ no
              OpenGL ES 3.1 ........................ no
              Session Management ..................... yes
              Features used by QPA backends:
              evdev .................................. yes
              libinput ............................... yes
              mtdev .................................. yes
              tslib .................................. yes
              xkbcommon-evdev ........................ yes
              QPA backends:
              DirectFB ............................... no
              EGLFS .................................. no
              LinuxFB ................................ yes
              VNC .................................... yes
              Mir client ............................. no
              X11:
              Using system-provided XCB libraries .. yes
              EGL on X11 ........................... no
              Xinput2 .............................. yes
              XCB XKB .............................. yes
              XLib ................................. yes
              XCB render ........................... yes
              XCB GLX .............................. yes
              XCB Xlib ............................. yes
              Using system-provided xkbcommon ...... no
              Qt Widgets:
              GTK+ ................................... no
              Styles ................................. Fusion Windows
              Qt PrintSupport:
              CUPS ................................... yes
              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 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 Multimedia:
              ALSA ................................... yes
              GStreamer 1.0 .......................... no
              GStreamer 0.10 ......................... yes
              Video for Linux ........................ yes
              OpenAL ................................. no
              PulseAudio ............................. yes
              Resource Policy (libresourceqt5) ....... no
              Windows Audio Services ................. no
              DirectShow ............................. no
              Windows Media Foundation ............... no
              Qt Quick Controls 2:
              Styles ................................. Default Material Universal
              Qt Quick Templates 2:
              Hover support .......................... yes
              Qt Location:
              Gypsy GPS Daemon ....................... no
              WinRT Geolocation API .................. 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 ................................... yes
              PulseAudio ............................. yes
              System libraries:
              ICU .................................. no
              libwebp and libwebpdemux ............. no
              Opus ................................. no
              ffmpeg ............................... no

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

              Note: Dropped compiler flags '-pthread' when detecting library 'glib'.

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

              Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.

              Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.

              ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #12

                Looks like the configure output is not complete, I don't see any failure there.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • python74P Offline
                  python74P Offline
                  python74
                  wrote on last edited by
                  #13

                  What You mean by incomplete?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    In verbose mode, the configure script prints way more lines than what you have here.

                    Did you re-run configure from a clean state ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • python74P Offline
                      python74P Offline
                      python74
                      wrote on last edited by
                      #15

                      before config i did make clean all

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #16

                        You just cleaned the build artefacts not the configuration stuff. You should do out of source builds, that way you can just nuke the build folder if something fails and the source will stay clean.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • python74P Offline
                          python74P Offline
                          python74
                          wrote on last edited by
                          #17

                          Thanks. How to do build to another dir?

                          jsulmJ 1 Reply Last reply
                          0
                          • python74P python74

                            Thanks. How to do build to another dir?

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            @python74

                            mkdir build
                            cd build
                            PATH_TO_QT_SOURCE/configure ...
                            make
                            

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            1
                            • python74P Offline
                              python74P Offline
                              python74
                              wrote on last edited by
                              #19

                              Thanks for help. But i have another problem. I removed old src directory an was trying to compile qt again. And then problem starts - running configure script and instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake wchich btw i removed wit previous QT. Qt5 was installed with qt creator. How to avoid that?

                              jsulmJ 1 Reply Last reply
                              0
                              • python74P python74

                                Thanks for help. But i have another problem. I removed old src directory an was trying to compile qt again. And then problem starts - running configure script and instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake wchich btw i removed wit previous QT. Qt5 was installed with qt creator. How to avoid that?

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #20

                                @python74 said in eglfs + framebuffer - display issue:

                                instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

                                Sorry, I don't understand that: if you try to call make qmake is called or what? Can you please explain better (show the steps you did)?

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • python74P Offline
                                  python74P Offline
                                  python74
                                  wrote on last edited by
                                  #21

                                  Sorry, I'm not good with english.
                                  Right now i'm in work so i can't post output from console.
                                  Previously I compiled qt with bad options (running configure command without some parameters), but also installed qt creator from repository (apt-get). Later I removed whole directory with qt source, and made new with clean sources. Inside new sources directory I have launched configure script in terminal. Process starts with qmake build, but stops with error: load(qt_config) not recognized (or similar - i'll post output after work). So in console i typed "make clean all" and then instead make shell calls /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. Then I removed all qt from system with qt5 directory via apt-get an nothing changes - cant run configure script because of calling non existing /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. I've exported MAKE=/usr/bin/make - still error: load(qt_config)

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #22

                                    You should start by cleaning things.

                                    Delete your current Qt sources and then uncompress the archive again so you are really in a clean state to build.

                                    Then, as suggested make an out of source build like @jsulm showed.

                                    When you want to use qmake, use the full path to the executable. The one found by your console is the system installed qmake and it's currently not the one you want to use.

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0
                                    • python74P Offline
                                      python74P Offline
                                      python74
                                      wrote on last edited by
                                      #23

                                      my point is i removed qt5 (with qmake) installed in /usr/lib/x86_64-linux-gnu/qt5/bin/qmake, but still make command points to this particular qmake

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • python74P python74

                                        my point is i removed qt5 (with qmake) installed in /usr/lib/x86_64-linux-gnu/qt5/bin/qmake, but still make command points to this particular qmake

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #24

                                        @python74 Please do a clean rebuild first! Old Makefiles will still point to that old qmake as they do not know that you removed it.

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        0
                                        • python74P Offline
                                          python74P Offline
                                          python74
                                          wrote on last edited by
                                          #25

                                          You mean remove makefiles from qt source directory? I deleted whole directory and unpacked sources fro zip again

                                          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