Some problems in qt compilation
-
Hi, welcome to the forum.
ui_softstart.h
is a file automatically generated from thesoftstart.ui
visual editor file. You are not supposed to make any manual changes in these generated header files as they will be recreated every time the .ui file changes. Anything you edit there will be lost as you already noticed.That macro you're adding should rather go in your source file where you're using QtCharts