Results 1 to 2 of 2

Thread: Building PSQL driver problem with windres

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Building PSQL driver problem with windres

    Hello. I tried this explaination: http://www.qtcentre.org/wiki/index.p...ws_using_MinGW

    But when I reached the make stage I have this error: screen.jpg
    I am running in admin mode as you see...

    Windows 7 64-bit, 32-bit PosgreSQL 9.1, QtSDK 1.1.4 (Qt 4.7.4).

  2. #2
    Join Date
    Nov 2011
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Building PSQL driver problem with windres

    Ahahahaha, I fixed it.

    Passed --use-tmp-file to windres in the Makefile.Debug (or Relase, same shit happens on release) after running qmake.

    So in short:

    (Run the Qt Command Prompt as an admin.)

    0. qmake...
    1. First make fails. Add the --use-tmp-file to the current makefile.
    2. Make again fails. Copy the newly generated debugqsqlpsqld_resource_res.o file to debug/qsqlpsqld_resource_res.o (same with release).
    3. Make finaly succeeds.

Similar Threads

  1. can not use PSQL driver on windows7 machine
    By mak_user in forum Newbie
    Replies: 4
    Last Post: 26th May 2011, 14:28
  2. How to load PSQL Driver for QT in Ubuntu
    By Srinivas_30sep in forum Newbie
    Replies: 2
    Last Post: 8th April 2011, 14:30
  3. problems with building psql
    By szisziszilvi in forum Qt Programming
    Replies: 2
    Last Post: 29th March 2011, 08:06
  4. psql driver and s60
    By [maTa] in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th October 2009, 22:16
  5. Building new SQL driver
    By Pragya in forum Installation and Deployment
    Replies: 1
    Last Post: 27th June 2007, 08:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.