Results 1 to 2 of 2

Thread: My application can't connect to database when deploy it???

  1. #1
    Join Date
    Jan 2006
    Posts
    29
    Qt products
    Qt4
    Platforms
    Windows

    Default My application can't connect to database when deploy it???

    Hi all,

    My application (deveploped on Qt4) has a connection to the Postgres (8.0.3) database, it works when I deploy it on any computer installed Qt4. But when I deploy on a non-Qt computer, my app still runs but it can't connect to database although I copied all libraries of Qt (in bin directory: QtCore4.dll, QtGui4.dll,...) to that computer.

    Can you show me why?

    Thanks very much!

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: My application can't connect to database when deploy it???

    You need also copy libpq.dll and qsqlpsql.dll

    p.s. Use something like FileMonitor for searching what dll and where needed by your app in other comp
    Last edited by zlatko; 15th February 2006 at 12:04.
    a life without programming is like an empty bottle

Similar Threads

  1. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 10:34
  2. Third Party tool for deploy Qt Application on Mac?
    By vishal.chauhan in forum Qt-based Software
    Replies: 6
    Last Post: 10th February 2009, 18:03
  3. dependency file for Qt application to deploy
    By rajeshs in forum Installation and Deployment
    Replies: 5
    Last Post: 11th August 2008, 10:59
  4. Run database application from Konqueror
    By jiveaxe in forum Newbie
    Replies: 3
    Last Post: 17th October 2007, 18:54
  5. Replies: 5
    Last Post: 28th August 2006, 15:36

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.