Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. could not find qtplatfom plugin eglfs
Qt 6.12 LTS is out! See what's new in the release blog

could not find qtplatfom plugin eglfs

Scheduled Pinned Locked Moved Unsolved General and Desktop
81 Posts 5 Posters 99.4k 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.
  • jsulmJ jsulm

    @Asha said in could not find qtplatfom plugin eglfs:

    I dont have the libegl packages,how to install those packages?

    As any other packages...
    On my Ubuntu machine it is:

    apt install libegl1-mesa-dev
    

    Please learn to search for needed packages by yourself:

    apt search libegl
    
    A Offline
    A Offline
    Asha
    wrote on last edited by
    #56

    @jsulm Hi,

    when i tried to install this packages,I got already installed please throught the below screenshots....

    libegl.png

    sysroot also have those libraries ,here is the attachement

    libegl2.png
    so now what is problem? why it is not enabling....(may be the problem in specifying the path for those libraries in qmake.conf file?)...

    if got any idea ,then please let me know....

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

      Any suggestions? please.....

      1 Reply Last reply
      0
      • jsulmJ jsulm

        @Asha said in could not find qtplatfom plugin eglfs:

        I dont have the libegl packages,how to install those packages?

        As any other packages...
        On my Ubuntu machine it is:

        apt install libegl1-mesa-dev
        

        Please learn to search for needed packages by yourself:

        apt search libegl
        
        A Offline
        A Offline
        Asha
        wrote on last edited by
        #58

        @jsulm hi,

        in this https://forum.qt.io/topic/86678/error-feature-opengles2-was-enabled-but-the-pre-condition-config-win32-config-watchos-features-opengl-desktop-libs-opengl_es2-failed/6 ,as you suggested,

        I have the same config.log file for my device.can you please elaborate your this line

        Well, you need these libs in your sysroot: /mnt/rasp-pi-rootfs. If your sysroot is a copy of the RaspPi root file system then install the libs there (apt-get on RaspPi).

        even i also missing those libraries in my sysroot...i am not using any sd card,i flashed my device...how do i install those

        jsulmJ A 2 Replies Last reply
        0
        • A Asha

          @jsulm hi,

          in this https://forum.qt.io/topic/86678/error-feature-opengles2-was-enabled-but-the-pre-condition-config-win32-config-watchos-features-opengl-desktop-libs-opengl_es2-failed/6 ,as you suggested,

          I have the same config.log file for my device.can you please elaborate your this line

          Well, you need these libs in your sysroot: /mnt/rasp-pi-rootfs. If your sysroot is a copy of the RaspPi root file system then install the libs there (apt-get on RaspPi).

          even i also missing those libraries in my sysroot...i am not using any sd card,i flashed my device...how do i install those

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

          @Asha said in could not find qtplatfom plugin eglfs:

          i am not using any sd card,i flashed my device...how do i install those

          Install on device? Depends on your OS. But didn't we already discussed this thoroughly? If it's a Debian based Linux then you install packages using "apt". How do you create and update your sysroot?

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

          A 1 Reply Last reply
          0
          • A Asha

            @jsulm hi,

            in this https://forum.qt.io/topic/86678/error-feature-opengles2-was-enabled-but-the-pre-condition-config-win32-config-watchos-features-opengl-desktop-libs-opengl_es2-failed/6 ,as you suggested,

            I have the same config.log file for my device.can you please elaborate your this line

            Well, you need these libs in your sysroot: /mnt/rasp-pi-rootfs. If your sysroot is a copy of the RaspPi root file system then install the libs there (apt-get on RaspPi).

            even i also missing those libraries in my sysroot...i am not using any sd card,i flashed my device...how do i install those

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

            @Asha

            it means, i need to flash my board with new debian image? after try to configure?

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Asha said in could not find qtplatfom plugin eglfs:

              i am not using any sd card,i flashed my device...how do i install those

              Install on device? Depends on your OS. But didn't we already discussed this thoroughly? If it's a Debian based Linux then you install packages using "apt". How do you create and update your sysroot?

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

              @jsulm I followed the below document ,please go through this one, even he also done with debian,created sysroot....

              here is the link https://forum.qt.io/topic/106912/how-to-copy-cross-compiled-qt-binaries-from-one-computer-to-another/13 in the post 13...click here you will get a one pdf(I followed that one) but he did with vnc plugin(export done vnc only),even i also have that vnc plugin and i tried (exported also)but getting the same issue....

              I am very new to this,(if i asked any foolish questions then sorry)

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

                Hi,

                I connected ssh,via ssh debian@192.168.7.2

                after this,I am executing the executable

                ./example platform=vnc

                The result is QVncServer created on port 5900

                After this blank screen is showing...

                Any suggestions about this....

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

                  Hi,
                  I tried ,creation and execution of application through command prompt only,

                  created directory

                  mkdir qws

                  cd qws

                  vi qws.pro
                  TEMPLET=app
                  SOURCES=main.cpp

                  vi main.cpp
                  #include<QApplication>
                  #include<QPushButton>
                  int main(int argc,char** argv)
                  {
                  QApplication app(argc,argv);
                  QPushButton btn("HI");
                  btn.show();
                  btn.showMaximized();
                  }

                  After this gave the command

                  qmake

                  the output is:

                  qmake:could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/make : No such file or directory

                  I am fully confused what going,what is the mistake, i cross compiled the qt5 but its showing about qt4....any ideas ?please

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

                    Always use the full path to the qmake version you want to use.

                    Note that your cross-compiles Qt will have qmake built for the host and not the target.

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

                    A 2 Replies Last reply
                    0
                    • SGaistS SGaist

                      Always use the full path to the qmake version you want to use.

                      Note that your cross-compiles Qt will have qmake built for the host and not the target.

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

                      @SGaist

                      Good morning..

                      yes Iused the full path,

                      what ever I build and cross compiled ,i am able to run examples in vnc platform...

                      but i want to build and cross compile qt with eglfs platform,for that any links?....

                      1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Always use the full path to the qmake version you want to use.

                        Note that your cross-compiles Qt will have qmake built for the host and not the target.

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

                        @SGaist Hi,

                        I created the drectory,and created the .cpp and .pro file after that tring for qmke but getting "qmake: could not exec '/usr/lib/x86_64-Linux-gnu/qt4/bin/make': No such file or directory.."

                        mkdir sample
                        cd sample
                        vi sample.cpp
                        vi sample.pro
                        qmake /home/beagle/Qt5/bin/qmake

                        Any suggestions please?.......

                        jsulmJ 1 Reply Last reply
                        0
                        • A Asha

                          @SGaist Hi,

                          I created the drectory,and created the .cpp and .pro file after that tring for qmke but getting "qmake: could not exec '/usr/lib/x86_64-Linux-gnu/qt4/bin/make': No such file or directory.."

                          mkdir sample
                          cd sample
                          vi sample.cpp
                          vi sample.pro
                          qmake /home/beagle/Qt5/bin/qmake

                          Any suggestions please?.......

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

                          @Asha said in could not find qtplatfom plugin eglfs:

                          Any suggestions please?.......

                          "qmake /home/beagle/Qt5/bin/qmake" - what is this line supposed to be?!
                          It should be

                          /home/beagle/Qt5/bin/qmake
                          

                          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:

                            Any suggestions please?.......

                            "qmake /home/beagle/Qt5/bin/qmake" - what is this line supposed to be?!
                            It should be

                            /home/beagle/Qt5/bin/qmake
                            
                            A Offline
                            A Offline
                            Asha
                            wrote on last edited by
                            #68

                            @jsulm yes,i gave this one /home/beagle/Qt5/bin/qmake

                            After this i got the makefile,
                            the gave the make

                            after this make getting the error

                            arm-linux-gnueabihf-g++: error : .o No such file or directory
                            Makefile:141: recipe for target 'sample' failed
                            make: ***[sample] Error 1

                            when i list the files ,i got the sample.o file

                            so I copied that obj file in my board using scp,

                            And executing that sample.o file in board,
                            ./sample.o platform=vnc

                            getting the error:

                            -bash: ./sample.o: cannot execute binary file: EXec format error

                            jsulmJ 1 Reply Last reply
                            0
                            • A Asha

                              @jsulm yes,i gave this one /home/beagle/Qt5/bin/qmake

                              After this i got the makefile,
                              the gave the make

                              after this make getting the error

                              arm-linux-gnueabihf-g++: error : .o No such file or directory
                              Makefile:141: recipe for target 'sample' failed
                              make: ***[sample] Error 1

                              when i list the files ,i got the sample.o file

                              so I copied that obj file in my board using scp,

                              And executing that sample.o file in board,
                              ./sample.o platform=vnc

                              getting the error:

                              -bash: ./sample.o: cannot execute binary file: EXec format error

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

                              @Asha You can't execute *.o files!
                              Those needs to be linked together to an executable.

                              "arm-linux-gnueabihf-g++: error : .o - please delete everything in your build directory, run qmake again and then build (call make).
                              Also this error message looks strange - there should be actual file name in front of .o

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

                              A 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @Asha You can't execute *.o files!
                                Those needs to be linked together to an executable.

                                "arm-linux-gnueabihf-g++: error : .o - please delete everything in your build directory, run qmake again and then build (call make).
                                Also this error message looks strange - there should be actual file name in front of .o

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

                                @jsulm

                                Those needs to be linked together to an executable.but i am not getting the executable file...

                                getting this
                                arm-linux-gnueabihf-g++: error : .o No such file or directory
                                Makefile:141: recipe for target 'sample' failed
                                make: ***[sample] Error 1

                                .o - please delete everything in your build directory,

                                I am not understood the above line,delete everything in build directory means,I need to delete the Qt5 directory files and directories?

                                jsulmJ 1 Reply Last reply
                                0
                                • A Asha

                                  @jsulm

                                  Those needs to be linked together to an executable.but i am not getting the executable file...

                                  getting this
                                  arm-linux-gnueabihf-g++: error : .o No such file or directory
                                  Makefile:141: recipe for target 'sample' failed
                                  make: ***[sample] Error 1

                                  .o - please delete everything in your build directory,

                                  I am not understood the above line,delete everything in build directory means,I need to delete the Qt5 directory files and directories?

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

                                  @Asha said in could not find qtplatfom plugin eglfs:

                                  I need to delete the Qt5 directory files and directories?

                                  No.
                                  What I mean is: delete all build artefacts from previous builds (like *.o files, Makefiles).

                                  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 delete the Qt5 directory files and directories?

                                    No.
                                    What I mean is: delete all build artefacts from previous builds (like *.o files, Makefiles).

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

                                    @jsulm I deleted the all makefiles and .o files now tring to execute sample.o file but getting the -bash: ./sample.o:cannot execute binary file: Exec format error..

                                    "You can't execute *.o files!",Please suggest me where i need to link that .o file(I am not getting any executable file)..

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • A Asha

                                      @jsulm I deleted the all makefiles and .o files now tring to execute sample.o file but getting the -bash: ./sample.o:cannot execute binary file: Exec format error..

                                      "You can't execute *.o files!",Please suggest me where i need to link that .o file(I am not getting any executable file)..

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

                                      @Asha said in could not find qtplatfom plugin eglfs:

                                      "You can't execute *.o files!",Please suggest me where i need to link that .o file(I am not getting any executable file)..

                                      You just need to build again!
                                      "I am not getting any executable file" - yes, because your build fails.
                                      Before I wrote: please delete everything in your build directory, run qmake again and then build (call make).
                                      So again: please run qmake and build.

                                      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:

                                        "You can't execute *.o files!",Please suggest me where i need to link that .o file(I am not getting any executable file)..

                                        You just need to build again!
                                        "I am not getting any executable file" - yes, because your build fails.
                                        Before I wrote: please delete everything in your build directory, run qmake again and then build (call make).
                                        So again: please run qmake and build.

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

                                        @jsulm

                                        Hi,

                                        I done once again qmake and make,

                                        After make ,I got

                                        undefined reference to 'main'
                                        collect2: error :ld returned 1 exit status
                                        Makefile:137: recipe for target 'sample 'failed'
                                        make: *** [sample] Error 1

                                        After listing the files,the result is

                                        Makefile
                                        .qmake.stash
                                        sample.cpp
                                        sample.pro

                                        I am not getting ,what is the problem....

                                        jsulmJ 1 Reply Last reply
                                        0
                                        • A Asha

                                          @jsulm

                                          Hi,

                                          I done once again qmake and make,

                                          After make ,I got

                                          undefined reference to 'main'
                                          collect2: error :ld returned 1 exit status
                                          Makefile:137: recipe for target 'sample 'failed'
                                          make: *** [sample] Error 1

                                          After listing the files,the result is

                                          Makefile
                                          .qmake.stash
                                          sample.cpp
                                          sample.pro

                                          I am not getting ,what is the problem....

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

                                          @Asha Does your sample.cpp contain main() function?

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

                                          A 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
                                          • Unsolved