[Qt-interest] Doubt about WId received of the QWidget::winId()

Oswaldo F. Filho oswaldo.f.filho at uol.com.br
Fri Jan 29 01:01:05 CET 2010


oswaldo.f.filho wrote:
> Hi!
> 
> I just tested with MIL-Lite 9.0, one proprietary library for computer 
> vision, and I have a problem.
> 
> I grab sequence of image through of the frame grabber and I store on a 
> buffer. I tried to show the images through of the function above:
> 
> /* Display the buffers. */
> MdispSelectWindow(MilDisplay, MilImage, frame->winId());
> 
> When I compile the application with qt-4.3.4 I don't have any problem, 
> and application work, but when I compile the app lication with qt-4.4.1 
> the function MdispSelectWindow() return error and indicate that return 
> "frame->winId()" isn't validate.
> 
> I tried to find some difference when I execute "xwininfo -int -tree" 
> above application compiled with qt-4.3.4 and qt-4.4.1, but I did't see 
> difference.
> 
> What is it happened?
> 
> Regards,
> 
> Oswaldo F. Filho
> 

Following message in text format.

=======================================================================

Hi!

I just tested with MIL-Lite 9.0, one proprietary library for computer
vision, and I have a problem.

I grab sequence of image through of the frame grabber and I store on a
buffer. I tried to show the images through of the function above:

/* Display the buffers. */
MdispSelectWindow(MilDisplay, MilImage, frame->winId());

When I compile the application with qt-4.3.4 I don't have any problem,
and application work, but when I compile the app lication with qt-4.4.1
the function MdispSelectWindow() return error and indicate that return
"frame->winId()" isn't validate.

I tried to find some difference when I execute "xwininfo -int -tree"
above application compiled with qt-4.3.4 and qt-4.4.1, but I did't see
difference.

What is it happened?

Regards,

Oswaldo F. Filho

=======================================================================

Help me, please!

Oswaldo F. Filho



More information about the Qt-interest-old mailing list