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 21.2k 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.
  • K Ketank16

    Even if you don't have the Qt folder on beaglebone at same location, you can export the following environment variables on BBB and be able to run your Qt application in it.

    export QT_QPA_PLATFORM_PLUGIN_PATH=/home/debian/(Qt folder name)/plugins/platforms
    export LD_LIBRARY_PATH="/home/debian/(Qt folder name)/lib":$LD_LIBRARY_PATH
    export QT_PLUGIN_PATH=/home/debian/(Qt folder name)/plugins
    export QT_QPA_FONTDIR=/home/debian/(Qt folder name)/lib/fonts
    

    Main thing you need to check is do you have eglfs as platform in the first place? Because I'm working on a BBB myself, and my application isn't in critical need of eglfs, but normally with BBB sysroot and linaro toolchain combo, you don't get eglfs working. You should check the path /home/debian/(Qt folder name)/plugins/platforms before using any app whether you have a library for eglfs there. If you do, then the commands above will point the Qt application to right folder and it will detect eglfs as platform plugin.

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

    @Ketank16 Hi,

    can you please show me the, any .pro file,

    I am very confused with this target.path file..

    I followed this..target.png

    here is my .pro filetarget.pro.png

    what i gave target.path, is it correct?

    if its correct I am getting the error as shown in screenshot,

    for that error solution ,I gave all the rights(rwx) to the /home/beagle/Qt5.13.1 directory then also getting the same error,any suggestions please....

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

      Hi,

      Any ideas?

      Pablo J. RoginaP 1 Reply Last reply
      0
      • A Asha

        Hi,

        Any ideas?

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #19

        @Asha I think the problem is the $$[Qt5] placeholder in the value for target.path variable in your .pro
        what if you just make it simple as target.path=/home/beagle/Qt5.13.1

        PS: please STOP pasting pictures and just paste TEXT so it's easier for others to reference your posts...

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        A 1 Reply Last reply
        1
        • Pablo J. RoginaP Pablo J. Rogina

          @Asha I think the problem is the $$[Qt5] placeholder in the value for target.path variable in your .pro
          what if you just make it simple as target.path=/home/beagle/Qt5.13.1

          PS: please STOP pasting pictures and just paste TEXT so it's easier for others to reference your posts...

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

          @Pablo-J-Rogina

          Good morning ,

          Thanks for the replay,

          After giving /home/beagle/Qt5.13.1 in my .pro file also getting the same problem...

          Here is the compile output:

          10:22:04: Running steps for project concentriccircles...
          10:22:04: Configuration unchanged, skipping qmake step.
          10:22:04: Starting: "/usr/bin/make" -j4
          make: Nothing to be done for 'first'.
          10:22:04: The process "/usr/bin/make" exited normally.
          10:22:04: Connecting to device "Generic Linux Device" (192.168.7.2).
          10:22:08: The remote file system has 49 megabytes of free space, going ahead.
          10:22:08: Deploy step finished.
          10:22:08: Trying to kill "/home/beagle/Qt5.13.1/concentriccircles" on remote device...
          10:22:11: Remote application killed.
          10:22:11: Deploy step finished.
          10:22:11: Failed to create remote directories: mkdir: cannot create directory ‘/home/beagle’: Permission denied

          10:22:11: Deploy step failed.
          Error while building/deploying project concentriccircles (kit: BBB)
          When executing step "Deploy files via rsync"
          10:22:11: Elapsed time: 00:07.

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @Pablo-J-Rogina

            Good morning ,

            Thanks for the replay,

            After giving /home/beagle/Qt5.13.1 in my .pro file also getting the same problem...

            Here is the compile output:

            10:22:04: Running steps for project concentriccircles...
            10:22:04: Configuration unchanged, skipping qmake step.
            10:22:04: Starting: "/usr/bin/make" -j4
            make: Nothing to be done for 'first'.
            10:22:04: The process "/usr/bin/make" exited normally.
            10:22:04: Connecting to device "Generic Linux Device" (192.168.7.2).
            10:22:08: The remote file system has 49 megabytes of free space, going ahead.
            10:22:08: Deploy step finished.
            10:22:08: Trying to kill "/home/beagle/Qt5.13.1/concentriccircles" on remote device...
            10:22:11: Remote application killed.
            10:22:11: Deploy step finished.
            10:22:11: Failed to create remote directories: mkdir: cannot create directory ‘/home/beagle’: Permission denied

            10:22:11: Deploy step failed.
            Error while building/deploying project concentriccircles (kit: BBB)
            When executing step "Deploy files via rsync"
            10:22:11: Elapsed time: 00:07.

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

            @Asha Does /home/beagle directory exist on your device?

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

            A 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Asha Does /home/beagle directory exist on your device?

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

              @jsulm

              /home/beagle does not exit on my device,
              I installed Qt in my laptop(location is: /home/beagle/Qt5.13.1)

              I copied the cross compiled qt in my device(location is : /home/debian/Qt5),

              one more thing,I want to tell

              my user password is :1234

              I am trying to connect ssh via root,but giving the password 1234 ,I am not able to connect with my board ,getting the permission denied error,

              but giving the password "ims1" ,I am able to login via root,
              where "ims1" is my old user password ,is this may cause any issues?

              jsulmJ 1 Reply Last reply
              0
              • A Asha

                @jsulm

                /home/beagle does not exit on my device,
                I installed Qt in my laptop(location is: /home/beagle/Qt5.13.1)

                I copied the cross compiled qt in my device(location is : /home/debian/Qt5),

                one more thing,I want to tell

                my user password is :1234

                I am trying to connect ssh via root,but giving the password 1234 ,I am not able to connect with my board ,getting the permission denied error,

                but giving the password "ims1" ,I am able to login via root,
                where "ims1" is my old user password ,is this may cause any issues?

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

                @Asha said in could not find qtplatfom plugin eglfs:

                /home/beagle does not exit on my device

                Well, that's the problem: only root has write access in /home.
                Why do you use /home/beagle if your user is debian?!
                Use /home/debian ...

                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:

                  /home/beagle does not exit on my device

                  Well, that's the problem: only root has write access in /home.
                  Why do you use /home/beagle if your user is debian?!
                  Use /home/debian ...

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

                  @jsulm

                  while giving the /home/debian

                  here is the compile output:
                  11:13:06: Running steps for project concentriccircles...
                  11:13:06: Configuration unchanged, skipping qmake step.
                  11:13:06: Starting: "/usr/bin/make" -j4
                  make: Nothing to be done for 'first'.
                  11:13:06: The process "/usr/bin/make" exited normally.
                  11:13:06: The remote file system has 46 megabytes of free space, going ahead.
                  11:13:06: Deploy step finished.
                  11:13:06: Trying to kill "/home/debian/Qt5/concentriccircles" on remote device...
                  11:13:08: Remote application killed.
                  11:13:08: Deploy step finished.
                  11:13:08: sending incremental file list

                  11:13:08:
                  sent 72 bytes received 12 bytes 168.00 bytes/sec
                  total size is 1,576,416 speedup is 18,766.86

                  11:13:08: Deploy step finished.
                  11:13:08: Elapsed time: 00:03.

                  And

                  Application output is:

                  11:13:09: Starting /home/debian/Qt5/concentriccircles ...
                  qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
                  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                  Available platform plugins are: linuxfb, minimal, offscreen, vnc.

                  11:13:09: Remote process crashed.

                  jsulmJ 1 Reply Last reply
                  0
                  • A Asha

                    @jsulm

                    while giving the /home/debian

                    here is the compile output:
                    11:13:06: Running steps for project concentriccircles...
                    11:13:06: Configuration unchanged, skipping qmake step.
                    11:13:06: Starting: "/usr/bin/make" -j4
                    make: Nothing to be done for 'first'.
                    11:13:06: The process "/usr/bin/make" exited normally.
                    11:13:06: The remote file system has 46 megabytes of free space, going ahead.
                    11:13:06: Deploy step finished.
                    11:13:06: Trying to kill "/home/debian/Qt5/concentriccircles" on remote device...
                    11:13:08: Remote application killed.
                    11:13:08: Deploy step finished.
                    11:13:08: sending incremental file list

                    11:13:08:
                    sent 72 bytes received 12 bytes 168.00 bytes/sec
                    total size is 1,576,416 speedup is 18,766.86

                    11:13:08: Deploy step finished.
                    11:13:08: Elapsed time: 00:03.

                    And

                    Application output is:

                    11:13:09: Starting /home/debian/Qt5/concentriccircles ...
                    qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
                    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                    Available platform plugins are: linuxfb, minimal, offscreen, vnc.

                    11:13:09: Remote process crashed.

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

                    @Asha said in could not find qtplatfom plugin eglfs:

                    linuxfb, minimal, offscreen, vnc

                    Looks like you did not build eglfs support when building Qt

                    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:

                      linuxfb, minimal, offscreen, vnc

                      Looks like you did not build eglfs support when building Qt

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

                      @jsulm
                      but other platforms like linuxfb and vnc both are enabled while building qt,

                      And I exported linuxfb in my device...

                      one more ,while building I tried with -eglfs option also but got the error like

                      ERROR: 'eglfs' already enabled...

                      jsulmJ 1 Reply Last reply
                      0
                      • A Asha

                        @jsulm
                        but other platforms like linuxfb and vnc both are enabled while building qt,

                        And I exported linuxfb in my device...

                        one more ,while building I tried with -eglfs option also but got the error like

                        ERROR: 'eglfs' already enabled...

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

                        @Asha What do you actually want to use? eglfs? linuxfb? ...?
                        Adding -eglfs is not going to help as it is already activated, but your Qt build does not support it.

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

                        A 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Asha What do you actually want to use? eglfs? linuxfb? ...?
                          Adding -eglfs is not going to help as it is already activated, but your Qt build does not support it.

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

                          @jsulm I just want to run one simple application in my device, by using anyone..

                          jsulmJ 1 Reply Last reply
                          0
                          • A Asha

                            @jsulm I just want to run one simple application in my device, by using anyone..

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

                            @Asha Well, I think I already mentioned this once: you have to know what your device actually uses. Is it X11, eglfs, linuxfb, ...?

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

                            A 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Asha Well, I think I already mentioned this once: you have to know what your device actually uses. Is it X11, eglfs, linuxfb, ...?

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

                              @jsulm

                              can you please tell me more about X11,or any link..what exactly it will do?

                              jsulmJ 1 Reply Last reply
                              0
                              • A Asha

                                @jsulm

                                can you please tell me more about X11,or any link..what exactly it will do?

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

                                @Asha Google knows https://en.wikipedia.org/wiki/X_Window_System

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

                                A 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @Asha Google knows https://en.wikipedia.org/wiki/X_Window_System

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

                                  @jsulm It means first i need to find which backend is running on my device ,based on that I need to cross compile the qt?

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • A Asha

                                    @jsulm It means first i need to find which backend is running on my device ,based on that I need to cross compile the qt?

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

                                    @Asha said in could not find qtplatfom plugin eglfs:

                                    i need to find which backend is running on my device

                                    yes

                                    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:

                                      i need to find which backend is running on my device

                                      yes

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

                                      @jsulm after finding ,again i need to build ,cross compiled qt?

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • A Asha

                                        @jsulm after finding ,again i need to build ,cross compiled qt?

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

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

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

                                        A 1 Reply Last reply
                                        0
                                        • 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

                                          • Login

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