x-tools-author/x-tools

QtSwissArmyKnifeV3.4.1解压后Qt5.14.2 ming64编译报错打不开数据库

Closed this issue · 1 comments

SAKApplication QSAKDatabase.sqlite3 open failed: "unable to open database file Error opening database"
ASSERT failure in SAKApplication: "Open database failed!", file ..\QtSwissArmyKnife-3.4.1\src\SAKApplication.cc, line 103
10:18:59: 程序异常结束。

mDatabaseName = QString("%1/%2.sqlite3").arg(path).arg(qApp->applicationName());
修正为:
mDatabaseName = "mydb.db";//QString("%1/%2.sqlite3").arg(path).arg(qApp->applicationName());
正常编译通过;

使用release版本编译运行即可:
捕获