Understood. Assuming, what do I have to change in this Dialog->setWindowTitle to make it no-errormaking program?
Understood. Assuming, what do I have to change in this Dialog->setWindowTitle to make it no-errormaking program?
Define a QDialog pointer instead of Dialog.
Allthough the above is the answer to your question, it will not solve your problem, which is knowing and understanding C++ rules and syntax.
As long as you wont master that, you will have these problems all the time.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Not in your code.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
void setupUi (QDialog * Dialog)
yes, but I already told you, its not in the scope of your code.
You would have understood that if you knew C++ rules.
We can't teach you C++.
First learn C++, then code Qt.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks