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. How can build Qt 5.0.0 with postgresql driver ?
QtWS25 Last Chance

How can build Qt 5.0.0 with postgresql driver ?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k Views
  • 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.
  • T Offline
    T Offline
    tebessum
    wrote on last edited by
    #1

    OS : Windows 7 Pro SP1 64 bit
    Compiler : VS2012 Ultimate Edition
    Configure Command :
    F:\Qt\5.0.0\sources\configure -opensource -confirm-license -platform win32-msvc2012 -nomake examples -nomake demos -debug-and-release -plugin-sql-psql -l libpq -I C:\Progra~2\PostgreSQL\9.2\include -L C:\Progra~2\PostgreSQL\9.2\lib

    I'm getting some error.

    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(215) : warning C4183: 'getOpcodeID': missing return type; assumed to be a member function returning 'int'
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(217) : error C2061: syntax error : identifier 'Opcode'
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(267) : error C2061: syntax error : identifier 'Opcode'
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(202) : error C2065: 'id' : undeclared identifier
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(213) : error C2065: 'opcode' : undeclared identifier
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(267) : error C2065: 'opcode' : undeclared identifier
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(267) : error C2065: 'op_call' : undeclared identifier
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(267) : error C2065: 'op_construct' : undeclared identifier
    F:\Qt\5.0.0\sources\qtwebkit\Source\JavaScriptCore\interpreter\Interpreter.h(267) : error C2065: 'op_call_eval' : undeclared identifier
    OpaqueJSString.cpp
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_LT' : undeclared identifier
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_LE' : undeclared identifier
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_EQ' : undeclared identifier
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_NE' : undeclared identifier
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_GT' : undeclared identifier
    C:\Progra~2\PostgreSQL\9.2\include\Opcode.h(151) : error C2065: 'Py_GE' : undeclared identifier
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '(' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    I think conflict with the postgresql libraries, how can i solve this problem ?

    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