Disabled qt embbeded

  • Hi,

    I had follow this tutorial for cross compile on my RPI3

    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

  • Lifetime Qt Champion

    @Rubis said in Disabled qt embbeded:

    graphic environment

    which one?

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

  • 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

  • Lifetime Qt Champion

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

  • 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

  • Lifetime Qt Champion

    @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

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

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

  • Here configuration info

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

  • No solution ?

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

  • 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

Log in to reply