Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building PostgreSQL driver on Linux
Forum Updated to NodeBB v4.3 + New Features

Building PostgreSQL driver on Linux

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 767 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.
  • nicmoraisN Offline
    nicmoraisN Offline
    nicmorais
    wrote on last edited by
    #1

    Hello everyone.
    I'm trying to build Qt 5.15.2 with PSQL driver on an armhf board running Linux, but all I get is:
    ERROR: Feature 'sql-psql' was enabled, but the pre-condition 'libs.psql' failed.

    Configure was:

    ./configure -nomake examples -skip qtwebengine -skip qtwayland -opensource -confirm-license -release -no-gtk -no-opengl -sql-psql PSQL_LIBS="/lib/arm-linux-gnueabihf/libpq.a" -I "/usr/include/postgresql/" -L "/usr/include/postgresql/11/lib"
    
    jsulmJ 1 Reply Last reply
    0
    • nicmoraisN nicmorais

      Hello everyone.
      I'm trying to build Qt 5.15.2 with PSQL driver on an armhf board running Linux, but all I get is:
      ERROR: Feature 'sql-psql' was enabled, but the pre-condition 'libs.psql' failed.

      Configure was:

      ./configure -nomake examples -skip qtwebengine -skip qtwayland -opensource -confirm-license -release -no-gtk -no-opengl -sql-psql PSQL_LIBS="/lib/arm-linux-gnueabihf/libpq.a" -I "/usr/include/postgresql/" -L "/usr/include/postgresql/11/lib"
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @nicmorais Check the config.log file to see what exactly is missing.
      Most probably you did not install the PostgreSQL dev package.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      nicmoraisN 1 Reply Last reply
      0
      • jsulmJ jsulm

        @nicmorais Check the config.log file to see what exactly is missing.
        Most probably you did not install the PostgreSQL dev package.

        nicmoraisN Offline
        nicmoraisN Offline
        nicmorais
        wrote on last edited by
        #3

        @jsulm Thank you for your attention, buy I got it fixed by compiling Qt 6 instead of 5.12.5.

        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