Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-12 Thread Allan Sandfeld Jensen
On Dienstag, 13. November 2018 07:50:12 CET coroberti . wrote: > > > Il 11/11/18 17:15, coroberti . ha scritto: > > > > Following Allan's advise, here's something that is starting to work > > > > (checks omitted) > > > > > > > > QTextDocument* doc = this->text_edit_->document(); > > > > QTextBlock

Re: [Interest] Android NDK 18

2018-11-12 Thread ekke
Am 12.11.18 um 22:05 schrieb Jérôme Godbout: > > Ok thanks, this also confirm the bribe of information I found that > that 5.12 will support the clang with NDK 18. As for the previous > version I will stick with NDK 17, I’m on 5.10 and want to look at 5.11 > again (last time I checked I reverted si

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-12 Thread coroberti .
> > Il 11/11/18 17:15, coroberti . ha scritto: > > > Following Allan's advise, here's something that is starting to work > > > (checks omitted) > > > > > > QTextDocument* doc = this->text_edit_->document(); > > > QTextBlock currentBlock = doc->firstBlock(); > > > > > > while (currentBlock.isVa

Re: [Interest] QLowEnergyController always disconnected after service discovery finished

2018-11-12 Thread nus1998
Hi, Thanks for your comments, in the past several days I got some information that the peripheral needs to be bonded before communication, so I'm confused that does QLowEnergyController or any agent support it? The host needs to send a request with a passkey for bonding, and confirm with a au

[Interest] Qt3D QAbstractItemModel to watch QEntity's

2018-11-12 Thread Philip Schuchardt
I want to create a QAbstractItemModel to watches Entity that have a custom component. The custom component would have information (a list key value pairs) for the QAbstractItemModel to change visibility of Entity's via a QLayer. The QAbstractItemModel would be attached to a ListView to allow users

Re: [Interest] Android NDK 18

2018-11-12 Thread Jérôme Godbout
Ok thanks, this also confirm the bribe of information I found that that 5.12 will support the clang with NDK 18. As for the previous version I will stick with NDK 17, I'm on 5.10 and want to look at 5.11 again (last time I checked I reverted since I had issue with the Qml MouseArea and TouchArea

Re: [Interest] Android NDK 18

2018-11-12 Thread ekke
tested: Qt 5.12 Beta 4 + QtC 4.8.0 beta2-snapshot: uses clang and works fine with NDK 18b Qt 5.10.1 / Qt 5.11.2 + QtC 4.7.2: best to use NDK 16b see also discussion Android list with BogDan ekke Am 12.11.18 um 18:45 schrieb Jérôme Godbout: > > Hi, > > Just to check if I’m getting this right, I d

[Interest] Android NDK 18

2018-11-12 Thread Jérôme Godbout
Hi, Just to check if I'm getting this right, I did update my Android Studio (I'm finish with my old project and start a new one, so it's a good time to do this normally). But I'm facing an issue where my Qt Creator doesn't find any compiler. After a little digging it seem like GCC was remove fro

Re: [Interest] qmake with release config is called for debug build

2018-11-12 Thread Olivier B.
You can also use the COPIES qmake variable. It's used in a similar way as INSTALLS, but instead of being run when you 'make install', it will be run when you run 'make' of build the generated project in your IDE. It's usefull when your exe has deps that need to be beside it in the temp build dir fo

Re: [Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Thiago Macieira
On Monday, 12 November 2018 05:59:43 PST Olivier B. wrote: > It seems that in commit > https://github.com/qt/qtbase/commit/f4169a633b97b7b6e7365172cf3d38d2f16a8914 > #diff-0e5a174e7dafaad904b9cb7af5a4c89c of September 19th, an optimisation > disable in VS project generator was reverted. It initiall

Re: [Interest] qmake with release config is called for debug build

2018-11-12 Thread Jérôme Godbout
The way you wrote it, it will only copy the file when parsing the .pro/.pri files, you need to make a target and add it to the build sequence. Here's the doc example: mytarget.target = .buildfile mytarget.commands = touch $$mytarget.target mytarget.depends = mytarget2 mytarget2.commands = @echo

Re: [Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Olivier B.
It seems that in commit https://github.com/qt/qtbase/commit/f4169a633b97b7b6e7365172cf3d38d2f16a8914#diff-0e5a174e7dafaad904b9cb7af5a4c89c of September 19th, an optimisation disable in VS project generator was reverted. It initially was put to avoid the assert i get in QString copy constructor, due

Re: [Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Kai Koehne
> -Original Message- > From: Interest On Behalf > Of Olivier B. > Sent: Monday, November 12, 2018 12:33 PM > To: interest@qt-project.org > Subject: [Interest] Fatal Q_ASSERT in 5.12.0-beta4? > > I built 5.12.0-beta4 to prepare for the LTS, but qmake on my project aborts at > the assert in

[Interest] Fatal Q_ASSERT in 5.12.0-beta4?

2018-11-12 Thread Olivier B.
I built 5.12.0-beta4 to prepare for the LTS, but qmake on my project aborts at the assert in QStirng constructor. Trying to remove code to localize the problerm, i get another assert in qvector. I am running the release qmake, and i never saw them in previous (stable) versions. Are asserts enabled

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-12 Thread coroberti .
On Mon, Nov 12, 2018 at 12:41 PM Giuseppe D'Angelo via Interest wrote: > > Il 11/11/18 17:15, coroberti . ha scritto: > > Following Allan's advise, here's something that is starting to work > > (checks omitted) > > > > QTextDocument* doc = this->text_edit_->document(); > > QTextBlock currentBlock

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-12 Thread Giuseppe D'Angelo via Interest
Il 11/11/18 17:15, coroberti . ha scritto: Following Allan's advise, here's something that is starting to work (checks omitted) QTextDocument* doc = this->text_edit_->document(); QTextBlock currentBlock = doc->firstBlock(); while (currentBlock.isValid()) { QTextCursor cursor(curr