Qt sqlite部署exe [英] Qt sqlite deploy exe
问题描述
我有一个从Visual Studio 2005构建的Qt .exe
(采取 .cpp
, .h
, .moc
,ui_档案)
一些简单的QSqlite查询。它在我的开发电脑中工作正常。但是在另一个电脑中,它崩溃了以下行:
QSqlDatabase mSqlDb
pre>
如何运行
.exe
,以便它可以与sqlite
另一台电脑? [其他GUI应用程序运行正常。]
部署sqlite-qt应用程序需要什么?
解决方案我会给你一个更好的答案,但你往往不接受答案,所以这里是一个链接到文档:在Windows上部署应用程序 - Qt插件:)
I have a Qt
.exe
built from Visual Studio 2005 (after taking the.cpp
,.h
,.moc
, ui_ files)I have done some simple QSqlite queries. It works fine in my development pc. But in another pc it crashes for the line below:
QSqlDatabase mSqlDb
How can I run the
.exe
so that it can interact withsqlite
on another PC? [Other GUI application run just fine.]What things are necessary to deploy a sqlite-qt application?
解决方案I'd give you a better answer, but you tend to not accept answers, so here is a link to the documentation: Deploying an Application on Windows - Qt Plugins :)
这篇关于Qt sqlite部署exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!