Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unable to build postgreSQL driver on Linux

Unable to build postgreSQL driver on Linux

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 2.0k 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.
  • A Offline
    A Offline
    adityar
    wrote on last edited by
    #1

    I would like to connect to a postgreSQL database in my Qt application. I followed the instructions in the documentation on how to build the driver but i cannot find the psql.pro file in my src/plugins/sqldrivers/ folder. Instead , I find the shared library libqsqlpsql.so. However, on running my app, I receive the error that the QPSQL driver is not available. I am using qt 4.8.2. Any help would be appreciated

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hogwarts
      wrote on last edited by
      #2

      I have the same problem

      1 Reply Last reply
      0
      • N Offline
        N Offline
        N3Roaster
        wrote on last edited by
        #3

        psql.pro should be in src/plugins/sqldrivers/psql/ not in src/plugins/sqldrivers/.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          adityar
          wrote on last edited by
          #4

          Thanks, was able to build it. You were right! I was looking in the wrong directory.

          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