Re: [Interest] mapToGlobal and mapToLocal

2013-09-17 Thread Mitchell Verter
The first code is: if (button->geometry().contains( button->mapFromGlobal( QPoint(kinect_x, kinect_y This is failing in the nav bar. I made a mistake when I cut and pasted to this email. No error in the code though On Tue, Sep 17, 2013 at 4:47 PM, Mitchell Verter wrote: > I have been ha

[Interest] mapToGlobal and mapToLocal

2013-09-17 Thread Mitchell Verter
I have been having issues using mapToLocal and mapToLocal I am wondering whether there are issues with using these functions within laidout components? Laidout within the brower is a navigation bar; laidout within the navigation bar are a series of QPushButtons. Consistently, there is a 100-pixe

[Interest] Qt Creator not finding Qt's headers

2013-09-17 Thread Andrea Franceschini
Hi there. Not sure if this has been reported of solved before, I couldn't find anything conclusive on the Internet. Whenever I include some header like QApplication or QWidget, Creator complains about not being able to find the header. If I build the project, however, everything goes according to

Re: [Interest] About usb cameras

2013-09-17 Thread Jason H
You got it! Thanks for the example!! :-) From: Josiah Bryan To: Jason H Cc: Lopes Yoann ; "evazq...@grm.uci.cu" ; "interest@qt-project.org" Sent: Tuesday, September 17, 2013 10:04 AM Subject: Re: [Interest] About usb cameras I created a class I called

Re: [Interest] Construction of QObjects before QApplication or something else brings SEGV

2013-09-17 Thread Olivier BARTHELEMY
Ok, my valgrind warning was not related to me segmentation faults. It was actually caused by QApplication constructor taking argc by refeence. My class that builds the QApplication took a copy of argc as one of its'constructor's arguments, and passed that to QApplication Constructor. So when QAppli

Re: [Interest] on plugins and qtuiotouch

2013-09-17 Thread Andrea Franceschini
2013/9/17 Casimiro, Daniel C CIV NUWC NWPT : > This line in tuio_impl::add_touch_point(const tuio::touch_point &tp)? > Q_ASSERT(!points.contains(touch.id)); Yes, this is the line. > Is your emitter sending an ADD message with a duplicated TUIO ID? Mine > doesn't do that. I have to check the sp

Re: [Interest] About usb cameras

2013-09-17 Thread Josiah Bryan
I created a class I called "VideoSurfaceAdapter" which inherits from a QAbstractVideoSurface which allows me access to the raw frames. See https://code.google.com/p/livepro/source/browse/trunk/gfxengine/QtVideoSource.cpp for the code. Basically, in supportedPixelFormats() I return the formats I'll

Re: [Interest] on plugins and qtuiotouch

2013-09-17 Thread Casimiro, Daniel C CIV NUWC NWPT
> Weird, I didn't have any generic subdir in there. Anyway, I've created one > and symlinked it there. Now, except for a failed assert in > qtuiotouch.cpp:190, it seems to work :) This line in tuio_impl::add_touch_point(const tuio::touch_point &tp)? Q_ASSERT(!points.contains(touch.id)); Is you

Re: [Interest] on plugins and qtuiotouch

2013-09-17 Thread Andrea Franceschini
2013/9/17 Casimiro, Daniel C CIV NUWC NWPT : > I think that plugins are supposed to have the "so" suffix on Mac OS X, but I > am not sure. I don't have a mac handy right now. Honestly, I don't know. I just noticed that all the other plugins wer dylibs so I just went for that. It probably makes s

[Interest] QWindowsBackingStore::flush: GetDC failed()

2013-09-17 Thread Jason Kretzer
Good Morning, Had an app that I am working on suddenly stop after a couple of days on continuous use - basically just rotating a series of images on the screen. The log filled with these entries. They were intermittent at first but then eventually took over the log with these, over and over a

Re: [Interest] on plugins and qtuiotouch

2013-09-17 Thread Casimiro, Daniel C CIV NUWC NWPT
> I've managed to compile qtuiotouch > (https://github.com/dancasimiro/qtuiotouch/) on OS X (10.8.4, ftr) using Qt > 5.1.0 by applying some changes to its CMakeLists.txt file > (btw, not in Dan's repo yet, you can have a look at it on mine > https://github.com/Morpheu5/qtuiotouch/ and bear in min

Re: [Interest] About usb cameras

2013-09-17 Thread Jason H
Thanks, but I am still not clear.  If I subclass QAbstractVideoSurface  (video probe is out - I need it on Windows) How do I get it into a QImage/Pixmap?  I am guessing that I would set the pixel format for it to be the same as for QImage? According to the that logic and the docs, there are a fe

Re: [Interest] Physical Display Size on Android

2013-09-17 Thread Thiago Macieira
On terça-feira, 17 de setembro de 2013 11:01:15, Rutledge Shawn wrote: > On 17 Sep 2013, at 10:05 AM, noname wrote: > > Hi everyone, > > > > using Qt 5.1.1, is there a more accurate way to determine the physical > > display size or the DPI of a mobile android device, than using > > QScreen::physic

[Interest] on plugins and qtuiotouch

2013-09-17 Thread Andrea Franceschini
Hi there, I hope you'll excuse me if this message is half-OT, but I believe its other half is pertinent here :) Anyway. I've managed to compile qtuiotouch (https://github.com/dancasimiro/qtuiotouch/) on OS X (10.8.4, ftr) using Qt 5.1.0 by applying some changes to its CMakeLists.txt file (btw, not

Re: [Interest] About usb cameras

2013-09-17 Thread Lopes Yoann
On Sep 16, 2013, at 5:46 PM, Jason H wrote: Can someone tell me how to grab a frame and what is needed to be done to get to the point where I can do image processing easily? With the C++ API you can use QVideoProbe (http://qt-project.org/doc/qt-5.0/qtmultimedia/qvideoprobe.html). Though, with a

Re: [Interest] qt5, cmake and plugins

2013-09-17 Thread Stephen Kelly
On Monday, September 16, 2013 08:22:56 Mojmír Svoboda wrote: > > https://codereview.qt-project.org/#change,65444 > > https://codereview.qt-project.org/#change,65437 > > i am sorry, i tried to integrate it during weeken but did not succeeded. http://www.macieira.org/blog/2012/05/doesnt-work-doe

Re: [Interest] Physical Display Size on Android

2013-09-17 Thread Rutledge Shawn
On 17 Sep 2013, at 10:05 AM, noname wrote: > Hi everyone, > > using Qt 5.1.1, is there a more accurate way to determine the physical > display size or the DPI of a mobile android device, than using > QScreen::physicalSize or QScreen::physicalDotsPerInch(X/Y)? Those values > aren't correct on

Re: [Interest] About usb cameras

2013-09-17 Thread Lopes Yoann
You can use QCamera in the Qt Multimedia module. (http://qt-project.org/doc/qt-5.0/qtmultimedia/qcamera.html) You also have the Camera QML item (http://qt-project.org/doc/qt-5.1/qtmultimedia/qml-qtmultimedia5-camera.html) Yoann Lopes Senior Software Engineer - Digia, Qt Visit us on: http://qt.d

[Interest] Physical Display Size on Android

2013-09-17 Thread noname
Hi everyone, using Qt 5.1.1, is there a more accurate way to determine the physical display size or the DPI of a mobile android device, than using QScreen::physicalSize or QScreen::physicalDotsPerInch(X/Y)? Those values aren't correct on most of our testing devices. Example: One device has a ~2

Re: [Interest] QListView Drag&Drop, QT 4.7

2013-09-17 Thread Alexander Syvak
QListView::viewport() should be used for installation of the filter. 2013/9/16 Alexander Syvak > Hello, > > using QListView I installed a filter which is printing all events' > received for the QListView object. > The > > setDragEnabled(true) > setAcceptDrops(true) > > were executed on the QLis