QFont::setPixelSize: Pixel size <= 0 (-1)

Development on core packages and the distribution goes on in here.

QFont::setPixelSize: Pixel size <= 0 (-1)

Postby jliew » Mon Sep 05, 2016 1:26 pm

Hi I'm a newbie for Arch Linux and Raspberry Pi. All these are new to me. Hope I post my question at the right place. I tried to ask this at the various place including Qt forums, still have no response able to help me for some reason :( .

I have write a very basic qt application,

$this->bbcode_second_pass_code('', '
QWebView view;
view.load(QUrl("https://www.google.co.uk/"));
view.show();
')


When I'm run this application on my Raspberry Pi, I have some error message,

$this->bbcode_second_pass_quote('', '
')QFont::setPixelSize: Pixel size <= 0 (-1)
QFont::setPixelSize: Pixel size <= 0 (-1)
QFont::setPixelSize: Pixel size <= 0 (-1)


My Raspeberry Pi is running on Arch Linux and it is using Qt 5.5. And I don't need any desktop environment on my Pi, so there's no Xorg is install on my Pi. What I need to do is, when the Pi is boot up, my application will straight away boot up automatically.

Is that the reason my Pi doesn't have Xorg and my application is throwing the error?

thanks.

Regards,
jenny
jliew
 
Posts: 2
Joined: Fri Sep 02, 2016 11:58 am

Re: QFont::setPixelSize: Pixel size <= 0 (-1)

Postby WarheadsSE » Tue Sep 06, 2016 5:57 pm

Everything I can find in regards to this is that it is an innocuous warning.

Also, it seems you have not defined any window dimensions at all.. is that on purpose?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 5 guests