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. Deploying release configuration of application still looking for debug versions of QT dll's
QtWS25 Last Chance

Deploying release configuration of application still looking for debug versions of QT dll's

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 2 Posters 2.6k 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.
  • B Offline
    B Offline
    byoungman
    wrote on last edited by
    #1

    Good Afternoon,

    I'm in the process of trying to deploy an application that a 3rd party developed using the QT framework for the front end and I'm running into a problem which is I'm getting the following error message:

    Activation context generation failed for "E:\PJMAVC\QtCore4d.dll". Dependant assembly Microsoft.VC90.CRT,processorArchitecture="x86"... could not be found.

    I built the solution in release mode and included the non-release versions of the QT dll's but if I don't include the QtCore4d.dll in the deployment then I can't even launch the application because it's missing however when I do include it I get the above error message.

    This is my first exposure to this framework so any and all assistance is greatly appreciated.

    -Bill Youngman

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

      Hi and welcome to devnet,

      Are you linking to any 3rd party pre-compiled library that might be in debug mode ?

      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
      • B Offline
        B Offline
        byoungman
        wrote on last edited by
        #3

        No I have all of the source code for the 3rd party solution and have it set to 'Release' for compilation

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

          I'd check whether it's referenced anywhere explicitly in the project.

          Are you using the Qt VS-Add-In plugin ?

          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
          • B Offline
            B Offline
            byoungman
            wrote on last edited by
            #5

            I was just going through one of the projects in the solution and I just saw where it is being set as an Additional Dependency along with all of the other xxxd dll's - I'm assuming that these are debug dll's. Going to try removing them and adding the regular dll's to the project and recompile

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

              Pretty strange, was it done by hand ?

              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
              • B Offline
                B Offline
                byoungman
                wrote on last edited by
                #7

                Not sure how it was done - this solution was written by some Electrical Engineering Undergrads who judging by how it was written don't have much software development experience so I'm having to go through the entire thing and try to figure out exactly what they were doing - just removed the dev version of the dll's and included the release versions and now i'm getting a program launch error so back to the drawing board.

                Wanted to say though thank you all for the quick responses to my post.

                -b

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

                  You can try to recreate the project using qmake, it might be quicker in the end.

                  You're welcome :)

                  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
                  • B Offline
                    B Offline
                    byoungman
                    wrote on last edited by
                    #9

                    ok so I got the Release Configuration configured so that it's not pointing to and of the dev dlls but it's still trying to load qcore4d.dll on the target machine - grrrr...

                    Going to try the suggestion from the last post and recreate the project using qmake

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

                      Did you check your executable, dlls with e.g. Dependency Walker ?

                      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
                      • B Offline
                        B Offline
                        byoungman
                        wrote on last edited by
                        #11

                        No I haven't - good suggestion

                        thanks

                        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