Bug 27368 - [Qt] On Symbian link against the system sqlite3
: [Qt] On Symbian link against the system sqlite3
: WebKit
WebKit Qt
: 528+ (Nightly build)
: PC All
: P2 Normal
Assigned To:
: 27065
  Show dependency treegraph
Reported: 2009-07-17 05:47 PST by
Modified: 2009-07-20 02:45 PST (History)

First try. (2.85 KB, patch)
2009-07-17 05:59 PST, Laszlo Gombos
zecke: review+
Review Patch | Details | Formatted Diff | Diff


You need to log in before you can comment on or make changes to this bug.

Description From 2009-07-17 05:47:14 PST
QtWebKit allows linking against sqlite3 from the OS or pick up the sqlite sources and link in sqlite3 statically into QtWebKit library.

On Symbian the syntax for linking against the OS sqlite3 is a slightly different than on other OS's.
------- Comment #1 From 2009-07-17 05:59:02 PST -------
Created an attachment (id=32935) [details]
First try.

Add an option for all Qt builds to force linking against system sqlite3 by adding system-sqlite to the CONFIG variable - up until now this was only an option for QTDIR_build builds.

The symbian specific part of this patch is contributed by Norbert Leser.
------- Comment #2 From 2009-07-17 18:08:05 PST -------
(From update of attachment 32935 [details])

> +            INCLUDEPATH += $${SQLITE3SRCDIR}
> +            symbian: LIBS += -lsqlite3.lib
> +            else: LIBS += -lsqlite3

Looks good, it might look like the else is not properly indented... please check that when landing.
------- Comment #3 From 2009-07-20 02:45:11 PST -------
Landed in 46112. qmake's syntax is funny at times, the else was correct :)