hi,
i m making a producer consumer program in Qt 4.2.2
now the problem is :
i m declaring freebytes, usedbytes variables in globalvar.h
and want to use this in producer.h and consumer.h
now i m including this producer n consumer files in form.h as i need to make its object in it
then i need to include this form.h in main.cpp
So can any one please help me in declaring and including and defining these global variables in my project?