Build Qt creator 3.4 on pi 2 [RESOLVED]
-
today i have make another progress ! i downloaded qt creator 3.4.1 (before i take master branch). Replace botan.c and header and after many hours hours qt creator build successful !!!
New problem, now when i launch qtcreator since terminal i have this message :pi@raspberrypi ~/opt/qt-creator-opensource-src-3.4.1/bin $ ./qtcreator
[9;0]Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
No tool chain set from kit "Desktop".
No tool chain set from kit "Desktop".
EGLFS: OpenGL windows cannot be mixed with others.
AbortedSame question, do you have a solution ? Do i need to use qtwayland to use qt app (like qt creator)
-
Are you running an X server on your raspberry pi 2 ?
-
I don't know, i had just downloaded the last debian image last week and no modification for the desktop ! If i understand i can't use more than one windows with eglfs, and it must full screen ? If i want to use X11, i need xcb plugin but i don't know if i have it, and there is no opengl support on it ? Perhaps the better solution is to use wayland ? Do you know lxQt (but for the moment no support for arm platform ...) ?
-
If you are running a desktop on your Pi 2 then you're likely running an X server. For the eglfs part, you can only have one top level window and the first one is forced to be fullscreen, then you can have several non-toplevel widgets. What you can't have is several GUI application running at the same time.
I can't tell if you have the xcb plugin, I don't know the configure options you used.
It depends on your application needs.
I've heard of it but it's been some times since I last read about it
-
Thank's for your help. i also tried to launch qtcreator with no desktop start (startx) at the login but i have the same error ... How i can set QT_QPA_EGLFS_PHYSICAL_WIDTH and Height ? For this error : No tool chain set from kit "Desktop", it's important to correct it or it's just a warning that i can resolve later ?
-
export QT_QPA_EGLFS_PHYSICAL_WIDTH=XXX
The no tool chain error means that either you don't have a compiler installed, or Qt Creator didn't find one, in any case, it doesn't influence the startup of Qt Creator.
-
-
You can disable the welcome plugin when starting Qt Creator
-