Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
4.7.0
-
None
-
MS Windows Vista
MS Visual C++ Express 2008
Description
Hello,
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:
-platform
win32-msvc2008
-plugin-sql-sqlite
-qt-sql-sqlite
-opensource
-developer-build
-debug-and-release
-no-script
-no-scripttools
-no-webkit
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.
BR,
Nalesnil