Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Disabled qt embbeded

Disabled qt embbeded

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
11 Posts 3 Posters 3.0k 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.
  • R Offline
    R Offline
    Rubis
    wrote on last edited by
    #1

    Hi,

    I had follow this tutorial for cross compile on my RPI3
    https://wiki.qt.io/RaspberryPi2EGLFS

    But I need support my soft with teamviewer,
    (vnc platform work but, when I start my app with vnc this one isn't show on screen).

    So, I had put graphic environment on my RPI, but if I CC, apps start but without using graphic environnement (teamviewer see the dekstop but no app).

    I configure like it: ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v

    I have try -no-eglfs and -opengl desktop, but don't work.

    Thank you

    jsulmJ 1 Reply Last reply
    1
    • R Rubis

      Hi,

      I had follow this tutorial for cross compile on my RPI3
      https://wiki.qt.io/RaspberryPi2EGLFS

      But I need support my soft with teamviewer,
      (vnc platform work but, when I start my app with vnc this one isn't show on screen).

      So, I had put graphic environment on my RPI, but if I CC, apps start but without using graphic environnement (teamviewer see the dekstop but no app).

      I configure like it: ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v

      I have try -no-eglfs and -opengl desktop, but don't work.

      Thank you

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

      @Rubis said in Disabled qt embbeded:

      graphic environment

      which one?

      "but if I CC" - what does this mean?

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rubis
        wrote on last edited by
        #3

        Cross Compilation

        I had try native compilation on RPI with repo package (but it's Qt4) and I need Cross Compilation,
        App compiled with native compilation work like other Window,

        But When I Cross Compile with linux host, the app start in full screen, without window manager

        jsulmJ 1 Reply Last reply
        0
        • R Rubis

          Cross Compilation

          I had try native compilation on RPI with repo package (but it's Qt4) and I need Cross Compilation,
          App compiled with native compilation work like other Window,

          But When I Cross Compile with linux host, the app start in full screen, without window manager

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

          @Rubis "But When I Cross Compile with linux host, the app start in full screen, without window manager" - that's because you did not install any window manager. You need to install one on your device.
          You wrote: "I had put graphic environment on my RPI". I then asked which one, you did not answer the question. It is clear to me that you're cross compiling, but that was not the question.

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

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Rubis
            wrote on last edited by
            #5

            I have graphic environment like LXDE, etc...I use native graphic environment of Raspberry PI "PIXEL" ,
            But when I start my app (with graphic environment) this one start in fullscreen not inside graphique environment.
            The problem, if I use teamviewer, I go remote my raspberry, I see the graphic environment but not my app , and on the screen I see my app in fullscreen.
            My question , how to integrate my cross compilate Qt application on graphic environment for see it with teamviewer

            jsulmJ 1 Reply Last reply
            0
            • R Rubis

              I have graphic environment like LXDE, etc...I use native graphic environment of Raspberry PI "PIXEL" ,
              But when I start my app (with graphic environment) this one start in fullscreen not inside graphique environment.
              The problem, if I use teamviewer, I go remote my raspberry, I see the graphic environment but not my app , and on the screen I see my app in fullscreen.
              My question , how to integrate my cross compilate Qt application on graphic environment for see it with teamviewer

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

              @Rubis Does your app use XCB backend (for X11)? How exactly do you start your app? To me it looks like you're using framebuffer instead of X11.
              Here is some information: http://doc.qt.io/qt-5/linux-requirements.html

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

              1 Reply Last reply
              1
              • R Offline
                R Offline
                Rubis
                wrote on last edited by
                #7

                For start my app, I go to executable file, and double click on it, or in cmd
                cd rootappfolder
                ./myapp

                This start app in fullscreen , but teamviewer can't see it

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rubis
                  wrote on last edited by
                  #8

                  Here configuration info
                  https://pastebin.com/kFfnuDZb

                  I need set yes
                  EGL on X11 ........................... no
                  ?

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rubis
                    wrote on last edited by
                    #9

                    No solution ?

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rubis
                      wrote on last edited by
                      #10

                      My configuration is OK,
                      For run app in window mode
                      ./MyApp -platform xcb

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        Herczig-doc
                        wrote on last edited by
                        #11

                        Did you somehow solve this vnc problem? I face with this now. I checked 50 pages but no solution so far. I added all qt5pi libs and includes into environment variables as LD_LIBRARY_PATH and QT_QPA_PLATFORM etc... I could started somehow just once but the resources as svg images did not compile into the software. I think about what if I added to qmake.conf file to QT += core gui svg and widget. Is it possible to compile it statically? I am working on wsl2 ubuntu as host and the target is raspberry 3 , with latest linaro CC.
                        Thanks in advance
                        Adam

                        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