Re: [Interest] QTreeView width with scroll bar

2012-11-07 Thread Alex Strickland
On 2012/11/08 09:23 AM, Alex Strickland wrote: > However, when the QTreeView gets long enough to automatically add a > scroll bar - my calculations don't work and one of the check box columns > is obscured by the scrollbar. How can I check if the scroll bar is > activated and, if so, obtain it's w

[Interest] QTreeView width with scroll bar

2012-11-07 Thread Alex Strickland
Hi I have a QTreeView with a couple of check boxes on the right hand side. I use resizeEvent to make sure that the check boxes are kept on the right by using width() and columnWidth() to get the first column to the correct width to make everything fit. However, when the QTreeView gets long eno

[Interest] debug QtService

2012-11-07 Thread Sergey
Hello, all I'm developing windows web service using QtService. To debug it, I launch program in VS2005 debugger with -e argument. It starts in console mode and handles requests. How can I emulate stopping the service, so that all code, which is working usually when windows stops the service? I w

[Interest] Updating a model re-add everything in QML. How can i prevent that?

2012-11-07 Thread Mark
Hi, I have a models in C++ (a QStringList actually). In QML i'm displaying it using a repeater. Now when i remove some items from the end of the list (which happens quite a few times) then the entire list seems to go through the QML repeater again. What i want to do is put a QStringList in a QML

Re: [Interest] Global QML slot?

2012-11-07 Thread Mark
On Wed, Nov 7, 2012 at 11:56 PM, Nicolás Ulrich wrote: > I'm still new at QML but... can't you do something like this? > (assuming MyRectangle is declared on other file, as you said) > > Row { > Repeater { > signal someOtherEvent(int number) > model: 10 >

Re: [Interest] Global QML slot?

2012-11-07 Thread Nicolás Ulrich
I'm still new at QML but... can't you do something like this? (assuming MyRectangle is declared on other file, as you said) Row { Repeater { signal someOtherEvent(int number) model: 10 delegate: MyRectangle { onSomeEvent: { pare

[Interest] Global QML slot?

2012-11-07 Thread Mark
Hi, I have this case where i'm emitting a signal inside a repetitive structure like so: Row { Repeater { model: 10 delegate: MyRectangle { signal someEvent(int number) color: "red" MouseArea {

Re: [Interest] compiling qt with eglfs

2012-11-07 Thread Thomas Senyk
On Wed, November 07, 2012 06:16:39 PM pritam.ghang...@gmail.com wrote: > On Wed, Nov 7, 2012 at 5:29 PM, Thomas Senyk wrote: > > On Wed, November 07, 2012 05:29:00 PM pritam.ghang...@gmail.com wrote: > > > Hi > > > > > > I was trying to get qt working with eglfs + opengles. > > > I am able to com

Re: [Interest] Configure Qt5

2012-11-07 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf > Of K. Frank > Sent: Wednesday, November 07, 2012 4:46 PM > To: Qt-interest > Subject: Re: [Interest] Configure Qt5 > > [...] > So I

Re: [Interest] Configure Qt5

2012-11-07 Thread K. Frank
Hello Graham (and Thiago)! On Wed, Nov 7, 2012 at 5:55 AM, Thiago Macieira wrote: > On quarta-feira, 7 de novembro de 2012 09.21.55, Graham Labdon wrote: >> Hi >> I downloaded Qt5 and ran the following configure command >> configure -platform win32-g++ >> This gave me the following error >> >> cc

Re: [Interest] building qt5

2012-11-07 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf > Of Graham Labdon > Sent: Wednesday, November 07, 2012 2:46 PM > To: Interest@qt-project.org > Subject: [Interest] building qt5 > > H

[Interest] building qt5

2012-11-07 Thread Graham Labdon
Hi I am getting the following when building Qt 5 process_begin: CreateProcess(NULL, "C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)Utilities\bin\x86\fxc.exe" /nologo /E standardvs /T vs_2_0 /Fh shaders\standardvs.h ..\..\..\3rdparty\angle\src\libGLESv2\shaders\Blit.vs, ...) failed

Re: [Interest] compiling qt with eglfs

2012-11-07 Thread pritam.ghang...@gmail.com
On Wed, Nov 7, 2012 at 5:29 PM, Thomas Senyk wrote: > On Wed, November 07, 2012 05:29:00 PM pritam.ghang...@gmail.com wrote: > > Hi > > > > I was trying to get qt working with eglfs + opengles. > > I am able to compile but when I try to run hellogl_es2. I get this. > > > > ./hellogl_es2 -qws > > N

Re: [Interest] compiling qt with eglfs

2012-11-07 Thread Thomas Senyk
On Wed, November 07, 2012 05:29:00 PM pritam.ghang...@gmail.com wrote: > Hi > > I was trying to get qt working with eglfs + opengles. > I am able to compile but when I try to run hellogl_es2. I get this. > > ./hellogl_es2 -qws No no no! :) No! :) I can't stretch that enough: eglfs doesn't suppor

[Interest] compiling qt with eglfs

2012-11-07 Thread pritam.ghang...@gmail.com
Hi I was trying to get qt working with eglfs + opengles. I am able to compile but when I try to run hellogl_es2. I get this. ./hellogl_es2 -qws QScreenLinuxFb::connect: No such file or directory Error opening framebuffer device /dev/fb0 : driver cannot connect Aborted I don't understand why it n

Re: [Interest] Configure Qt5

2012-11-07 Thread Thiago Macieira
On quarta-feira, 7 de novembro de 2012 09.21.55, Graham Labdon wrote: > Hi > I downloaded Qt5 and ran the following configure command > configure -platform win32-g++ > This gave me the following error > > cc1plus.exe: error: unrecognized command line option > "-fno-keep-inline-dllexport" mingw32-m

[Interest] Configure Qt5

2012-11-07 Thread Graham Labdon
Hi I downloaded Qt5 and ran the following configure command configure -platform win32-g++ This gave me the following error cc1plus.exe: error: unrecognized command line option "-fno-keep-inline-dllexport" mingw32-make: *** [tmp/obj/debug_shared/arch.o] Error 1 What can I do to fix this? Thanks