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. 64bit database(Postgresql) and 32 bit application
Forum Updated to NodeBB v4.3 + New Features

64bit database(Postgresql) and 32 bit application

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.8k 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.
  • H Offline
    H Offline
    Hostel
    wrote on 8 Dec 2011, 13:13 last edited by
    #1

    Can I install a Postgresql 64bit on Windows and make connection to this db using Qt plugin which is 32 bit? If I'm using mingw(32bit) on Windows then I have to install Postgresql 32bit too?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 8 Dec 2011, 22:28 last edited by
      #2

      You need the 32 bit libraries to link against Qt and your application. If you connect via Network (eg via IP 127.0.0.1) there shouldn't be any problems. I'm not sure for local sockets, but I would expect those to work too. Just make sure that you load the correct versions of the DLLs.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hostel
        wrote on 13 Dec 2011, 13:17 last edited by
        #3

        Yes you right. I compiled plugin to Postgres with 32 bit libraries and this works fine with Postgresql 64bit on Windows 7 64bit.

        1 Reply Last reply
        0

        1/3

        8 Dec 2011, 13:13

        • Login

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