Hi,

I am a QT project with 3 forms (mainwindow, form2, form3).

I am also a lot of variables in use in the mainwindow, and I need to read and write these variables into form2 and form3.

I have to define my variables public in the main() (I think so), but I do not know how to do it.

Thanks.