Qt初学者试图连接到PostgreSQL [英] Qt Beginner trying to connect to PostgreSQL
问题描述
我真的是Qt,PostgreSQL和C ++的初学者
我希望能帮助你实现这个目标。
我已经通过Qt-Digia教程,但示例代码返回数据库未找到/未连接
我有一些老-school使用Fortran,APL,dBase IV,MS-Access和Visual Basic的经验,但我无法使用此链接。我可以使用他们的内置SQLite运行Qt IDE,我可以直接使用PSQL pgAdminIII和其他类似的实用程序,但我只是无法让Qt连接!
我很感激任何人的帮助,让我逐步完成这个步骤,以便我能够实现真正的发展。
谢谢。
SB
Im REALLY a beginner to Qt, PostgreSQL and C++
I would like some help in getting this to work.
I've gone through Qt-Digia tutorials on this but the sample code returns "database not found/not connected"
I have some "old-school" experience with Fortran, APL, dBase IV, MS-Access, And Visual Basic, But I can't get this link to work. I can run the Qt IDE using their built-in SQLite, and I can work directly with PSQL pgAdminIII and other similar utilities BUT I just can't get Qt to connect!
I'd appreciate anyone's help in walking me through this in incremental baby-steps so that I can get on to the real development.
Thanks.
SB
推荐答案
这篇关于Qt初学者试图连接到PostgreSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!