Cross compile dont gen QLabel and QPushbutton and Fontconfig pre-condition
-
they have other plugin but i didn't take it because i tougth that two plugin it's necessary to know if i use xcb,linuxFB or EGLFS or other. All other plugin seemeds to Qt object... Do you want the complete result or i need to check some specific plugin?
-
You should check for the entries that start with
loaded library
, you'll have the information you seek. -
if you are not root you need to add sudo :P tanks i try this
@CrazyCreepy said in Cross compile dont gen QLabel and QPushbutton and Fontconfig pre-condition:
if you are not root you need to add sudo :P tanks i try this
Sure. But the question was: why do you need to start your app as root?
-
thats all of load library i have found.
loaded library "/usr/local/qt5/plugins/platforms/libqeglfs.so"
loaded library "/usr/local/qt5/plugins/egldeviceintegrations/libqeglfs-brcm-integration.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqgif.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqicns.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqico.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqjpeg.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqsvg.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqtga.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqtiff.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqwbmp.so"
loaded library "/usr/local/qt5/plugins/imageformats/libqwebp.so"so with this it's seem i use the eglfs backend. Now i can't tell if it's normal or not...
and jslum in ancien projet on a raspberry pi i always need to need to be root to start a application ... so i tought it's always like this but it seems that isn't necessary.
-
Ok, so it means no window manager.
Can you post an image of what you are getting exactly on screen when running your application ?
-
Ok, so it means no window manager.
Can you post an image of what you are getting exactly on screen when running your application ?
@SGaist this is what i get on my screen:
-
Ok, so it means no window manager.
Can you post an image of what you are getting exactly on screen when running your application ?
@SGaist so what this is mean?
-
Firat thing, you won't have any window decoration. The EGLFS plugin only works in full screen mode.
Can you test the LinuxFB plugin ?
-
I have some new. I finally have the push button on my raspberry pi... but the label still missing. Some one give me a program that work correctly on another raspberry pi, but I have the same issue so think it's missing file on my rasp... but i don't understand why i use "apt-get install qt5-default" to install the lib....
how i do that? also all programme i run in full screen mod.
-
How are you positioning them ?
-
@SGaist positionning them? who is them? I'm confuse... and i don't know how i can test the linuxFB plugin...
-
@SGaist positionning them? who is them? I'm confuse... and i don't know how i can test the linuxFB plugin...
@CrazyCreepy How do you position the widgets (label and button)? Do you use layouts?
-
@CrazyCreepy How do you position the widgets (label and button)? Do you use layouts?
@jsulm no i juste use Qdesign and drag and drop.
-
Then you should put them in a layout in your main widget.
-
@SGaist I never do that on windows and it's work.Also, the text on the pushboutton not appear and if i add a another widget like a jauge the pourcent doesn't appear... i try to uninstall qt5-default package and reinstall it, I have also upgrate all package, but it's not work.
-
@SGaist I run my program with this commande ./test -platform linuxfb. The result is i have some graphique bug like 2 curso one white and the second is black.If i pass the cursor on windows programs the icons of my task bar appear and the text is always missing. but it's not in full screen.
look the picture:
-
Is it me or are you trying to run an application on the framebuffer while also having Xorg running ?
-
Is it me or are you trying to run an application on the framebuffer while also having Xorg running ?
@SGaist it's possible... i just follow a tutoriel to get a screenshot and they said enter startx and afther when i open my terminal i have lxterminal on it. i though it's normal and i didn't care about it. but if i run an application in the normale terminale it have the same result of the graphic bug.
-
I have finally solved the problem! to do that i take a another micro sd card with raspbian and i install qt5-default.
-
Great :)