Unsolved Disabled qt embbeded
-
@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
-
@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
cd rootappfolder
./myappThis start app in fullscreen , but teamviewer can't see it
-
Here configuration info
https://pastebin.com/kFfnuDZbI 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
Adam