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. [SOLVED]Application Deployment - Side by side configuration is incorrect
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Application Deployment - Side by side configuration is incorrect

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 7.3k 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.
  • A Offline
    A Offline
    Andrew
    wrote on 27 Mar 2013, 04:56 last edited by
    #1

    I am trying to deploy Qt Application. I have used Visual Studio 2008; Windows 7

    I have already gone through "this":http://qt-project.org/doc/qt-4.8/deployment-windows.html. I am using Inno Setup Compiler for the task. I am also using "dependency walker":http://www.dependencywalker.com/ to trace which files should be deployed.

    Dependency walker showing me following dlls ![url=http://postimg.org/image/483ih176r/][img]http://s21.postimg.org/483ih176r/dependency.jpg[/img]/url!

    I am deploying all the listed dlls, except kernel32.dll as I believe it is present on every Windows OS.
    I am deploying this application to person who is NOT having any compiler installed.

    Install goes correctly -- but while executing the application user gets error "application could not start because its side-by-side configuration is incorrect".

    Any help in this regard will be highly appreciated.

    Thanks
    Andrew

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 27 Mar 2013, 05:15 last edited by
      #2

      Most likely the Microsoft C++ runtime you are building with needs to be installed on the target machine using the redistributable installer so that it is correctly placed in the system SxS folders. You can possibly deploy it as a private assembly, but I have not tried this myself.

      http://www.microsoft.com/en-us/download/details.aspx?id=5582 : there may be a more recent one, or this might not match yours.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 27 Mar 2013, 09:09 last edited by
        #3

        Hi,

        If I saw correctly you're trying to install a debug version of your software. The debug runtime is not distributable.

        Rebuild your project in release mode then you should be fine.

        Hope it helps

        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
        • A Offline
          A Offline
          Andrew
          wrote on 28 Mar 2013, 05:15 last edited by
          #4

          Yes. Actually my project was in release version but I was deploying debug dlls and therefore problem was there. It now works.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 28 Mar 2013, 07:59 last edited by
            #5

            Great !

            Since the solution has been found, can you update the threads title to solved ?

            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

            1/5

            27 Mar 2013, 04:56

            • Login

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