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. A debug error occurs after packaging and migration
QtWS25 Last Chance

A debug error occurs after packaging and migration

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 4 Posters 155 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.
  • Z Offline
    Z Offline
    Zhang gm
    wrote on last edited by
    #1

    After packaging the project and porting it, how to solve the debug error when it is ported to another computer?

    2af8a5a6-3b6d-4022-a8fd-0f4f03aaacb1-image.png

    432a1ffa-53d7-4138-90de-ef380746c224-image.png

    Looking forward to answers, thank you very much!!!
    Thank you very, very much!!!

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      Good morning and welcome to the Qt forum,

      this is your first post, so let me flip the coin around:
      Please put yourself into the shoes of someone who wants to help you on this forum.
      What do you have to show, share, to make his - a volunteer's - job as easy as possible?
      Give as much information as possible, show your code, tell us about the operating system (Windows version) you are using, which Qt version, modules.

      With the little information at hand, I can only see that your application isn't even starting up correctly.
      Probably you have deployed a debug build to a computer without debugging tools.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        Zhang gm
        wrote on last edited by
        #3

        Hello and thanks for your reply!!!
        This application is a problem with the operation of the application after I packaged it and ran it on another computer.
        The compiled computer configuration is: windows11, Qt5.12.12.
        I used the Bobcat 640 GigE probe and opencv and the Spinnaker SDK for this project.

        jsulmJ 1 Reply Last reply
        0
        • Z Zhang gm

          Hello and thanks for your reply!!!
          This application is a problem with the operation of the application after I packaged it and ran it on another computer.
          The compiled computer configuration is: windows11, Qt5.12.12.
          I used the Bobcat 640 GigE probe and opencv and the Spinnaker SDK for this project.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Zhang-gm said in A debug error occurs after packaging and migration:

          I packaged it

          How did you package it?
          Did you use windeployqt? https://doc.qt.io/qt-6/windows-deployment.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          Z 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Zhang-gm said in A debug error occurs after packaging and migration:

            I packaged it

            How did you package it?
            Did you use windeployqt? https://doc.qt.io/qt-6/windows-deployment.html

            Z Offline
            Z Offline
            Zhang gm
            wrote on last edited by
            #5

            @jsulm Thanks for the reply, I used the plugin inside vs for packaging, and I understand that this may be due to the GenI protocol that the camera relies on.
            https://forum.qt.io/topic/126717/balser-camera-init-by-qt-on-win10-platform
            If you look at this solution, would you be able to give more specific steps if you know it?
            Thank you very much again!!!

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

              Hi,

              One thing to do is use a tool such as Dependency Walker to ensure you have all the dependencies of your application in place. Which means also checking the dll/plugins of your dependencies.

              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