Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error deploying Release
Forum Updated to NodeBB v4.3 + New Features

Error deploying Release

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 988 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marcosmarqueso
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #2

      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!

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved