Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Installation and Deployment
    2
    11
    2013
    Loading More Posts
    • 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
      byoungman last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • B
          byoungman last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • B
              byoungman last edited by

              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 Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • B
                  byoungman last edited by

                  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 Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    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 Reply Quote 0
                    • B
                      byoungman last edited by

                      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 Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        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 Reply Quote 0
                        • B
                          byoungman last edited by

                          No I haven't - good suggestion

                          thanks

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post