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. qtquick (qml) programs hanging

qtquick (qml) programs hanging

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 562 Views 1 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.
  • J Offline
    J Offline
    John Plummer
    wrote on last edited by
    #1

    Manufacturer replaced my laptop with a better model under service contract. Windows 10 Home, GTX 2070 graphics. Loaded Qt. Using Qt Creator 4.15.0 (based on Qt 5.15.2). Qt Widget programs all compile and execute flawlessly. However, any QtQuick program, even a new unmodified one, opens the app's window and hangs. Shows 'not responding' when hovered over. Happens regardless of kits or make selected. I suspect it may be a Windows issue (perhaps Defender blocking) but could discover nothing in this forum or an Internet search to resolve it. Any suggestions as to where to look would be appreciated. The QtQuick apps ran fine on the previous laptop. No other programs experiencing problems so far.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      and you updated the GFX drivers so they are surely up to date ?
      and congrats with the new laptop :)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        John Plummer
        wrote on last edited by
        #3

        Solved sort of. Found a message under 'qml stuck' which indicated the problem. One other change with the new laptop was the addition of a Thunderbolt docking station. That post indicated a problem with qml on docking stations due to display drivers. This is a workaround. If you run Qt Creator on the laptop screen it compiles and runs. You can then move the app to the docked monitor and it runs there okay. This only applies to qml. Creator works fine with Qt widget applications on the docked monitor.

        mrjjM 1 Reply Last reply
        1
        • J John Plummer

          Solved sort of. Found a message under 'qml stuck' which indicated the problem. One other change with the new laptop was the addition of a Thunderbolt docking station. That post indicated a problem with qml on docking stations due to display drivers. This is a workaround. If you run Qt Creator on the laptop screen it compiles and runs. You can then move the app to the docked monitor and it runs there okay. This only applies to qml. Creator works fine with Qt widget applications on the docked monitor.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @John-Plummer
          Ahh good info.
          So the Displayport driver will interfere with accelerated graphics it seems.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            John Plummer
            wrote on last edited by
            #5

            Thanks mrjj. The other post suggests the usb display drivers for the port are the problem. The laptop is an Alienware. Under maintenance contracts if they cannot get the repair parts in a reasonable time they offer a refurb'ed machine. Went up 3 generations in cpu, 16 to 32 gb mem and from 1 256GB ssd's to 3 512's. That made consolidating my older desktop and laptop to the laptop with docking a better setup. I may email the port vendor for their input.

            mrjjM 1 Reply Last reply
            0
            • J John Plummer

              Thanks mrjj. The other post suggests the usb display drivers for the port are the problem. The laptop is an Alienware. Under maintenance contracts if they cannot get the repair parts in a reasonable time they offer a refurb'ed machine. Went up 3 generations in cpu, 16 to 32 gb mem and from 1 256GB ssd's to 3 512's. That made consolidating my older desktop and laptop to the laptop with docking a better setup. I may email the port vendor for their input.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @John-Plummer
              Well that is a beefy upgrade :)

              i have some IT issues involving usb DisplayPort adaptors so i can believe that.

              I guess its workable considering you could just make app jump to laptop display as soon as started so Creator and debugger be on
              the external screen and the app on the laptop.

              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