Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. could not find qtplatfom plugin eglfs
Forum Updated to NodeBB v4.3 + New Features

could not find qtplatfom plugin eglfs

Scheduled Pinned Locked Moved Unsolved General and Desktop
81 Posts 5 Posters 23.7k 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.
  • jsulmJ jsulm

    @Asha If you did not cross compile needed platform plug-in then yes

    A Offline
    A Offline
    Asha
    wrote on last edited by
    #36

    @jsulm Hi,

    I flashed my board with debian image...any idea which plugin is running on that image...

    I got the answer ,we are using linux backend...

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asha
      wrote on last edited by
      #37

      for eglfs plugin ,which packages are required and how to install those?

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        for eglfs plugin ,which packages are required and how to install those?

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

        @Asha Please take a look at https://doc.qt.io/qt-5/embedded-linux.html
        "we are using linux backend" - which one?

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

        A 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Asha Please take a look at https://doc.qt.io/qt-5/embedded-linux.html
          "we are using linux backend" - which one?

          A Offline
          A Offline
          Asha
          wrote on last edited by
          #39

          @jsulm I asked,which backend is running on board?

          got the ans:linux

          shall I ask more about backend or any link?

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @jsulm I asked,which backend is running on board?

            got the ans:linux

            shall I ask more about backend or any link?

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

            @Asha We know from the beginning that the OS is Linux. Linux is an operating system supporting different technologies for graphics, like: X11, directfb, eglfs, ...
            These technologies is what is called "backends" in Qt.

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

            A 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Asha We know from the beginning that the OS is Linux. Linux is an operating system supporting different technologies for graphics, like: X11, directfb, eglfs, ...
              These technologies is what is called "backends" in Qt.

              A Offline
              A Offline
              Asha
              wrote on last edited by
              #41

              @jsulm Hi ,Thank you for you guide...

              I found which plugin is running on my board,
              That is eglfs only,

              with this link https://doc.qt.io/qt-5/embedded-linux.html

              for beagleboneboard my build directory is Qt5,

              I got the information in the folder below

              cd /home/beagle/Qt5/mkspecs/devices/linux-beagleboard-g++/qmake.conf

              in qmake.conf file

              QT_QPA_DEFAULT_PLATFORM = eglfs

              so now,how to proceed next?

              can i change the QT_QPA_DEFAULT_PLATFORM in that file ?

              or need to configure with eglfs only?

              jsulmJ 1 Reply Last reply
              0
              • A Asha

                @jsulm Hi ,Thank you for you guide...

                I found which plugin is running on my board,
                That is eglfs only,

                with this link https://doc.qt.io/qt-5/embedded-linux.html

                for beagleboneboard my build directory is Qt5,

                I got the information in the folder below

                cd /home/beagle/Qt5/mkspecs/devices/linux-beagleboard-g++/qmake.conf

                in qmake.conf file

                QT_QPA_DEFAULT_PLATFORM = eglfs

                so now,how to proceed next?

                can i change the QT_QPA_DEFAULT_PLATFORM in that file ?

                or need to configure with eglfs only?

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

                @Asha What did configure say about eglfs? Was it activated?

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

                A 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Asha What did configure say about eglfs? Was it activated?

                  A Offline
                  A Offline
                  Asha
                  wrote on last edited by
                  #43

                  @jsulm I gone through this link,https://doc.qt.io/qt-5.12/embedded-linux.html

                  please go through the selected paragraph in the below screenshot,eglfs.png
                  in the mentioned the path i got it(dont no its currect or not just guessed)

                  jsulmJ 1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Asha
                    wrote on last edited by
                    #44

                    how to proceed next?

                    1 Reply Last reply
                    0
                    • A Asha

                      @jsulm I gone through this link,https://doc.qt.io/qt-5.12/embedded-linux.html

                      please go through the selected paragraph in the below screenshot,eglfs.png
                      in the mentioned the path i got it(dont no its currect or not just guessed)

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

                      @Asha said in could not find qtplatfom plugin eglfs:

                      in the mentioned the path i got it(dont no its currect or not just guessed)

                      Sorry, I don't get it. What was the output of configure? Did it say eglfs was activated?

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

                      A 2 Replies Last reply
                      0
                      • jsulmJ jsulm

                        @Asha said in could not find qtplatfom plugin eglfs:

                        in the mentioned the path i got it(dont no its currect or not just guessed)

                        Sorry, I don't get it. What was the output of configure? Did it say eglfs was activated?

                        A Offline
                        A Offline
                        Asha
                        wrote on last edited by
                        #46

                        @jsulm

                        I have extracted qt source code,that can be mmoved in QT5 directory,

                        in QT5/qtbase/mkspecs/devices/linux-beagleboard-g++/qmake.conf file,

                        the line presene QT_QPA_DEFAULT_PLATFORM= eglfs...

                        so now i need to configure,

                        I need to mentioned eglfs in my configure line,so

                        ./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /home/beagle/BB/sysroot -prefix /home/debian/Qt5ForBBB -hostprefix ~/Qt5ForBBB -device-option CROSS_COMPILE="path" -egl -eglfs -nomake tests -nomake examples -skip qtconnectivitty -recheck-all -v

                        this is correct?

                        1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Asha said in could not find qtplatfom plugin eglfs:

                          in the mentioned the path i got it(dont no its currect or not just guessed)

                          Sorry, I don't get it. What was the output of configure? Did it say eglfs was activated?

                          A Offline
                          A Offline
                          Asha
                          wrote on last edited by
                          #47

                          @jsulm eglfs is not activated,how do i activate it?

                          jsulmJ 1 Reply Last reply
                          0
                          • A Asha

                            @jsulm eglfs is not activated,how do i activate it?

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

                            @Asha said in could not find qtplatfom plugin eglfs:

                            how do i activate it?

                            Check the configure log to see what was missing (I'm quite sure that I already suggested that before).

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

                            A 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Asha said in could not find qtplatfom plugin eglfs:

                              how do i activate it?

                              Check the configure log to see what was missing (I'm quite sure that I already suggested that before).

                              A Offline
                              A Offline
                              Asha
                              wrote on last edited by
                              #49

                              @jsulm Hi,

                              about eglfs i got this type error,

                              looking for library opengl_es2
                              Trying source 0 (type pkgConfig) of library opengl_es2 ...

                              • PKG_CONFIG_SYSROOT_DIR=/home/beagle/BB/sysroot PKG_CONFIG_LIBDIR=/home/beagle/BB/sysroot/usr/lib/pkgconfig:/home/beagle/BB/sysroot/usr/share/pkgconfig:/home/beagle/BB/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors glesv2
                                pkg-config did not find package.
                                => source produced no result.
                                Trying source 1 (type makeSpec) of library opengl_es2 ...
                                None of [libGLESv2.so libGLESv2.a] found in [] and global paths.
                                None of [libEGL.so libEGL.a] found in [] and global paths.
                                None of [libIMGegl.so libIMGegl.a] found in [] and global paths.
                                None of [libsrv_um.so libsrv_um.a] found in [] and global paths.
                                => source produced no result.
                                test config.qtbase_gui.libraries.opengl_es2 FAILED

                              Any ideas ,how do I slove this?

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

                                Hi,

                                Do you have any of these libraries available on your sysroot ?
                                If not then install the corresponding development package for your target.

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

                                A 2 Replies Last reply
                                0
                                • SGaistS SGaist

                                  Hi,

                                  Do you have any of these libraries available on your sysroot ?
                                  If not then install the corresponding development package for your target.

                                  A Offline
                                  A Offline
                                  Asha
                                  wrote on last edited by
                                  #51

                                  @SGaist thank you for the replay,

                                  but i am not getting the path ,where i have to search those libraries...if you have idea then please let me know the path of those libraries...

                                  /home/beagle/BBB1/sysroot/lib/arm-linux-gnueabihf(is it correct)...

                                  1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Hi,

                                    Do you have any of these libraries available on your sysroot ?
                                    If not then install the corresponding development package for your target.

                                    A Offline
                                    A Offline
                                    Asha
                                    wrote on last edited by
                                    #52

                                    @SGaist in the path /home/beagle/usr/lib/arm-linux-gnueabihf i found those libraries

                                    A 1 Reply Last reply
                                    0
                                    • A Asha

                                      @SGaist in the path /home/beagle/usr/lib/arm-linux-gnueabihf i found those libraries

                                      A Offline
                                      A Offline
                                      Asha
                                      wrote on last edited by
                                      #53

                                      @Asha sorry in /home/debian/usr/lib/arm-linux-gnueabihf I found those libraries....

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        Asha
                                        wrote on last edited by
                                        #54

                                        After configuring ,I am getting the errors

                                        ERROR: Feature 'opengles2' was enabled, but the pre-condition '(config.win32 && !features.opengl-dynamic) || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.

                                        ERROR: Feature 'egl' was enabled, but the pre-condition '(features.opengl || features.openvg) && (features.angle || libs.egl)' failed.

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

                                        ERROR: The OpenGL functionality tests failed!
                                        You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
                                        QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

                                        while checking the config.log file,i understood in my sysroot ,I dont have the libegl packages,how to install those packages? please guide me....

                                        in my qmake.conf file
                                        QMAKE_INCDIR_EGL=
                                        QMAKE_LIBDIR_EGL=

                                        this both are empty...what i need to specify there...below is the attachement of my qmake.conf file please go throught that one.....

                                        code_text#
                                        # qmake configuration for the BeagleBoard and BeagleBoard xM boards
                                        # http://beagleboard.org/
                                        
                                        MAKEFILE_GENERATOR      = UNIX
                                        CONFIG                 += incremental
                                        QMAKE_INCREMENTAL_STYLE = sublib
                                        
                                        include(../../common/linux.conf)
                                        include(../../common/gcc-base-unix.conf)
                                        include(../../common/g++-unix.conf)
                                        
                                        load(device_config)
                                        
                                        QT_QPA_DEFAULT_PLATFORM = eglfs
                                        
                                        # modifications to g++.conf
                                        QMAKE_CC                = $${CROSS_COMPILE}gcc
                                        QMAKE_CXX               = $${CROSS_COMPILE}g++
                                        QMAKE_LINK              = $${QMAKE_CXX}
                                        QMAKE_LINK_SHLIB        = $${QMAKE_CXX}
                                        
                                        # modifications to linux.conf
                                        QMAKE_AR                = $${CROSS_COMPILE}ar cqs
                                        QMAKE_OBJCOPY           = $${CROSS_COMPILE}objcopy
                                        QMAKE_NM                = $${CROSS_COMPILE}nm -P
                                        QMAKE_STRIP             = $${CROSS_COMPILE}strip
                                        
                                        COMPILER_FLAGS          = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb
                                        
                                        #modifications to gcc-base.conf
                                        QMAKE_CFLAGS           += $${COMPILER_FLAGS}
                                        QMAKE_CXXFLAGS         += $${COMPILER_FLAGS}
                                        QMAKE_CXXFLAGS_RELEASE += -O3
                                        
                                        QMAKE_LIBS             += -lrt -lpthread -ldl
                                        
                                        # Extra stuff (OpenGL, DirectFB, ...)
                                        QMAKE_INCDIR_EGL        =
                                        QMAKE_LIBDIR_EGL        =
                                        QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
                                        QMAKE_LIBDIR_OPENGL_ES2 = $${QMAKE_LIBDIR_EGL}
                                        QMAKE_INCDIR_OPENVG     = $${QMAKE_INCDIR_EGL}
                                        QMAKE_LIBDIR_OPENVG     = $${QMAKE_LIBDIR_EGL}
                                        
                                        QMAKE_LIBS_EGL          = -lEGL -lIMGegl -lsrv_um
                                        QMAKE_LIBS_OPENGL_ES2   = -lGLESv2 $${QMAKE_LIBS_EGL}
                                        QMAKE_LIBS_OPENVG       = -lOpenVG $${QMAKE_LIBS_EGL}
                                        
                                        DISTRO_OPTS += hard-float
                                        
                                        # No need for any special EGL device integration.
                                        # Prioritize the default, compiled-in integration over any plugins.
                                        EGLFS_DEVICE_INTEGRATION = eglfs
                                        
                                        include(../common/linux_arm_device_post.conf)
                                        
                                        load(qt_config)
                                        
                                        jsulmJ 1 Reply Last reply
                                        0
                                        • A Asha

                                          After configuring ,I am getting the errors

                                          ERROR: Feature 'opengles2' was enabled, but the pre-condition '(config.win32 && !features.opengl-dynamic) || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.

                                          ERROR: Feature 'egl' was enabled, but the pre-condition '(features.opengl || features.openvg) && (features.angle || libs.egl)' failed.

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

                                          ERROR: The OpenGL functionality tests failed!
                                          You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
                                          QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

                                          while checking the config.log file,i understood in my sysroot ,I dont have the libegl packages,how to install those packages? please guide me....

                                          in my qmake.conf file
                                          QMAKE_INCDIR_EGL=
                                          QMAKE_LIBDIR_EGL=

                                          this both are empty...what i need to specify there...below is the attachement of my qmake.conf file please go throught that one.....

                                          code_text#
                                          # qmake configuration for the BeagleBoard and BeagleBoard xM boards
                                          # http://beagleboard.org/
                                          
                                          MAKEFILE_GENERATOR      = UNIX
                                          CONFIG                 += incremental
                                          QMAKE_INCREMENTAL_STYLE = sublib
                                          
                                          include(../../common/linux.conf)
                                          include(../../common/gcc-base-unix.conf)
                                          include(../../common/g++-unix.conf)
                                          
                                          load(device_config)
                                          
                                          QT_QPA_DEFAULT_PLATFORM = eglfs
                                          
                                          # modifications to g++.conf
                                          QMAKE_CC                = $${CROSS_COMPILE}gcc
                                          QMAKE_CXX               = $${CROSS_COMPILE}g++
                                          QMAKE_LINK              = $${QMAKE_CXX}
                                          QMAKE_LINK_SHLIB        = $${QMAKE_CXX}
                                          
                                          # modifications to linux.conf
                                          QMAKE_AR                = $${CROSS_COMPILE}ar cqs
                                          QMAKE_OBJCOPY           = $${CROSS_COMPILE}objcopy
                                          QMAKE_NM                = $${CROSS_COMPILE}nm -P
                                          QMAKE_STRIP             = $${CROSS_COMPILE}strip
                                          
                                          COMPILER_FLAGS          = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb
                                          
                                          #modifications to gcc-base.conf
                                          QMAKE_CFLAGS           += $${COMPILER_FLAGS}
                                          QMAKE_CXXFLAGS         += $${COMPILER_FLAGS}
                                          QMAKE_CXXFLAGS_RELEASE += -O3
                                          
                                          QMAKE_LIBS             += -lrt -lpthread -ldl
                                          
                                          # Extra stuff (OpenGL, DirectFB, ...)
                                          QMAKE_INCDIR_EGL        =
                                          QMAKE_LIBDIR_EGL        =
                                          QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
                                          QMAKE_LIBDIR_OPENGL_ES2 = $${QMAKE_LIBDIR_EGL}
                                          QMAKE_INCDIR_OPENVG     = $${QMAKE_INCDIR_EGL}
                                          QMAKE_LIBDIR_OPENVG     = $${QMAKE_LIBDIR_EGL}
                                          
                                          QMAKE_LIBS_EGL          = -lEGL -lIMGegl -lsrv_um
                                          QMAKE_LIBS_OPENGL_ES2   = -lGLESv2 $${QMAKE_LIBS_EGL}
                                          QMAKE_LIBS_OPENVG       = -lOpenVG $${QMAKE_LIBS_EGL}
                                          
                                          DISTRO_OPTS += hard-float
                                          
                                          # No need for any special EGL device integration.
                                          # Prioritize the default, compiled-in integration over any plugins.
                                          EGLFS_DEVICE_INTEGRATION = eglfs
                                          
                                          include(../common/linux_arm_device_post.conf)
                                          
                                          load(qt_config)
                                          
                                          jsulmJ Offline
                                          jsulmJ Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #55

                                          @Asha said in could not find qtplatfom plugin eglfs:

                                          I dont have the libegl packages,how to install those packages?

                                          As any other packages...
                                          On my Ubuntu machine it is:

                                          apt install libegl1-mesa-dev
                                          

                                          Please learn to search for needed packages by yourself:

                                          apt search libegl
                                          

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

                                          A 2 Replies 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