Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Disabled qt embbeded
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.
"but if I CC" - what does this mean?
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
@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
@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
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