Sorcery/weird thing happening including QSqlDatabase [SOLVED]
I'm trying to include
QSqlDatabaseand I got this error:
Cannot open include file: 'QSqlDatabase': No such file or directoryand I have
sqlin my .pro file. - How to solve this?
I cleaned the project and now it's working. - That is really creepy.
No black magic here, I'd say you added the sql module to your pro file but didn't run qmake before building.