在Ubuntu下尝试了一下example里的cachedtable,竟然弹出窗口说"Cannot open database", 错误信息:
-------------------------------------------------------
Unable to establish a database connection.
This example needs SQLite support. Please read the Qt SQL driver documentation for information how to build it.
Click Cancel to exit.
--------------------------------------------------------
但是打开编译好的可执行文件却可以正常运行.
有人说是 缺乏数据库驱动的问题,
但如果是缺乏驱动的问题,那编译好的可执行文件跟debug的结果应该是一样的
是不是QT creator得做什么数据库方面的设置?