Re: [Interest] Why is this a binding loop?

2016-11-15 Thread Nuno Santos
Binding loops sucks, but with some refactoring we always get to an alternative. Try this: Rectangle { width: parent.width height: label.paintedHeight*2 Text { id: label text: “title anchors.centerIn: parent }

Re: [Interest] Why is this a binding loop?

2016-11-15 Thread Elvis Stansvik
Den 15 nov. 2016 11:15 em skrev "Jason H" : > > Rectangle { > width: parent.width > height: childrenRect.height * 2 > Text { > text: "title" > anchors.centerIn: parent > } > } > > 'QML Rectangle: Binding loop detected for property "hei

Re: [Interest] Send an email with attachment

2016-11-15 Thread Charles-Élie G
Yes it's me :-) I just hope to find another solution here. ;-) Envoyé de mon Galaxy S6 Orange Message d'origine De : Konstantin Shegunov Date : 16/11/2016 07:34 (GMT+01:00) À : Charles-Elie Gentil Cc : Interests Qt Objet : Re: [Interest] Send an email with attachment

Re: [Interest] Send an email with attachment

2016-11-15 Thread Konstantin Shegunov
On Wed, Nov 16, 2016 at 8:01 AM, Charles-Elie Gentil wrote: > > Since my application, I want to send an email with an attachment. I know > this is impossible with "mailto". > For reference, here's what had been discussed in the forum: https://forum.qt.io/topic/73307/send-an-email-with-attachment

[Interest] Send an email with attachment

2016-11-15 Thread Charles-Elie Gentil
Hello, Since my application, I want to send an email with an attachment. I know this is impossible with "mailto". In fact, I would like to do like the "Send by mail" options of Word, LibreOffice or Calligra. So I looked at the Calligra source code and it seems to use the ShellExecuteW command

Re: [Interest] The Android virtual keyboard pushes my main window off the screen

2016-11-15 Thread Nikos Chantziaras
On 11/14/2016 08:51 PM, Jason H wrote: How can I keep that from happening? The application becomes useless if you can't see it on the screen :-/ It seems there's something I need to do when the device changes orientation? But I don't know what. I'm having similar, but different issues. I'm goi

Re: [Interest] What don't you like about Qt?

2016-11-15 Thread Jean-Michaël Celerier
On Tue, Nov 15, 2016 at 12:32 PM, Roland Hughes wrote: > This was old school grind it out trouble shooting which is not allowed > under Agile. My two cents: "$FOO is not allowed" *screams* "not agile". ___ Interest mailing list Interest@qt-project.org

[Interest] Why is this a binding loop?

2016-11-15 Thread Jason H
Rectangle { width: parent.width height: childrenRect.height * 2 Text { text: "title" anchors.centerIn: parent } } 'QML Rectangle: Binding loop detected for property "height"' I think that computation should be possible without creati

Re: [Interest] QMenu size

2016-11-15 Thread Joshua Grauman
Bo, Thanks! These are great ideas. It's not about making it work like another system, but it is a unique requirement having to do with recording the screen... If you don't mind, could you clarify a bit what you mean with a couple of your suggestions? - Work with the width for height trick

Re: [Interest] Issue compiling qt 5.6.2

2016-11-15 Thread Etienne Sandré-Chardonnal
Done! Bug tracker link : https://bugreports.qt.io/browse/QTBUG-57148 2016-10-31 8:32 GMT+01:00 Kai Koehne : > Please file a bug about this. Also include the full build log (or at least > the part > of the log that makes it obvious in which module/directory the build > fails). > > Regards > > Kai

Re: [Interest] QMenu size

2016-11-15 Thread Bo Thorsen
Den 08-11-2016 kl. 23:05 skrev Joshua Grauman: Hello all, I am wondering if there is a way to customize the size of a QMenu used as a context menu. I have it so that when I right click, a popup menu comes up. But I would like it so the QMenu doesn't ever go outside of the window it is clicked in

Re: [Interest] What don't you like about Qt?

2016-11-15 Thread Roland Hughes
This would be the second 2 fatal flaws with Agile. Developer's choice 1 and done mentality/management. Actually that is better than some of the Agile groups at equipment manufacturers, some of them demand their developers commit 3 completed stories per day. Big ugly Ogre on steroids type bug

Re: [Interest] [5.8] how to use qml caching?

2016-11-15 Thread Tim Blechmann
>> * is it possible to warm up the cache explicitly without >> instantiating the qml files completely? e.g. i'd like to create the >> cache for all qml files that will be instantiated during the >> lifetime of the program at startup time in order to hide latencies >> when they are actually loaded.

Re: [Interest] [5.8] how to use qml caching?

2016-11-15 Thread Gunnar Roth
Hi Tm. > so, just to rephrase this with my own words: > > * .qmlc and .jsc are not generated at compile-time and not shipped > inside the qrc file, but are created at run-time Yes > > * instead they are created when running the application for the first time. > Yes > * it does not improve the i