When I created a new Mobile application in Qt Creator, I noticed that in the autogenerated code they use #include <QtCore/QCoreApplication> instead of #include <QCoreApplication>, even though both should work the same.
Since Qt Creator itself does that, I assume it’s the recommended convention. But is there any reason why this is so, can someone explain what is the point to using #include <QtCore/QCoreApplication> instead of #include <QCoreApplication>?
There are multiple reason for using such convention :-
I have two directories in /usr/include/
both of them have QCoreApplication in them.