Priority: P3: Somewhat important
Affects Version/s: 4.7.0
Fix Version/s: None
Component/s: Examples and Demos
MS Windows Vista
MS Visual C++ Express 2008
I have the problem with sql/cachetable example which is the part of QT SDK LGPL. I compiled it on Windows Vista + MS Visual C++ Express 2008. There is no problem with debug version, but I am trying to execute application located in release directory I get following error message: "Unable to establish a database connection. This example needs SQLite support. Please read the Qt SQL driver documentation for information how to build it."
It is quite strange that it fails with release but works with debug.
I compiled this via MS C++ CLI with following configure flags:
and then execute nmake.
I use version 2010.05, but I also spotted this issue with 2010.04.
I found out one workaround. When I use static flag, there is no problem with neither in debug nor release, but it is hdd consuming solution.
Do you know how I can get rid of this issue? I think there is some bug in the makefiles.