Results 1 to 3 of 3

Thread: Deployment problem on clean windows system

  1. #1
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Deployment problem on clean windows system

    Hello all,

    I have written a QT appliccation with dynamic binding of my QT libraries.
    I'm using QT 4.5.1 on my Windows XP system together with eclipse and mingw.
    So I have compiled it and it runs fine on my PC.
    Now I have copied it on a virtual machine, running a complete clean Windows XP system.
    Of cause several messages appeared to copy also the QT dlls to this system and also the mingwm10.dll too.
    After I have done all this the application still crashes with the message:

    Microsoft Visual C++ Runtime Library Runtime error
    Program xxxxxxxx
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact blabla.

    I tried to copy also the microsoft related dlls as described on the qt pages,
    http://doc.trolltech.com/4.5/deployment-windows.html
    but the error still appears.

    In addition here you see a screenshot from the dependency walker:

    depend.JPG
    Last edited by mbreier; 16th February 2010 at 15:18. Reason: More Information

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

    Default Re: Deployment problem on clean windows system

    I noticed in the depends screenshot that you are using sql - I would first try a simpler app since sql apps have a bit more elaborate deployment requirements, especially when you are using any of the plugins.

    Some of the MS dlls are already installed on a clean windows, so it all depends.
    Last edited by schnitzel; 16th February 2010 at 21:58. Reason: correction

  3. #3
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: Deployment problem on clean windows system

    Hello and thanx for the hint.

    Meanwhile I have solved the problem by using the profiler of depends.
    It was as you mentioned the QSQLITE plugin that was missing.

    I have now copied the plugins directory (full path) of my original Qt installation to the target PC.
    Also some of the imgage formats had to be stored there.

    Before I had the QSQLITE plugin in the same directory as my application.

    So its solved. Thanks again.

Similar Threads

  1. Deployment problem on qt 4.5 windows
    By brasio in forum Installation and Deployment
    Replies: 14
    Last Post: 26th June 2010, 00:05
  2. Deployment Procedure On Windows On Linux and Windows
    By Harshith J.V. in forum Installation and Deployment
    Replies: 4
    Last Post: 9th July 2009, 11:27
  3. Qt 4.5 clean up build dir on Windows
    By __m128i in forum Installation and Deployment
    Replies: 6
    Last Post: 14th March 2009, 07:53
  4. deployment of Qt 4.3.4 exe on Windows?
    By vishal.chauhan in forum Installation and Deployment
    Replies: 5
    Last Post: 1st April 2008, 12:30
  5. qt deployment problem on windows xp
    By sepp in forum Installation and Deployment
    Replies: 3
    Last Post: 5th July 2007, 11:16

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.