[Qt-interest] C code in QT use queue in Class

Mic J michael.cognacc at gmail.com
Tue Aug 4 16:58:42 CEST 2009


Hi

Im trying to use a decoder made in C inside QT code
where the data is displayed via Opengl in A QT Widget window.

Problem is i include a C file that has structures / data types
defined  but also global variables in the same header files.
These global variables are not declared extern.

I want to wrap  the data loaded by the decoder into a class.
(the types in the list)

The data are loaded into a queue (TAILQ system queue) by the decoder.

I want to obtain the data inside the class (C++)
And be able to manipulate it traverse it etc.

Is there a way to do it without chagning the decoder.?

Mic



More information about the Qt-interest-old mailing list