A small error takes 2 days and 2 nights to solve

While working with making new feature in LibreCAD software, I was getting error that some functions are undefined. The error was not mentioning any thing properly, where the problem is  😦
I spend 2 days, 2 Nights in solving this. I checked everything was fine and well defined. Those functions were also defined and properly linked. But at last, Finally, I got the solution. The functions were well defined well in .cpp file. But need to be included in src.pro file.  Point I noted:  Whenever I added new file through Qt creator, it automatically add these files to src.pro. So by using creator it was not creating error. But, in this case, I added files using a text editor and save to that path. Those files get saved there. But not gets included in src.pro. Also on opening source code in creator, it doesn’t show newly added files. So I edited src.pro by addding my new .cpp and .h file there. and Problem solves 🙂
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s