Hi Guys!

I'm a little bit confused about this one. Can someone explain to me what is the main purpose of the automatically generated main.cpp when creating new QWidget project? Can I delete the main.cpp file? Or i need some modifications first before deleting the main.cpp?

Thanks in advance guys! I'm new in Qt!

This is the structure:

-Trial.cpp
-Main.cpp

-Trial.h

-Trial.ui