Re: [Interest] QML bindings and redundant property changes

2015-04-01 Thread Giuseppe D'Angelo
Sorry, email sent accidentally. Elaborating: if "a" changes, the engine *might* do a topological sorting of a's dependencies to minimize the number of reevaluations. But I would never ever rely on such a thing being present and consider it an implementation detail. On 2 April 2015 at 00:21, Giusep

Re: [Interest] QML bindings and redundant property changes

2015-04-01 Thread Giuseppe D'Angelo
On 1 April 2015 at 19:11, Preet wrote: > > I would have expected two invocations of onPerimeterChanged, but it gets > called only once. The QML engine avoids the redundant change and I'm curious > as to how this is done. http://en.wikipedia.org/wiki/Topological_sorting -- Giuseppe D'Angelo

Re: [Interest] QML bindings and redundant property changes

2015-04-01 Thread Daniel França
Qt 5.4? Em qui, 2 de abr de 2015 às 00:03, Preet escreveu: > On Wed, Apr 1, 2015 at 4:57 PM, Daniel França > wrote: > >> For me even your second example calls onPerimeterChanged only once. >> It seems that Qt is smart enough to only notify once when it's evalating >> an expression (that's actua

Re: [Interest] QML bindings and redundant property changes

2015-04-01 Thread Preet
On Wed, Apr 1, 2015 at 4:57 PM, Daniel França wrote: > For me even your second example calls onPerimeterChanged only once. > It seems that Qt is smart enough to only notify once when it's evalating > an expression (that's actually a js function). > That's strange. For me it results in onPerimete

Re: [Interest] Code Review For Correcting Encoding Errors

2015-04-01 Thread Thiago Macieira
On Wednesday 01 April 2015 17:07:55 Kyle Neal wrote: > Here is the implementation of my valid utf8 checker > > bool Parser::isUTF8( std::string string ) > { > QString utf8str = QString::fromUtf8( string.c_str() ); > > for ( int i = 0; i < utf8str.length(); i++ ) { > if ( utf8str

[Interest] Code Review For Correcting Encoding Errors

2015-04-01 Thread Kyle Neal
Hey guys, first of all, I've been an active member in #qt and I appreciate all the help I've received from the guys in there. I started Qt a couple of months ago for a new project and I could not have got this far without everyone's help. I am very grateful. I'm hoping for a little bit of a code r

Re: [Interest] QML bindings and redundant property changes

2015-04-01 Thread Daniel França
For me even your second example calls onPerimeterChanged only once. It seems that Qt is smart enough to only notify once when it's evalating an expression (that's actually a js function). Em qua, 1 de abr de 2015 às 19:12, Preet escreveu: > Hi all > > I want to understand how redundant QML prop

Re: [Interest] QVariantMap: constEnd() not equal to end()?

2015-04-01 Thread André Pönitz
On Wed, Apr 01, 2015 at 10:35:20AM +1100, Hamish Moffatt wrote: > On 25/03/15 05:16, Thiago Macieira wrote: > > On Tuesday 24 March 2015 17:29:39 Gunnar Roth wrote: > >> Does anybody know why QT_STRICT_ITERATORS is not standard? > > First, because it breaks existing, legitimate code that mixes cons

[Interest] Error: Gradle version 1.10 is required. Current version is 2.2.1

2015-04-01 Thread Jason H
I'm not sure what is going on. I just connected a Nexus 6 and tried to deploy to it. This is an existing project that worked on my Note 2. I'm not sure if this is Qt, Creator, androiddeployqt or what. Help? Error follows Downloading https://services.gradle.org/distributions/gradle-2.2.1-all.zi

Re: [Interest] QOpenGLWidget and text

2015-04-01 Thread Matthew Woehlke
On 2015-04-01 10:28, Giuseppe D'Angelo wrote: > Il 01/04/2015 15:42, Matthew Woehlke ha scritto: >> If I go the route of pre-rendering the text into a QImage, what is the >> easiest way, using only the modern QOpenGL classes (since there is no >> longer bindTexture either), to get that into an Open

[Interest] QML bindings and redundant property changes

2015-04-01 Thread Preet
Hi all I want to understand how redundant QML property binding evaluations are mitigated. Does anyone have a high level idea of how this might be done? Consider the following case of properties describing a triangle: Item { property real a: 2; property real b: 3; property real c: Math.s

Re: [Interest] Error from ".obj/release-shared-emb-arm/qfutureinterface.o" when crosscompiling QT4.4.3 for arm

2015-04-01 Thread Thiago Macieira
On Tuesday 31 March 2015 12:13:19 Alexis Guilloteau wrote: > I am working on a sc6000x board (at91sam9261 micro, linux 2.6.24) and i am > trying to compile qt use it with qt creator to make application for my > board. Qt 4.4.3 is way, way too old. Upgrade. -- Thiago Macieira - thiago.macieira (

Re: [Interest] QT QML Page Navigation

2015-04-01 Thread Shantanu Tushar
I think StackView is what you are looking for http://doc.qt.io/qt-5/qml-qtquick-controls-stackview.html On Thu, Mar 26, 2015 at 3:11 PM, Chandralatha Harish < chandralath...@gmail.com> wrote: > Hi > > Can somehow help me with the right way of navigation between screens. > > Screen1<---> Screen 2

Re: [Interest] QOpenGLWidget and text

2015-04-01 Thread Yves Bailly
-Original Message- Sent: Wednesday, April 01, 2015 3:42 PM To: interest@qt-project.org Subject: [Interest] QOpenGLWidget and text > I've been working on porting a Qt4 GL application to Qt5, using the new > QOpenGL classes instead of the old and deprecated QGL classes. > Some of it was re

Re: [Interest] QOpenGLWidget and text

2015-04-01 Thread Giuseppe D'Angelo
Il 01/04/2015 15:42, Matthew Woehlke ha scritto: If I go the route of pre-rendering the text into a QImage, what is the easiest way, using only the modern QOpenGL classes (since there is no longer bindTexture either), to get that into an OpenGL texture? A rough game plan is this: * Create a QI

[Interest] The calling thread must be STA, because many UI components require this.

2015-04-01 Thread prasad v n
hi, I wanted to host a WPF user control in my QT application. So I created a CLI dll that returns the HWND of the user control. It creates an HwndSource for the WPF control and returns the handle of that HWND source. I added reference to this CLI dll from my QT application and tried to get the HWN

Re: [Interest] share opengl resource

2015-04-01 Thread Matthew Woehlke
On 2015-03-31 11:16, Alessio Mochi wrote: > Actually I have two or three different rendering context (create multiple > QGLWidget). > Your solution for qt 4.7 is right for share resource (I would like share vbo > between different rendering context)? > Can you link a qt example or documentation?

[Interest] Error from ".obj/release-shared-emb-arm/qfutureinterface.o" when crosscompiling QT4.4.3 for arm

2015-04-01 Thread Alexis Guilloteau
Hello, I am working on a sc6000x board (at91sam9261 micro, linux 2.6.24) and i am trying to compile qt use it with qt creator to make application for my board. When configuring qt i have no error but when i "make" it i have the error : g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -pi

[Interest] QHexView - widget for display hex data

2015-04-01 Thread Victor Anjin
Hey! I am pleased to announce my custom widget for displaying binary data in traditional hex-editor style. QHexView can be useful if you want to show hex data in human-friendly form. Build instructions, widget screenshot and example are available on project homepage. Comments and questions are wel

[Interest] QT QML Page Navigation

2015-04-01 Thread Chandralatha Harish
Hi Can somehow help me with the right way of navigation between screens. Screen1<---> Screen 2 <---> Screen3 and so on Are there any samples available? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/inter

[Interest] FW: Need help in generating ActiveQt Libraries...

2015-04-01 Thread Kammar, Mahesh
hi Friedemann, Thanks for the information, adding QT += axcontainer to my .pro solved the issue and I can use the ActiveQt interfaces for Example: SetControl without any issues. I was just wondering, if above trick solves the problem, then why Qt documentation suggests to build ActiveQt static lib

Re: [Interest] [Development] share opengl resource

2015-04-01 Thread Alessio Mochi
Hello Matthew, thanks for reply. Actually I have two or three different rendering context (create multiple QGLWidget). Your solution for qt 4.7 is right for share resource (I would like share vbo between different rendering context)? Can you link a qt example or documentation? Thanks in a

[Interest] QOpenGLWidget and text

2015-04-01 Thread Matthew Woehlke
I've been working on porting a Qt4 GL application to Qt5, using the new QOpenGL classes instead of the old and deprecated QGL classes. Some of it was really easy. Some of it is requiring MASSIVE amounts of work. I refer specifically to the removal of the text rendering methods. Since these are re

[Interest] qml flickable on wince does no longer flick in qt 5.5 git

2015-04-01 Thread Gunnar Roth
Hello, up to qt 5.4.1 i  could rather nicely flick a flickable on our single touch device. but using recent qt 5.5 no flicking but just move is possible anymore. Anybody got a clue what happening here?   I read http://www.kdab.com/current-state-windows-embedded-compactwec-platform-support-qt/ a

Re: [Interest] Entity sub-tree opacity in Quick3D 2.0

2015-04-01 Thread Sean Harmer
Hi, On Wednesday 01 Apr 2015 00:14:28 Unai IRIGOYEN wrote: > Hi, > I have been playing with the upcoming Qt3D those days and especially the QML > APIs. > I was wondering if there is a means of changing the opacity of an entity and > all children at the same time (same behavior as in QtQuick). At t