I want to access the same variable from mainWindow as well as my dialog class called 'Dialog'
suppose i change this variable from mainwindow, the change should be reflected whenever i use the variable from dialog.
i cannot use signal /slots due to some reasons.
i have already tried this.
i made a source calls vars.h /vars.cpp and declared the variable there, but it doesn't seem to work .
what can i do ?
Bookmarks