rambo-mmh
Posts: 1
Joined: Sun Dec 23, 2012 1:03 am

This plugin does not support propagateSizeHints()

Sun Dec 23, 2012 6:51 am

I have already followed the tutorial(http://www.qt-project.org/wiki/Raspberr ... ners_Guide) to cross-compile qt5. And I wrote a simple "helloworld" qt5 application in the qtcreator on my ubuntu12.10 host. Then I deployed it through the qtcreator deployment tool. Everything looks like well! But when I ran it on my raspi, there was only a full screen panel without the menu and window border. In the terminal, I got a message: This plugin does not support propagateSizeHints().
Please give me some help! Thank you very much!

StepanKuzmin
Posts: 1
Joined: Sun Mar 31, 2013 9:13 am

Re: This plugin does not support propagateSizeHints()

Sun Mar 31, 2013 9:15 am

I have the same problem. Is there any solutions?

User avatar
topguy
Posts: 3765
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: This plugin does not support propagateSizeHints()

Sun Mar 31, 2013 2:35 pm

That is how Qt5 works on the Pi by following the most common guides. Your program will by default use the EGLFS backend and render to the whole screen. It will basically behave more like a phone-app than a desktop-application. But your app will have proper hw-acceleration.

Qt5 supports several rendering backends and they are selected with the "-platform" parameter.

You can try "helloworld -platform xcb" and that might render to your X-desktop. If the xcb plugin doesn't exist you will get a list of available platforms you can try.

This forum post has some additional information:
http://qt-project.org/forums/viewthread/10466

Return to “Graphics programming”

Who is online

Users browsing this forum: No registered users and 1 guest