[Qt-interest] Building Qt on Windows XP with the -system-sqlite option
Robert Hairgrove
evorgriahr at hispeed.ch
Thu Apr 28 22:16:29 CEST 2011
How do I "install" the sqlite3.dll in my system so that Qt configure.exe
can find it?
I downloaded the DLL from www.sqlite.org, copied it into my C:\WINDOWS
\system32 folder, put the sqlite3.h into its own folder and added that
path to my system INCLUDE environment variable, created an import
library from the sqlite3.def file, copied that to its own folder and put
that path in my LIB environment variable and also added both folders to
my PATH variable. I also included these on the command line to
configure.exe using the -I and -L switches.
Looking at the code for the configuration script, it seems to be looking
for the DLL and not for the LIB file. I also tried copying the LIB file
to the Windows system folder. But even after restarting my computer and
running configure from the MSVC 2008 Express console, it won't recognize
the DLL. Where is configure actually expecting to find these files? It
just issues a warning to the effect that "Configure could not detect the
presence of a system SQLite3 lib. Configure will therefore continue with
the SQLite3 lib bundled with Qt".
There must be something very simple here that I have overlooked.
More information about the Qt-interest-old
mailing list