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. App released with windeployqt not showing UI

App released with windeployqt not showing UI

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
30 Posts 7 Posters 3.4k 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.
  • F Offline
    F Offline
    Fausto01
    wrote on last edited by
    #21

    Thank you guys, I'll try and give you an update asap

    1 Reply Last reply
    0
    • kkoehneK kkoehne

      @Fausto01 said in App released with windeployqt not showing UI:

      I've tried to set QT_DEBUG_PLUGINS=1 and run the application from terminal (even started as admin) but nothing has changed. I also checked the drivers and it is all updated. Any hint?

      Windows GUI apps do not have a console by default, and therefore also do not write debug information to the console. Instead, it goes to the central 'debug buffer'. You can see the output of the buffer by a) launching your app in an IDE like Qt Creator, or b) run the standalone dbgview.exe.

      (Caveat: Only one client should listen to the debug buffer at any given time on the whole machine.)

      Try this, and setting QT_DEBUG_PLUGINS environment variable should really print you a lot of information.

      F Offline
      F Offline
      Fausto01
      wrote on last edited by
      #22

      @kkoehne I've tried but nothing appears again. My application is compiled in release mode, do I have to build it in debug mode to see the output from dbgview?

      JonBJ 1 Reply Last reply
      0
      • F Fausto01

        @kkoehne I've tried but nothing appears again. My application is compiled in release mode, do I have to build it in debug mode to see the output from dbgview?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #23

        @Fausto01
        You should not need to compile for Debug in order to get the diagnostic output from setting environment variable QT_DEBUG_PLUGINS=1 when you run your application. Are you sure you did this correctly before launching your program, so many people seem to get this wrong?

        F 1 Reply Last reply
        0
        • JonBJ JonB

          @Fausto01
          You should not need to compile for Debug in order to get the diagnostic output from setting environment variable QT_DEBUG_PLUGINS=1 when you run your application. Are you sure you did this correctly before launching your program, so many people seem to get this wrong?

          F Offline
          F Offline
          Fausto01
          wrote on last edited by
          #24

          @JonB this are the steps I've done:

          1. Open dbgview.exe (should I do something else?)
          2. Open a terminal in the installation folder of my application
          3. On the terminal -> "set QT_DEBUG_PLUGINS=1"
          4. On the terminal -> ./MyApp.exe
          5. Check if dbgview.exe has printed something

          Is it correct?

          JonBJ 1 Reply Last reply
          0
          • F Fausto01

            @JonB this are the steps I've done:

            1. Open dbgview.exe (should I do something else?)
            2. Open a terminal in the installation folder of my application
            3. On the terminal -> "set QT_DEBUG_PLUGINS=1"
            4. On the terminal -> ./MyApp.exe
            5. Check if dbgview.exe has printed something

            Is it correct?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #25

            @Fausto01
            Yes, those are the correct steps. I do not use Windows/dbgview so I do not know why you do bot see the diagnostics. I will leave it for @kkoehne to comment further.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              Fausto01
              wrote on last edited by
              #26

              Note: as i previously said, I've tried to create a file just after the creation of QApplication but the file was not created. Seems that the application is not starting, even if I see it running on the task manager

              1 Reply Last reply
              0
              • F Offline
                F Offline
                Fausto01
                wrote on last edited by
                #27

                Ok I've tried to create a file before and after the creation of QApplication. The file before QApplication in created, the file after is not created because the app stucks in the creation of QApplication (after the creation I have a return 0 but the app is running on task manager). Any hint?

                J.HilkJ 1 Reply Last reply
                0
                • F Fausto01

                  Ok I've tried to create a file before and after the creation of QApplication. The file before QApplication in created, the file after is not created because the app stucks in the creation of QApplication (after the creation I have a return 0 but the app is running on task manager). Any hint?

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

                  @Fausto01 the obvious one, have you tried qt 5.15 ?
                  5.14 is no longer supported and may or may not have had bugs related to your issue :D


                  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.

                  F 2 Replies Last reply
                  2
                  • J.HilkJ J.Hilk

                    @Fausto01 the obvious one, have you tried qt 5.15 ?
                    5.14 is no longer supported and may or may not have had bugs related to your issue :D

                    F Offline
                    F Offline
                    Fausto01
                    wrote on last edited by
                    #29

                    @J-Hilk No I don't, I will try and give you an update

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

                      @Fausto01 the obvious one, have you tried qt 5.15 ?
                      5.14 is no longer supported and may or may not have had bugs related to your issue :D

                      F Offline
                      F Offline
                      Fausto01
                      wrote on last edited by
                      #30

                      @J-Hilk Seems that with Qt 5.15.2 the problem is solved... I don't know how much time I spent trying to solve. Thank you! I'll be back if I see some other issues :)

                      1 Reply Last reply
                      1

                      • Login

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