Results 1 to 2 of 2

Thread: deploying QtSql app, Windows, VC2008

  1. #1
    Join Date
    Dec 2009
    Qt products

    Default deploying QtSql app, Windows, VC2008

    I've not been able to get my app to work correctly on test machines. I'm pretty sure the problem is related to the Sql code because my GUI actually runs, but can't connect with the SQLite database. I've read the article about deploying on windows, and followed the many steps listed there. I found that if I install the entire prebuilt VC2008 Qt development distribution on my target machines, things will at least work. I hope to learn how to come back later with a real deployment solution. So, I'd like to know if I've done things correctly. Here's what I understand needs to happen for a local install:
    • destination folder = C:/MyApp
    • C:/MyApp/plugins contains all files from C:/Qt/4.6.1/plugins
    • buid my app with:
      • TEMPLATE = app
      • CONFIG += embed_manifest_exe
      • CONFIG -= embed_manifest_dll
    • install VC runtime (I've installed x86 2005, then 2008)

    With all these steps, my app still cannot create a SQLite database. Again, installing the Qt VC2008 dev package and putting C:/Qt/4.6.1/bin in my PATH, my app finally is able to create the SQLite database. What is my local install missing?


  2. #2
    Join Date
    Oct 2009
    Thanked 37 Times in 36 Posts
    Qt products
    MacOS X Unix/X11 Windows

    Default Re: deploying QtSql app, Windows, VC2008

    see if this helps:

    don't name that folder plugins, follow the same layout as in the link.

Similar Threads

  1. Deploying on Windows
    By GianMarco in forum Installation and Deployment
    Replies: 6
    Last Post: 18th November 2009, 07:13
  2. Deploying an application on windows
    By dmcr in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd September 2009, 09:23
  3. about Windows Ado and QtSql
    By lutins in forum General Programming
    Replies: 1
    Last Post: 1st September 2008, 20:04
  4. Deploying DB apps (Windows)
    By shindasingh in forum Installation and Deployment
    Replies: 1
    Last Post: 26th October 2007, 21:44
  5. QtSql and Windows Vista
    By imitrik in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2007, 19:19


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.