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. Running Qt4 QtSql PostgreSQL application on clean Windows 10 64bit machine
Forum Updated to NodeBB v4.3 + New Features

Running Qt4 QtSql PostgreSQL application on clean Windows 10 64bit machine

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

    To run 32bit Qt4 QtSql PostgreSQL application on clean Windows 10 64bit machine I needed to install Qt4 and install PostgreSQL.

    How to run it without installing Qt4 and PostgreSQL?

    I put Qt4 Core, GUI and SQL libraries, libraries from folder Qt/4.8.6/plugins/sqldrivers, libpq.dll into the folder with my exe. The other variant is to put all folder "plugins" into the folder with exe and it does not work too.

    The GUI is running with message box "Driver not loaded Driver not loaded" (2 times).

    JonBJ 1 Reply Last reply
    0
    • J Jinja2

      To run 32bit Qt4 QtSql PostgreSQL application on clean Windows 10 64bit machine I needed to install Qt4 and install PostgreSQL.

      How to run it without installing Qt4 and PostgreSQL?

      I put Qt4 Core, GUI and SQL libraries, libraries from folder Qt/4.8.6/plugins/sqldrivers, libpq.dll into the folder with my exe. The other variant is to put all folder "plugins" into the folder with exe and it does not work too.

      The GUI is running with message box "Driver not loaded Driver not loaded" (2 times).

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Jinja2
      Did you try the usual set environment variable QT_DEBUG_PLUGINS=1, then run your application and inspect the diagnostic output?

      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