Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
Forum Updated to NodeBB v4.3 + New Features

qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 982 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.
  • D Offline
    D Offline
    dziko147
    wrote on last edited by
    #1

    Hello
    I deploy my Qt app to raspberry pi 3 using buildroot toolchain . After cross -compiling I get this error when i run my app on target .
    Any help please ?

    JonBJ 1 Reply Last reply
    0
    • D dziko147

      Hello
      I deploy my Qt app to raspberry pi 3 using buildroot toolchain . After cross -compiling I get this error when i run my app on target .
      Any help please ?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @dziko147
      I don't know if it helps in this "eglfs" situation, but the usual starting point for "Could not find the Qt platform plugin" is you need to set environment variable export QT_DEBUG_PLUGINS=1 on target and run your application, it will send diagnostic output to stdout/stderr, you usually need to look at the end of it to see what's failing.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dziko147
        wrote on last edited by
        #3

        @JonB thanks for your reply . But I am new in Qt development Can you please guide me to solve this error

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

          Hi,

          @JonB already wrote the first steps to understand what is going on.

          Beside that, did you install your cross-compiled Qt on 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

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dziko147
            wrote on last edited by
            #5

            @SGaist I think that yes . Qt was installed using buildroot menuconfig . there is another installation needed ! I tranfert the executable using ssh .

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

              Then as @JonB suggested: use QT_DEBUG_PLUGINS to gather information about what is going on 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

              D 1 Reply Last reply
              0
              • SGaistS SGaist

                Then as @JonB suggested: use QT_DEBUG_PLUGINS to gather information about what is going on your target.

                D Offline
                D Offline
                dziko147
                wrote on last edited by
                #7

                @SGaist Can you explain how to use the QT_DEBUG_PLUGINS please !

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

                  If you are starting your application from the command line, literally what @JonB wrote: export QT_DEBUG_PLUGINS=1.

                  If from Qt Creator, go to the Run part of the Project panel and add it to the environment variables.

                  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

                  • Login

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