Dialog.ui not opening when a variable is declared in Dialog.h
Solved
General and Desktop
-
In my qt c++ aplication I have 2 cpp files namely Dilog.cpp and MianWindow.Cpp! An interface(Dialog.ui) is opened when I click a button in MainWindow.ui! But when I declare a variable(I declared both as private and public) in dialog.h and click the button the Application stops working! When I remove the varaible declared and click the button the apllication works fine! What can be the reason for this?
-
Hi
What kind of vairable ?
It sounds very close to impossible what you say :)
Except if its a pointer. then u can crash the app :)