pyqt sqlite3 icu fts3 fts4 enabled 。全文搜索 功能
目标:windows下让pyqt测试程序支持sqlite3 icu fts3/4的 全文搜索 功能。 环境: windows XP pyqt 安装文件 PyQt-Py2.7-x86-gpl-4.9.6-1.exe pyqt 源码包 PyQt-win-gpl-4.9.4.zip python 版本2.7 qt是官方下载的 4.8.4 EXE 安装包 难点: 一般自己的 测试程序 提示“no such module: fts4”错误,可以按照 网上《 Qt SQLite / SQLCipher driver plugin with ICU 》 一文的如下说明就能得到支持icu fts3/4的qt sqlite3 plugins: In order to make ICU work with the default SQLite driver plugin, you have to modify the .pro file, add the following lines DEFINES += SQLITE_ENABLE_ICU INCLUDEPATH += "Path/To/icu/include" LIBS += -L"Path/To/icu/lib" -licuuc -licuin and rebuild your SQLite driver plugin. 据此,我在$QT/4