Error deploying Release



  • Hey Everyone! Thanks for helping!

    I have created an application that runs on windows recording/reading a RFID tag. It also access a database (SQL Server) to acquire the data to be recorded.

    I'm trying to deploy it dinamically with all the DLLs it requires. I've checked on dependency walker and also done a few steps from the Deploy_an_Application_on_Windows (http://qt-project.org/wiki/Deploy_an_Application_on_Windows) wiki to get the package ready.

    When I try to run it on the Qt Creator and on my developing computer, it works fine all the way. But when i try to copy the .exe with the dlls it needs to run on other machine, it show the "missing windows plugin" message.

    One thing I noticed is that even when starting the application on my developing pc after copying all the files (dlls, qml, and plugins) as explained on the Deploy_an_Application_on_Windows, the application does not start normally. it starts but when doing the first access to the database it crashes.

    If I use the qt installed on my windows it runs fine.

    Anyone has an ideia what could this be?



  • Hi, to get a 100% view of all the DLLs your app requires, if you haven't done so already, try the Start Profiling (F7) command in Dependency Walker. This will show the plugins loaded (which the normal view will not).
    Another nice tool is "ListDLLs":http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx , i.e. start your app on the PC with Qt installed and then start ListDLLs to get a list of all the DLLs loaded.
    This could give you an insight what's missing, good luck hunting!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Did you build your application in release mode ?
    Did you also include the MySQL client libraries in your deployment folder ?
    Are you sure you copied the Qt dlls from the correct path ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.