Compiling Qt5 with custom SQLite3
-
I am trying to compile Qt5 with a custom version of SQLite3. I am using these options:
(note: I am using brackets rather than percentages because for some reason the web site/editor does not like percentages and I cannot figure out how to escape them correctly)
configure -prefix {CD}\qtbase -debug-and-release -opensource -platform win32-msvc2012 -system-sqlite -I {SQLITE} -L {SQLITE_LIB} -l sqlite3
Both {SQLITE} & {SQLITE_LIB} point to the release folder that has both the sqlite3.h and sqlite3.lib file in it, but I am getting the error:
WARNING: Configure could not detect the presence of a system SQLite3 lib.
Configure will therefore continue with the SQLite3 lib bundled with Qt.Any thoughts on what I am doing wrong?
-
You need to define some environment variables:
@
set INCLUDE=%INCLUDE%;{SQLITE}
set LIB=%LIB%;{SQLITE}
@That will make Configure happy, at least.
-Steve