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. Builing Qt Statically with PostgreSQL 9.6
Forum Updated to NodeBB v4.3 + New Features

Builing Qt Statically with PostgreSQL 9.6

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 589 Views 2 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.
  • B Offline
    B Offline
    BlairCom
    wrote on last edited by
    #1

    Hi

    I am trying to build Qt Statically and building in the use of PostgreSQL 9.6. I have been following the guide on the QT website and have downloaded the source files and placed it in the directory D:\Qt

    I have ran the following commands:
    configure -commercial -release -static -platform win32-msvc2013 -qt-sql-psql -I "C:\Program Files (x86)\PostgreSQL\9.6\include" -L "C:\Program Files (x86)\PostgreSQL\9.6\lib" -l libpq -l ssleay32 -l postgres

    nmake

    On the nmake command I am getting the error:
    IntermNode.cpp
    ../../../3rdparty/angle/src/compiler/translator/IntermNode.cpp(1117) : error C2440: '?' : cannot convert from 'const TConstantUnion' to 'bool'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    ../../../3rdparty/angle/src/compiler/translator/IntermNode.cpp(1127) : error C2440: '?' : cannot convert from 'const TConstantUnion' to 'bool'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    error: stastus 2 from C:\Program Files (x86)\VC\Bin\cl.exe

    Any help would be greatly appriciated

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you have a commercial license, I'd recommend checking with the Qt Company. This error is likely completely unrelated to PostgreSQL although I'd recommend installing it in a folder without spaces. They can be tricky at time.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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