Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deploying Qt app: compiling fine with win7 64bit but app does not run on win7 32bit
Qt 6.11 is out! See what's new in the release blog

Deploying Qt app: compiling fine with win7 64bit but app does not run on win7 32bit

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 871 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hi,
    I am developping my Qt application on a win7 64 bit system with Qt 4.8.6 vs2010 set up and my application is compiling and building fine on my application .When I try to run it on a system without Qt installed ,it simply crashes with the "* ....exe has stopped working ,windows is checking for errors" *error .

    I have been deploying my Qt applications fine before and the deployment doc: http://qt-project.org/doc/qt-4.8/deployment-windows.html has usually worked for me . (providing Qt dlls and msvc runtime dlls in the directory of my application) .I just came across this question :http://stackoverflow.com/questions/16729126/compiling-32-bit-qt-application-using-64-bit-package and realized the system I am working on has winn7 64 bit installed could this be the reason my generated executable is not running on my test win7 32bit machine?

    I have seen that there is one download file for Qt 4.8.6 msvs 2010 installer and they make distinction between 32 and 64 bit for later versions of msvc and there is no way to know if my Qt libs target 32bit or 64bit .So here is my question :Do I need to compile on a 32bit win7 machine so my app runs both on win7 32bit and 64 bit?

    Why join the navy if you can be a pirate?-Steve Jobs

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

      Hi,

      Not at all, you can build for both with a 64bit system. You can use e.g. Dependency Walker to ensure what version of dlls you have.

      AFAIK, the Qt 4.8.6 download should be for x86 so 32bit

      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