Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Having issues starting a majority of QT-created apps
Qt 6.11 is out! See what's new in the release blog

Having issues starting a majority of QT-created apps

Scheduled Pinned Locked Moved Unsolved General and Desktop
37 Posts 5 Posters 30.6k Views 4 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.
  • hskoglundH Offline
    hskoglundH Offline
    hskoglund
    wrote on last edited by
    #28

    Hi to submit it as a bug, best would be to have a small working, reproducible example.
    For example. if you could try download and install Qt on your Windows 10 and build a simple Widgets app (no coding necessary, just select a Widgets app and Build/Run.

    Then when you try to start that simple Widgets app and it glitches out, we're in business.

    D 1 Reply Last reply
    1
    • hskoglundH hskoglund

      Hi to submit it as a bug, best would be to have a small working, reproducible example.
      For example. if you could try download and install Qt on your Windows 10 and build a simple Widgets app (no coding necessary, just select a Widgets app and Build/Run.

      Then when you try to start that simple Widgets app and it glitches out, we're in business.

      D Offline
      D Offline
      darkaegis
      wrote on last edited by darkaegis
      #29

      Unfortunately, since I think the Qt installer is based on Qt, it never makes it through completely. Sometimes it chokes when it's downloading the packages, sometimes it chokes on the "selection" screen, and sometimes it chokes halfway through installation, but it never makes it through completely without crashing or messing up to the point where I can't go any further. Similar story with the offline installation.

      I'll keep trying to install it, but I don't think I'll have any luck.

      hskoglundH 1 Reply Last reply
      0
      • D darkaegis

        Unfortunately, since I think the Qt installer is based on Qt, it never makes it through completely. Sometimes it chokes when it's downloading the packages, sometimes it chokes on the "selection" screen, and sometimes it chokes halfway through installation, but it never makes it through completely without crashing or messing up to the point where I can't go any further. Similar story with the offline installation.

        I'll keep trying to install it, but I don't think I'll have any luck.

        hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #30

        @darkaegis Oh for sure the installer app is 100% Qt.
        But if you another Windows PC around, you could install Qt and build a vanilla Widgets app on that PC, then run windeployqt on the .exe and copy the files over to your main culprit.

        1 Reply Last reply
        1
        • D Offline
          D Offline
          darkaegis
          wrote on last edited by
          #31

          Ah, I should've thought of that. That'll be my next step. Thanks for the suggestion.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mchinand
            wrote on last edited by
            #32

            Are all of the applications that use Qt using their own copy of the Qt dlls? Did any of them add their directory to your PATH environment variable?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              darkaegis
              wrote on last edited by darkaegis
              #33

              It does look like all of them are using their own copy of the Qt dlls. At least, for every app that I'm having errors, the Qt dlls are either within the application folder, or within a temporary folder created by the application (in the case of the Vive installer).

              I also realized something - a lot of the same errors I had on the Linux install, I had with the Windows install before it crashed or just didn't work outright. There's a possibility that my issues do extend to Linux, although it seems as if they were less severe since I was able to get the program running, at least.

              Installing it on my media PC right now to test. No errors at all, predictably.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                darkaegis
                wrote on last edited by
                #34

                Well, this is frustrating. I've built and successfully run chip, colliding mice, and Google Suggest with no errors or issues. Seems I need either something specific, something more complex, or both to trigger it.

                Problem is, since I have no idea how this all works, when I try to build more complex programs, they're starting blank because I have no idea how to compile and run them with their resources for use outside of Qt. As of now, though, I'm at a dead end. I'll attempt to build and run a few more of these over the weekend.

                hskoglundH 1 Reply Last reply
                0
                • D darkaegis

                  Well, this is frustrating. I've built and successfully run chip, colliding mice, and Google Suggest with no errors or issues. Seems I need either something specific, something more complex, or both to trigger it.

                  Problem is, since I have no idea how this all works, when I try to build more complex programs, they're starting blank because I have no idea how to compile and run them with their resources for use outside of Qt. As of now, though, I'm at a dead end. I'll attempt to build and run a few more of these over the weekend.

                  hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by hskoglund
                  #35

                  Well, from a Qt standpoint this is somewhat good news, I mean that simple apps perform nominally.

                  Probably means that those more complex, real Qt apps use some additional resources that makes them go south. Have you tried some sound demo?

                  BTW: have you got some fancy hardware plugged in to your USB connectors? Like video-camera? Pull 'em all out :-)

                  Edit: also try removing your network cable. I know, I'm somewhat at my wit's end.

                  Edit 2nd time: if you want to go full medieval on this one, you could try installing an older version of Qt on your media PC (say that 5.6.0 version that Origin is built with) and test some demos on that version on your Win10.

                  D 1 Reply Last reply
                  1
                  • hskoglundH hskoglund

                    Well, from a Qt standpoint this is somewhat good news, I mean that simple apps perform nominally.

                    Probably means that those more complex, real Qt apps use some additional resources that makes them go south. Have you tried some sound demo?

                    BTW: have you got some fancy hardware plugged in to your USB connectors? Like video-camera? Pull 'em all out :-)

                    Edit: also try removing your network cable. I know, I'm somewhat at my wit's end.

                    Edit 2nd time: if you want to go full medieval on this one, you could try installing an older version of Qt on your media PC (say that 5.6.0 version that Origin is built with) and test some demos on that version on your Win10.

                    D Offline
                    D Offline
                    darkaegis
                    wrote on last edited by darkaegis
                    #36

                    That's good to hear. I've run a few more QT apps in the meantime. Subsurface, which uses 5.5.1.0, Teamspeak, and Telegram seem to work fine, so no idea what might be triggering it at this point.

                    I'll try a sound demo when I can get around to it. Wife is home, so the media center PC is occupied at the moment. In the meantime, I'll try unplugging everything from my USB drives. I don't have anything too fancy, really. Gaming keyboard and mouse, XQD reader, and Steam Remote dongle. I'll see how the games fare with everything unplugged.

                    I tried disabling my NIC completely earlier, because Origin was hinting at some sort of network issue (igoproxy64 was faulting half the time), but I'll try unplugging ethernet as well.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      darkaegis
                      wrote on last edited by darkaegis
                      #37

                      I had a potential breakthrough. Well, at least it may help scratch a few things off of the "potential issue" list and push the "more complex apps" theory, unless it's somehow unrelated.

                      I was kind of going down the list of Qt apps and seeing what crashed and what didn't, when I came to Marble.

                      It didn't crash upon launch and was stable until I spun the "globe" around a few times, when it stuttered, then crashed on me. I was monitoring my CPU and GPU use in external programs - very little to no GPU was used for the app, but the CPU was hovering between 9 and 20 percent.

                      Oddly, the first time it crashed pretty quickly, but the second and third times took a bit longer. I cleared the cache and it crashed again almost immediately, even though it doesn't seem to be using much more CPU. Every time I clear the cache it either immediately crashes or crashes in a few seconds.

                      Not 100% sure what that would point to, but it's something, at least.

                      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