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. Release build works fine on Dev machine, crashes immediately on others
QtWS25 Last Chance

Release build works fine on Dev machine, crashes immediately on others

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 662 Views
  • 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.
  • G Offline
    G Offline
    ggwolf
    wrote on last edited by
    #1

    Using VS2010 with qt5.2.1.

    My application works fine on my dev machine using release build. I have run it from visual studio and run it by going into release folder and double clicking the exe. both of these work. I've also tried copying the release folder to a flash drive and running the executable from the flash drive. still works.

    What doesn't work is when I move the file to a flash drive and transfer to a windows 8 laptop and try to run the application there. on the laptop even in compatibility mode the application will run then immediately exit. I tried it on a surface pro tablet and the app crashed in MSVCR100.

    I have no idea how to fix this. My friend recommended putting message boxes everywhere to see exactly where it crashes. is there any advice specific to that anyone has, or other ideas? thanks.

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

      Hi,

      Maybe a silly question but did you do everything required to "deploy":http://qt-project.org/doc/qt-5/windows-deployment.html the application ?

      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