Results 1 to 9 of 9

Thread: problems to deploy qt application

  1. #1
    Join Date
    Feb 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Windows

    Default problems to deploy qt application

    Hi everybody,

    I'm trying to run a qt application in a laptop without qt SDK and windows XP. The application was compiled with visual studio 2005. I followed this post
    http://doc.trolltech.com/4.6/deploym...o-2005-onwards
    but I still can't run the application. I got the following error: The procedure entry point _Z13qFlagLocationPKc could not be located in the dynamic link library QtCored4.dll

    Has anyone any ideas to solve this problem? can anyone show me how can I run an .exe file (compiled with VS2005) in a computer without QT?

    Thank you very much!!

  2. #2
    Join Date
    Apr 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems to deploy qt application

    Hi,

    I don't use VS2005 myself, but you could try compiling in release mode instead of debug. If you followed the instructions, I guess you only supplied the QtCore4.dll, not the QtCored4.dll. If so, you either have to compile in release mode or include the Qt debug dll's in your distribution.

    /spn

  3. #3
    Join Date
    Feb 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems to deploy qt application

    sorry but i tried it and it doesn't work, I still have the same problem...

  4. #4
    Join Date
    Nov 2009
    Location
    Internet
    Posts
    11
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems to deploy qt application

    Did you deploy your program's dependencies (like QtCored4.dll, etc.)?!

  5. #5
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: problems to deploy qt application

    Try the suggested Dependency Walker to see if you have shipped all libraries with your application!

  6. #6
    Join Date
    Feb 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems to deploy qt application

    yes I did it with "dependency walker" and I got the following dependencies: QtCore4.dll, QtGui.dll, QtNetwork4.dll and kernel32.dll. As not found dlls I got: ieshims.dll and wer.dll

  7. #7
    Join Date
    Feb 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems to deploy qt application

    do I really need the ieshims.dll and wer.dll to deploy the application?

  8. #8
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: problems to deploy qt application

    If the QtCored4.dll is found but you get the error, I can only guess, that you may be took the wrong dll. Make sure you did not use the dll's out of the qtcreator directory. Or do you have compiled Qt yourself?

  9. #9
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems to deploy qt application

    Hello,

    Did you find a solution for this already ? I have the exact same problem, and have been struggling for days to fix this, but no success so far.

    I use QT4.6 as it comes pre-compiled with the executable for VS5005. I already tried with QT built from source, both statically linked and with DLL's, but to no avail.

    Best regards,
    Marc

Similar Threads

  1. Has anybody ever able to deploy qt application?
    By Tarun in forum Installation and Deployment
    Replies: 16
    Last Post: 22nd February 2010, 09:08
  2. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21
  3. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 09:34
  4. dependency file for Qt application to deploy
    By rajeshs in forum Installation and Deployment
    Replies: 5
    Last Post: 11th August 2008, 09:59
  5. Deploy Qt application on Mac OS X 10.4 Tiger
    By mourad in forum Installation and Deployment
    Replies: 1
    Last Post: 30th March 2008, 16:20

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.