When upgrading an application to use a newer Qt version (4.8), I stumbled across a weird issue with the sql plugin not loading correctly. Even though I triple checked the paths, it didn't work.
This was surprising since if I used the previous Qt version (4.7), my app worked fine!
After much trouble shooting and testing and googling, it turns out that there is a thing called the "Qt Plugin Cache"!