Re: [Interest] question for a blocking background thread call

2020-10-21 Thread coroberti
Dear Elvis, It's very nice. Thanks a lot. Kind regards, Robert On Wed, Oct 21, 2020 at 9:53 PM Elvis Stansvik wrote: > > Den ons 21 okt. 2020 kl 09:08 skrev coroberti : > > > > Elvis and Scott, > > Could you please provide a code sample? > > I can't show our actual code since it's proprietary,

Re: [Interest] QtPdf from Qt open source online installer

2020-10-21 Thread Andy
Yeah - it doesn't even make sense. "The intention in the marketplace was to allow open-source users to use GPL-licensed modules in LGPL-licensed Qt without GPL obligations." But Qt PDF is LGPL, right? "The reason why Qt PDF is not available in the installer for open-source users is simply that w

Re: [Interest] question for a blocking background thread call

2020-10-21 Thread Elvis Stansvik
Den ons 21 okt. 2020 kl 09:08 skrev coroberti : > > Elvis and Scott, > Could you please provide a code sample? I can't show our actual code since it's proprietary, but here's an example: example.cpp: #include #include #include #include #include #include #include class TaskButton : public

Re: [Interest] QtPdf from Qt open source online installer

2020-10-21 Thread Benjamin TERRIER
On Tue, 20 Oct 2020 at 18:19, Jason H wrote: > > > > Sent: Tuesday, October 20, 2020 at 11:54 AM > > From: "Konstantin Tokarev" > > > > Isn't this done intentionally to promote commercial licenses among open > source users? > > Never attribute to malice what can be attributed to human stupidity.

Re: [Interest] QPainter::drawRect incorrectly "rounds" corners

2020-10-21 Thread Giuseppe D'Angelo via Interest
Il 21/10/20 20:11, Matthew Woehlke ha scritto: Yes (although there's a related story there; sigh). Turns out the default corner style is... unhelpful. Ick. I still think there's a bug; the corners should at least all be the same... This might be QTBUG-25896 (cf. https://codereview.qt-project.

Re: [Interest] QPainter::drawRect incorrectly "rounds" corners

2020-10-21 Thread Matthew Woehlke
On 21/10/2020 13.16, David M. Cotter wrote: are your pixels specified in floating point? have you accounted for the half-pixel offset? Yes (although there's a related story there; sigh). Turns out the default corner style is... unhelpful. Ick. I still think there's a bug; the corners should

Re: [Interest] QPainter::drawRect incorrectly "rounds" corners

2020-10-21 Thread David M. Cotter
are your pixels specified in floating point? have you accounted for the half-pixel offset? > On Oct 21, 2020, at 10:03 AM, Matthew Woehlke > wrote: > > I'm implementing a custom widget style for an application, and running into a > strange problem with QPainter::drawRect. Namely, it is not mak

[Interest] QPainter::drawRect incorrectly "rounds" corners

2020-10-21 Thread Matthew Woehlke
I'm implementing a custom widget style for an application, and running into a strange problem with QPainter::drawRect. Namely, it is not making the corners square. This may be a problem specific to high-DPI displays and/or using a pen width more than one physical pixel. The corner *should* loo

Re: [Interest] question for a blocking background thread call

2020-10-21 Thread coroberti
Elvis and Scott, Could you please provide a code sample? Thanks, Kind regards, Robert On Wed, Oct 21, 2020 at 9:51 AM Elvis Stansvik wrote: > > Den ons 21 okt. 2020 02:39Scott Bloom skrev: >> >> Well. I 100% totally overthought this... and was able to implement this in >> about 10 lines of co