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. This application failed to start because it could not find or load the Qt platform plugin "eglfs" in "/usr/local/qt5/plugins".
Qt 6.11 is out! See what's new in the release blog

This application failed to start because it could not find or load the Qt platform plugin "eglfs" in "/usr/local/qt5/plugins".

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
19 Posts 3 Posters 18.9k Views 1 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

    @Alex_wang Set QT_DEBUG_PLUGINS environment variable and start your app, you should see more output which can help to find out why the plug-in isn't loaded.
    See http://doc.qt.io/qt-5/debug.html

    A Offline
    A Offline
    Alex_wang
    wrote on last edited by
    #9

    @jsulm
    Hi,
    can you tell me my eglfs plugin is right?
    I want to use the eglfs_kms.....

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

      What device are you using exactly ?

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

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        What device are you using exactly ?

        A Offline
        A Offline
        Alex_wang
        wrote on last edited by
        #11

        @SGaist
        Hi, the device is ti DM8168/AM389x,its arm arch is armv7-a.
        the configure result shows that :

        KMS enabled.
        ......
        EGL enabled.
        ......
        
        egl-x11.cpp: In function 'int main(int, char**)':
        egl-x11.cpp:48:50: error: invalid conversion from 'Display*' to 'EGLNativeDisplayType'
        egl-x11.cpp:49:11: error: invalid conversion from 'EGLNativeDisplayType' to 'Display*'
        egl-x11.cpp:50:79: error: invalid conversion from 'Window' to 'void*'
        egl-x11.cpp:51:26: error: invalid conversion from 'void*' to 'Window'
        egl-x11.cpp:51:26: error:   initializing argument 2 of 'int XDestroyWindow(Display*, Window)'
        Makefile:239: recipe for target 'egl-x11.o' failed
        make: *** [egl-x11.o] Error 1
        **EGL-X11 disabled.**
        
        
        

        so, the egl/x11 is old on my device ,that cause the error ?

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

          What Linux distribution are you using ?

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

          A 1 Reply Last reply
          0
          • SGaistS SGaist

            What Linux distribution are you using ?

            A Offline
            A Offline
            Alex_wang
            wrote on last edited by
            #13

            @SGaist
            Hi,

            Linux version 2.6.37+  (gcc version 4.5.3 20110311 (prerelease) (GCC) )
            
            jsulmJ 1 Reply Last reply
            0
            • A Alex_wang

              @SGaist
              Hi,

              Linux version 2.6.37+  (gcc version 4.5.3 20110311 (prerelease) (GCC) )
              
              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #14

              @Alex_wang This is the Linux kernel version not the name and version of your Linux distribution.
              And kernel is very old.

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

              A 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Alex_wang This is the Linux kernel version not the name and version of your Linux distribution.
                And kernel is very old.

                A Offline
                A Offline
                Alex_wang
                wrote on last edited by
                #15

                @jsulm
                Hi,
                sorry,my kernel is from the DVRRDK(04.00.00.03) that ti provides,
                I can't know the linux distribution.....

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

                  Just because of the date I'd say that your dependencies are out of date.

                  You may try to patch Qt's to match your version of the relevant X11 libraries but there's not guaranty it's doable.

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

                  A 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Just because of the date I'd say that your dependencies are out of date.

                    You may try to patch Qt's to match your version of the relevant X11 libraries but there's not guaranty it's doable.

                    A Offline
                    A Offline
                    Alex_wang
                    wrote on last edited by
                    #17

                    @SGaist

                    I would to cross compile the latest libX11, and install ,
                    then the "EGL-X11 can be enabled" ?

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

                      If possible you should rather upgrade your device distribution to something more recent.

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

                      A 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        If possible you should rather upgrade your device distribution to something more recent.

                        A Offline
                        A Offline
                        Alex_wang
                        wrote on last edited by
                        #19

                        @SGaist
                        Hi,
                        Thanks for your reply.
                        Perhaps I can only do that.

                        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