Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread Thiago Macieira
On Wednesday, 19 December 2018 02:06:08 PST René J. V. Bertin wrote: > Thiago Macieira wrote: > > where that is supported. Just get the file descriptor from QFile, do the > > ioctl/fcntl/whatever that turns the feature on and write the correct byte > > stream. > > You realise that you're

Re: [Interest] Interest Digest, Vol 87, Issue 24

2018-12-19 Thread Ian Trick
On Tue, Dec 18, 2018 at 6:15 AM Roland Hughes wrote: > > QML is __NOT__ modern. modern: Pertaining to a current or recent time and style; not ancient. https://en.wiktionary.org/wiki/modern 樂 > >> On 17 Dec 2018, at 16:44, Fabrice Salvaire > >> wrote: > >> > >> Dear Qt users, > >> > >> Is

Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread René J . V . Bertin
Thiago Macieira wrote: > Transparent compression is fine. But that's only because there is also transparent decompression, otherwise you'd be in exactly the same boat. Ultimately I don't think it matters where the compression takes place, in filesystem code or in userland code. As long as

Re: [Interest] Segmentation fault on exiting Qt event loop

2018-12-19 Thread Thiago Macieira
On Wednesday, 19 December 2018 01:51:24 PST Ramakanth Kesireddy wrote: > Yes QApplication destructor is invoked last..Does it makes sense to use > deleteLater() in the widget destructors instead of existing delete if it > could be cleaned up as part of qApp-quit()? Our guessing here won't help.

Re: [Interest] need a QT 5.12.0 MinGW 32bit release for windows in all the upcoming QT versions

2018-12-19 Thread Alex Blasche
> -Original Message- > From: Interest On Behalf Of Henry Skoglund > Sent: Tuesday, 18 December 2018 19:26 > >> I think the point is not to switch, but to provide an additional > >> build. I'm going to guess the requestors' argument is going to be > >> that they still need to ship 32-bit

[Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-19 Thread Tom Isaacson
Is it possible to use QMetaEnum::keyCount() to initialise an array? Something like: const QMetaEnum metaEnum = QMetaEnum::fromType(); int MyArray[metaEnum.keyCount()]; It seems like Q_ENUM declares functions with Q_DECL_CONSTEXPR in C++11 but I can't figure out how to get this to work.

Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread Thiago Macieira
On Wednesday, 19 December 2018 14:00:50 PST René J. V. Bertin wrote: > Thiago Macieira wrote: > > Transparent compression is fine. > > But that's only because there is also transparent decompression, otherwise > you'd be in exactly the same boat. Correct. > Ultimately I don't think it matters

Re: [Interest] QtOpcUa 5.12.0 build

2018-12-19 Thread Maurice Kalinowski
Hi, As Thiago said, the config.log should reveal some more insights. Also for 5.12 we moved to a later version of Open62541 as there were files being moved around. Please note, that the very latest open62541 again changed the structure of the include directory, a patch for that is pending.

Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread René J . V . Bertin
Marian Beermann wrote: > The easiest way is probably a QIODevice wrapper implementing the HFS > compression. > Although I'm honestly surprised someone designed an > interface like this. "Neither smart nor good" might be a ML-friendly way > of putting it. What interface? The compression stage

Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread René J . V . Bertin
Thiago Macieira wrote: > where that is supported. Just get the file descriptor from QFile, do the > ioctl/fcntl/whatever that turns the feature on and write the correct byte > stream. You realise that you're basically saying not to use QFile at all in this application (there are cheaper ways to

Re: [Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-19 Thread Konstantin Shegunov
On Wed, Dec 19, 2018 at 11:22 AM Tom Isaacson wrote: > Is it possible to use QMetaEnum::keyCount() to initialise an array? Something > like: > > const QMetaEnum metaEnum = QMetaEnum::fromType(); > int MyArray[metaEnum.keyCount()]; > const QMetaEnum metaEnum = QMetaEnum::fromType();

Re: [Interest] Segmentation fault on exiting Qt event loop

2018-12-19 Thread Ramakanth Kesireddy
Yes QApplication destructor is invoked last..Does it makes sense to use deleteLater() in the widget destructors instead of existing delete if it could be cleaned up as part of qApp-quit()? On Wed, 19 Dec, 2018, 12:03 Konstantin Shegunov On Tue, Dec 18, 2018 at 8:25 AM Ramakanth Kesireddy >

Re: [Interest] QFile subclass that does HFS compression?

2018-12-19 Thread Marian Beermann
The easiest way is probably a QIODevice wrapper implementing the HFS compression. Although I'm honestly surprised someone designed an interface like this. "Neither smart nor good" might be a ML-friendly way of putting it. Cheers, Marian Am 19.12.18 um 11:06 schrieb René J. V. Bertin: > Thiago

Re: [Interest] Qt3D How to draw 2D-Text always facing the Camera

2018-12-19 Thread Volker Enderlein
The number of Text2D elements is not known in advance and may differ. It's a simulation environment, where some textual information is added to a fairly high number of elements. To avoid the data management for different kinds of entities my first idea was to create a specialized Text2d  entity

Re: [Interest] [Qt3D][Android] Weird different performance on almost same class GPUs

2018-12-19 Thread Paul Lemire via Interest
Hi Oleg, Could you specify the screen resolutions of your phones as well please? (I suspect they are lower than the tablet) From what you are describing (moving further/nearer/multisampling) it seems you are having fragment shader performance limitations. You didn't specify what the benchmarks

Re: [Interest] need a QT 5.12.0 MinGW 32bit release for windows in all the upcoming QT versions

2018-12-19 Thread Markus Maier
Am Mo., 17. Dez. 2018 um 08:37 Uhr schrieb Amr Kamal : > when Downloading the last version of QT 5.12.0 it only provides MinGW 64bit > for windows which makes some problem with previous projects that used 32bit > version especially if there is any kind of third-party library, at the same >

Re: [Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-19 Thread Nikos Chantziaras
On 19/12/2018 11:09, Tom Isaacson wrote: Is it possible to use QMetaEnum::keyCount() to initialise an array? Something like:     const QMetaEnum metaEnum = QMetaEnum::fromType();     int MyArray[metaEnum.keyCount()]; It seems like Q_ENUM declares functions with Q_DECL_CONSTEXPR in C++11

Re: [Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-19 Thread Nikos Chantziaras
On 19/12/2018 11:37, Konstantin Shegunov wrote: On Wed, Dec 19, 2018 at 11:22 AM Tom Isaacson > wrote: Is it possible to use QMetaEnum::keyCount() to initialise an array? Something like:     const QMetaEnum metaEnum = QMetaEnum::fromType();    

Re: [Interest] Qt3D How to draw 2D-Text always facing the Camera

2018-12-19 Thread david crémoux
Then I would stay with the first solution I proposed, it will be more flexible in your case: regular text2dentity with custom frame graph branch and custom camera. There is just one thing to be aware about the text2dentity, the entity doesn't do the rendering itself: it contains another