Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QT 连接QPSQL 连接不上
Forum Updated to NodeBB v4.3 + New Features

QT 连接QPSQL 连接不上

Scheduled Pinned Locked Moved Chinese
2 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    foxgod
    wrote on last edited by
    #1

    使用QT5.3.0,里面已经有QPSQL数据库插件了,我也在环境变量里面写入了QPSQL的LINCLUDE LIB bin 文件路劲,也把libpq.dll复制到了我debug目录下,但是放我运行的的时候,还是提示
    QSqlDatabase:QPSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL
    7
    请教呀

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JohnYork
      wrote on last edited by
      #2

      把插件DLL也拷贝到你的DEBUG目录下试试?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved