Re: [Interest] Menu causes problems on OS X

2016-05-11 Thread john
https://bugreports.qt.io/browse/QTBUG-53315 > On May 10, 2016, at 11:51 AM, John Weeks wrote: > > The very simple application posted below (it is a complete runnable example) > creates a window that puts up a menu on clicking in the window. If you select > "Open File..." it then puts up a QF

Re: [Interest] qt.labs.controls - Flickable - Pane - Label: max width problem

2016-05-11 Thread J-P Nurmi
> On 11 May 2016, at 21:41, ekke wrote: > > Qt 5.7 Beta, Android 6.0.1, BlackBerry PRIV > > qt.labs.controls, Material > > Given this (simplified) code: > > ApplicationWindow { >Flickable { >contentHeight: root.implicitHeight >anchors.fill: parent >Pane { >

Re: [Interest] What's the recommended way to put QObjects in smart pointers?

2016-05-11 Thread Nikos Chantziaras
On 10/05/16 23:47, Alejandro Exojo wrote: El Thursday 05 May 2016, Nikos Chantziaras escribió: Well, basically what I want is not having even a single 'new' or 'delete' anywhere in my code. I already achieved that with all my non-Qt projects. By now, I consider application-level code that uses

[Interest] qt.labs.controls - Flickable - Pane - Label: max width problem

2016-05-11 Thread ekke
Qt 5.7 Beta, Android 6.0.1, BlackBerry PRIV qt.labs.controls, Material Given this (simplified) code: ApplicationWindow { Flickable { contentHeight: root.implicitHeight anchors.fill: parent Pane { id: root anchors.fill: parent Column

Re: [Interest] Problems with graphics library auto-detect on Windows

2016-05-11 Thread Thiago Macieira
On quarta-feira, 11 de maio de 2016 15:08:39 PDT Neil Williams wrote: > We have also gone down the forced ANGLE route after seeing too many crashes > caused by OpenGL, crashes on app start during the dynamic detection are > particularly frustrating. Intel cards seem to be the worst offender though

Re: [Interest] iOS style menubar?

2016-05-11 Thread Jason H
Small issue with line 104, change the opacityMask anchors.fill to be row, not parent, and the corners will look more normal. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] iOS style menubar?

2016-05-11 Thread Jason H
So I got something working using GraphicalEffects: import QtQuick 2.5 import QtQuick.Window 2.2 import QtQuick.Controls 1.4 import QtGraphicalEffects 1.0 ApplicationWindow { id: root visible: true Component.onCompleted: { button1.checked = true;

Re: [Interest] Problems with graphics library auto-detect on Windows

2016-05-11 Thread Neil Williams
We have also gone down the forced ANGLE route after seeing too many crashes caused by OpenGL, crashes on app start during the dynamic detection are particularly frustrating. Intel cards seem to be the worst offender though we were seeing them from all card types. When our app crashes we upload cra

Re: [Interest] Problems with graphics library auto-detect on Windows

2016-05-11 Thread Michael R Nelson
Hi Thiago, I will create reports for those we managed to write down, and any that come about, but we will likely switch to forcing ANGLE. Thanks, Mike -Original Message- From: Interest [mailto:interest-bounces+mnelson=sutron@qt-project.org] On Behalf Of Thiago Macieira Sent: Tuesda

Re: [Interest] Clean way to define and categorize constants in QML

2016-05-11 Thread Viktória Nemkin
Hello! Thank you everyone for replying to this thread, I'm sorry for the late response. I have been fiddling with all of these for a while, and come to this solution: pragma Singleton import QtQuick 2.7 QtObject { property QtObject font : QtObject { readonly property color red:

Re: [Interest] Return null QSGNode from updatePaintNode to erase previously drawn things

2016-05-11 Thread Данил Патрушев
Ahh, I didn't realize I had to delete the paint node myself, I thought that SG would take care of it by looking at the return value of null. Anyway. Thank you so much for a quick reply! ___ Interest mailing list Interest@qt-project.org http://lists.qt-pro

Re: [Interest] Return null QSGNode from updatePaintNode to erase previously drawn things

2016-05-11 Thread Gunnar Sletta
Sounds perfectly normal :) The node you return from updatePaintNode is the visual representation of that given item, excluding that item's children. Returning null for it will remove that item from the scene (and you should delete the node since the SG no longer holds a reference to it or any o

[Interest] Return null QSGNode from updatePaintNode to erase previously drawn things

2016-05-11 Thread Данил Патрушев
Hi all. I have a quick item which does some custom drawing and has a few visible child items. At some point I want to erase all the stuff drawn by this item, which I thought I could by returning a null qsgnode from updatePaintNode, but the stuff remains visible. I have a few ideas how to work aroun

Re: [Interest] localstorage metadata via sqlite_master

2016-05-11 Thread Jesus Fernandez
On Tuesday, May 10, 2016 02:46:16 PM Kevin Mcintyre wrote: > I see that sqlite has table information via sqlite_master > > http://www.sqlite.org/faq.html#q7 > > Is this table available in Qt localstorage? Hi! I modified the sample from the documentation: To get the info you should query this a

Re: [Interest] Qt 5.6 QML on iOS: Crash on start up

2016-05-11 Thread Robert Iakobashvili
1. You were suggested to compare what picks-up cmake toolchain file with what picks-up some standard qmake. 2. Fire debugger either from QCreator or from Xcode to see where the badness. Kind regards, Robert On Wed, May 11, 2016 at 10:45 AM, NoRulez wrote: > This answer isn't much helpful.

Re: [Interest] Qt 5.6 QML on iOS: Crash on start up

2016-05-11 Thread NoRulez
This answer isn't much helpful. I use QtCreator only as the QML designer because the primary IDE is Visual Studio. I don't have QtCreator installed on every machine because the most of the machines are headless. If you would say qmake is the only great tool than you could also say "the worl