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. Installing Qt-built apps on Windows 7
QtWS25 Last Chance

Installing Qt-built apps on Windows 7

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 2.3k 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.
  • F Offline
    F Offline
    fredaw
    wrote on last edited by
    #1

    Don't know if this is the right forum - if "Installation" covers this. I have Qt version 4.7.0
    on my Windows XP machine. I've configured and built it successfully, and build the examples.

    Using Microsoft Visual Studio 2008, I can compile and run the Qt programs. When I use
    Visual Studio to create a "setup and deployment" project (an installer), it works, and installs
    the app on my machine. When I give the client using Windows 7 an installer, can't successfully
    install and run the app.

    Message:
    Activation context generation failed for "C:\Program\MyQtApp.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="xxxxxxxxxxxxxx",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis

    1 Reply Last reply
    0
    • F Offline
      F Offline
      florent.revelut
      wrote on last edited by
      #2

      You need to redistribute visual 2008 runtime in addition to your application. And when distributing, you want to compile in release, so that end-user don't have to deal with debug / release runtimes.

      Simplest way : add the files found in
      @
      C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT
      @
      to your installer and deploys them in the same folder as your app

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #3

        If you deliver, you must use release, as the debug dll of microsoft (msvcrt*) are not for distribution in debug version.

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        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