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. Qt app fails silently on deployment
Forum Updated to NodeBB v4.3 + New Features

Qt app fails silently on deployment

Scheduled Pinned Locked Moved Solved Installation and Deployment
10 Posts 4 Posters 970 Views 2 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.
  • M Offline
    M Offline
    mantra
    wrote on last edited by
    #1

    Hi,

    I am facing issues while deployment of my app on one of my VM. I have followed the process of deployment through windeployqt,

    I have tested the package on multiple systems, and it works fine,
    but every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

    Do i need to include additional libraries for VM or I might be missing something which needs to be done specifically for VMs?

    following is the detail of my Qt and VM:

    Qt 5.13.2
    VM: vSphere Client
    Guest OS: Microsoft Windows 10 (64-bit) Enterprise

    Please provide any resolution applicable !!

    JKSHJ J.HilkJ 2 Replies Last reply
    0
    • M mantra

      Hi,

      I am facing issues while deployment of my app on one of my VM. I have followed the process of deployment through windeployqt,

      I have tested the package on multiple systems, and it works fine,
      but every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

      Do i need to include additional libraries for VM or I might be missing something which needs to be done specifically for VMs?

      following is the detail of my Qt and VM:

      Qt 5.13.2
      VM: vSphere Client
      Guest OS: Microsoft Windows 10 (64-bit) Enterprise

      Please provide any resolution applicable !!

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @mantra said in Qt app fails silently on deployment:

      every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

      Are you using Qt Quick? If so, does your VM have OpenGL 2.0 or later installed?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      M 2 Replies Last reply
      0
      • M mantra

        Hi,

        I am facing issues while deployment of my app on one of my VM. I have followed the process of deployment through windeployqt,

        I have tested the package on multiple systems, and it works fine,
        but every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

        Do i need to include additional libraries for VM or I might be missing something which needs to be done specifically for VMs?

        following is the detail of my Qt and VM:

        Qt 5.13.2
        VM: vSphere Client
        Guest OS: Microsoft Windows 10 (64-bit) Enterprise

        Please provide any resolution applicable !!

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @mantra Is this a Quick/Qml based application ?
        If yes, did you tell the windeployqt tool where to find your qml files, when invoking it ?


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        M 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          @mantra Is this a Quick/Qml based application ?
          If yes, did you tell the windeployqt tool where to find your qml files, when invoking it ?

          M Offline
          M Offline
          mantra
          wrote on last edited by
          #4

          @J-Hilk Yes, i have done it by following the command :
          windeployqt --qmldir <path>

          1 Reply Last reply
          0
          • JKSHJ JKSH

            @mantra said in Qt app fails silently on deployment:

            every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

            Are you using Qt Quick? If so, does your VM have OpenGL 2.0 or later installed?

            M Offline
            M Offline
            mantra
            wrote on last edited by
            #5

            @JKSH Yes , I have Qt Quick in use. Let me check whether OpenGL 2.0 or later is installed or not!

            1 Reply Last reply
            0
            • JKSHJ JKSH

              @mantra said in Qt app fails silently on deployment:

              every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.

              Are you using Qt Quick? If so, does your VM have OpenGL 2.0 or later installed?

              M Offline
              M Offline
              mantra
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • jeremy_kJ Offline
                jeremy_kJ Offline
                jeremy_k
                wrote on last edited by
                #7

                https://doc.qt.io/qt-6/windows-graphics.html has a lot of information about how graphics on Windows works. It's for Qt 6, but most of the information should also be applicable to Qt 5.

                In particular, the qtdiag program reports what version of OpenGL is found.

                $ Qt/5.15.2/clang_64/bin/qtdiag
                ...
                LibGL Vendor: ATI Technologies Inc.
                Renderer: AMD Radeon Pro 560 OpenGL Engine
                Version: 2.1 ATI-4.2.15
                Shading language: 1.20
                Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8
                Profile: None (QOpenGLFunctions_-398682272_32766)
                
                

                Asking a question about code? http://eel.is/iso-c++/testcase/

                M 1 Reply Last reply
                0
                • jeremy_kJ jeremy_k

                  https://doc.qt.io/qt-6/windows-graphics.html has a lot of information about how graphics on Windows works. It's for Qt 6, but most of the information should also be applicable to Qt 5.

                  In particular, the qtdiag program reports what version of OpenGL is found.

                  $ Qt/5.15.2/clang_64/bin/qtdiag
                  ...
                  LibGL Vendor: ATI Technologies Inc.
                  Renderer: AMD Radeon Pro 560 OpenGL Engine
                  Version: 2.1 ATI-4.2.15
                  Shading language: 1.20
                  Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8
                  Profile: None (QOpenGLFunctions_-398682272_32766)
                  
                  
                  M Offline
                  M Offline
                  mantra
                  wrote on last edited by
                  #8

                  @jeremy_k The machine on which I am performing deployment is not having Qt installed.

                  jeremy_kJ 1 Reply Last reply
                  0
                  • M mantra

                    @jeremy_k The machine on which I am performing deployment is not having Qt installed.

                    jeremy_kJ Offline
                    jeremy_kJ Offline
                    jeremy_k
                    wrote on last edited by
                    #9

                    @mantra said in Qt app fails silently on deployment:

                    @jeremy_k The machine on which I am performing deployment is not having Qt installed.

                    Do you mean the machine where the program is running? It and its dependencies can be copied without using an installer.

                    Asking a question about code? http://eel.is/iso-c++/testcase/

                    M 1 Reply Last reply
                    0
                    • jeremy_kJ jeremy_k

                      @mantra said in Qt app fails silently on deployment:

                      @jeremy_k The machine on which I am performing deployment is not having Qt installed.

                      Do you mean the machine where the program is running? It and its dependencies can be copied without using an installer.

                      M Offline
                      M Offline
                      mantra
                      wrote on last edited by
                      #10

                      @jeremy_k yes, I have copied all the dependencies, used windeployqt for this.

                      btw the issue is resolved now, 3D graphics was disabled for the VM, which was not allowing Application to render required graphics.

                      Thanks @jeremy_k :)

                      1 Reply Last reply
                      3

                      • Login

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