Taschenrechner w;
w.show;
Taschenrechner w;
w.show;
To copy to clipboard, switch view to plain text mode
Did you mean
w.show();
w.show();
To copy to clipboard, switch view to plain text mode
? 
And bout that:
class Taschenrechner
: public QMainWindow,
public Ui
::MainWindow
class Taschenrechner : public QMainWindow, public Ui::MainWindow
To copy to clipboard, switch view to plain text mode
You may consider using composition instead of inheritance. Now if you change the ui, you'll have to recompile all files that include "Tashenrechner.h"
If you forward declare the ui class in "Taschenrechner.h" and include "ui_Taschenrechner.h" in .cpp you can avoid this.
--------------------
edit: looks like I'm too slow
Bookmarks