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

QT platform Plugins unable to load

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 3.4k 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 23 Oct 2017, 06:37 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.

    J 1 Reply Last reply 23 Oct 2017, 06:52
    0
    • S swathi
      23 Oct 2017, 06:37

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 23 Oct 2017, 06:52 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 23 Oct 2017, 07:19 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.

        J 1 Reply Last reply 23 Oct 2017, 07:24
        0
        • S swathi
          23 Oct 2017, 07:19

          @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.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 23 Oct 2017, 07:24 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 23 Oct 2017, 07:29 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.

            J 1 Reply Last reply 23 Oct 2017, 08:14
            0
            • S swathi
              23 Oct 2017, 07:29

              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.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 23 Oct 2017, 08:14 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 23 Oct 2017, 08:53 last edited by
                #7

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

                1 Reply Last reply
                0

                1/7

                23 Oct 2017, 06:37

                • Login

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