Results 1 to 3 of 3

Thread: Deployment problems on Windows...help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Posts
    13

    Default Deployment problems on Windows...help

    I have tried several different suggestions I've found here on the boards and elsewhere, but I'm just not getting anywhere. I'm trying to freeze/deploy an application on Windows. Here is what I'm using:

    PyQt4 (Qt 4.4.3, Python 2.6)
    Windows XP
    py2exe

    I've been able to successfully freeze and install on my own computer, so I think the py2exe setup is correct. However when I install on a clean machine I get the generic "application configuration is incorrect, reinstall..." Based on what I've read it could be several problems, the most likely of which are the Windows packages that need to be redistributed and found using the manifest file. I've tried a few different options with these files, but I'm still not getting past the initial error.

    Being a newb to Qt there are so many variables I'm not sure of. I have Visual Studio 2005; however I'm not using it to compile Qt. I installed using mingw to create the binaries.

    The compile from py2exe gives me the warning that I actually need MSVCP90.dll (not the 80 version). So I've tried including those dlls (changing the manifest to be 90s). Then I changed them to be 80s and used the other files.

    Using dependency walker gave me the following top level dependency:
    Main App
    --USER32.DLL
    ----GDI32.DLL
    ----KERNEL32.DLL
    ----NTDLL.DLL
    ----ADVAPI32.DLL
    ----MSIMG32.DLL
    ----POWRPROF.DLL
    ----WINSTA.DLL
    --MSVCR90.DLL
    --KERNEL32.DLL

    I don't know what else to try, or if I'm just completely going down the wrong road and maybe should try a different freeze app. Any suggestions would be great.

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Deployment problems on Windows...help

    You will (at least) need the Qt runtimes as well.

  3. #3
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Deployment problems on Windows...help

    Try installing vcredist_x86.exe on the target machine.

Similar Threads

  1. Linking problems with QT4 under Windows
    By Ancalagon in forum Qt Programming
    Replies: 2
    Last Post: 8th September 2008, 13:29
  2. Windows mobile 6 deployment
    By Gilles.Bordas in forum Installation and Deployment
    Replies: 4
    Last Post: 7th July 2008, 11:06
  3. 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
  4. qt deployment problem on windows xp
    By sepp in forum Installation and Deployment
    Replies: 3
    Last Post: 5th July 2007, 11:16
  5. Problems with threads and windows
    By SkripT in forum Qt Programming
    Replies: 15
    Last Post: 16th January 2006, 17:46

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.