Hello! friends,
I designed a simple GUI to get comfortable with Qt4, but when i compiled it to get .exe i got this warning for every file like for sample.h, sample.cpp n all. As shown below are the warnings: -
sample.h:16:7: warning: no new line at the end of file
sample.cpp:9:2: warning: no new line at the end of file
Here is my sample.h file
Can anyone please help me in removing them?Qt Code:
#ifndef SAMPLE_H #define SAMPLE_H #include "ui_sample.h" { Q_OBJECT public: }; #endifTo copy to clipboard, switch view to plain text mode
I will be obliged if helped. Thanks in advance.
Bookmarks