安裝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目錄
安裝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目錄
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。