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. QT platform Plugins unable to load

QT platform Plugins unable to load

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 3.7k 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.
  • S Offline
    S Offline
    swathi
    wrote on last edited by
    #1

    Hi ,

    I am deploy the qt application on RPI3 board. I run the application I am getting below error message.How to solve this errors.
    "QML debugging is enabled. Only use this in a safe environment.
    This application failed to start because it could not find or load the Qt platform plugin "eglfs"
    in "".
    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
    Reinstalling the application may fix this problem.
    Aborted"

    Thanks in Advance,

    Regards,
    Swathi.

    jsulmJ 1 Reply Last reply
    0
    • S swathi

      Hi ,

      I am deploy the qt application on RPI3 board. I run the application I am getting below error message.How to solve this errors.
      "QML debugging is enabled. Only use this in a safe environment.
      This application failed to start because it could not find or load the Qt platform plugin "eglfs"
      in "".
      Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
      Reinstalling the application may fix this problem.
      Aborted"

      Thanks in Advance,

      Regards,
      Swathi.

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

      @swathi Try to set QT_DEBUG_PLUGINS environment variable and then start your app - you should get more information which should help to identify the problem (most probably missing library).

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

      1 Reply Last reply
      1
      • S Offline
        S Offline
        swathi
        wrote on last edited by
        #3

        @jsulm said in QT platform Plugins unable to load:

        QT_DEBUG_PLUGINS environment variable

        where to set QT_DEBUG_PLUGINS environment variable.
        Could you please give more information.

        jsulmJ 1 Reply Last reply
        0
        • S swathi

          @jsulm said in QT platform Plugins unable to load:

          QT_DEBUG_PLUGINS environment variable

          where to set QT_DEBUG_PLUGINS environment variable.
          Could you please give more information.

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

          @swathi Where you start your app. If you start it manually on the command line that do it there:

          QT_DEBUG_PLUGINS=1 && ./my_app
          

          If you start it in QtCreator then set it in the "Run Environment" in Projects settings.

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

          1 Reply Last reply
          1
          • S Offline
            S Offline
            swathi
            wrote on last edited by
            #5

            Hi,

            I gave the command like QT_DEBUG_PLUGINS=1 && ./my_app in command prompt, I am getting same error message.(What I mentioned in above).

            Regards,
            Swathi.

            jsulmJ 1 Reply Last reply
            0
            • S swathi

              Hi,

              I gave the command like QT_DEBUG_PLUGINS=1 && ./my_app in command prompt, I am getting same error message.(What I mentioned in above).

              Regards,
              Swathi.

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

              @swathi Did you build your app in debug mode?

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                swathi
                wrote on last edited by
                #7

                yes. I build My app in debug mode and deploy the app into RPI3 board.

                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