安装postgreSQL,安装目录下的lib和bin添加到path

打开Qt安装目录,找到src\plugins\sqldrivers\psql
编辑psql.pro,添加
INCLUDEPATH += "E:/PostgreSQL/9.2/include"
LIBS += "E:/PostgreSQL/9.2/lib/libpq.lib"

编译完成后,放入plugins\sqldrivers目录

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2021-12-07
  • 2022-01-16
  • 2021-11-30
  • 2021-04-15
相关资源
相似解决方案