I am trying to add a custom sqlite3 regexp function into my Qt application (as recommended by this Adding a custom sqlite function to a Qt application answer).
QT += core gui
TARGET = MWE
TEMPLATE = app
QT += sql
SOURCES += main.cpp \
D:\Qt\Qt5.5.0\5.5\Src\3rdparty\sqlite\sqlite3.c
HEADERS += D:\Qt\Qt5.5.0\5.5\Src\3rdparty\sqlite\sqlite3.h
This method works, but I need to be independent of the qt installation path.