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. crash on maximize with TreeView/FileSystemWatcher
Forum Updated to NodeBB v4.3 + New Features

crash on maximize with TreeView/FileSystemWatcher

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 2 Posters 3.9k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    What version of Qt did you install ?

    And a silly question: does your production PC have a C drive ? Some aren't using C as default. It should not lead to a crash though.

    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
    • P Offline
      P Offline
      pmh4514
      wrote on last edited by pmh4514
      #3

      Hi - it's Qt5.1 64bit MSVC2012
      Yes there is a c: drive on the production machine. the drive structure and network attached drives are the same as on my dev box.. Each production machine I've tried shows the same issue.

      EDIT: Qt5.5.1 not 5.1

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

        Something's not clear, on your original post, you are writing about Qt 5.5.1 and not 5.1, which are you using ?
        One thing that I find surprising is that the faulty module is Qt5Gui since QFileSystemModel is part of the widgets module.

        How did you prepare your application for deployment ? Did you use windeployqt ?

        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
        • P Offline
          P Offline
          pmh4514
          wrote on last edited by
          #5

          Sorry, version 5.5, I mistyped.. Note the faulty module is 5.5.1

          All I did was compile the "release" build and then run it from a folder that contained all of the required DLLs.. Everything else about the application works just fine... Or maybe that's the problem, perhaps a required DLL is missing.. I'll go run depends.exe to see

          I'm not familiar with windeployqt, I'll have to learn about that as well

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

            windeployqt is a helper tool to ease Windows deployment. It should help you get started quickly.

            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
            • P Offline
              P Offline
              pmh4514
              wrote on last edited by
              #7

              So I ran the dependency walker, it only showed the following missing but I'm not sure where to acquire these:

              API-MS-WIN-CORE-KERNAL32-PRIVATE-L1-1-1.DLL
              API-MS-WIN-CORE-PRIVATEPROFILE-LT-1-1.DLL
              API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL
              API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
              EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
              IESHIMS.DLL

              Just to see, I copied over every single DLL from the Qt installation to my "production" machine runtime folder, and the problem persists.

              Maybe I'll try a re-install/repair of the visual studio redists next.

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

                None of these are needed.

                Did you also take the plugins into account ?

                And to be sure, you are not copying them from Qt Creator's folder ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                P 1 Reply Last reply
                0
                • SGaistS SGaist

                  None of these are needed.

                  Did you also take the plugins into account ?

                  And to be sure, you are not copying them from Qt Creator's folder ?

                  P Offline
                  P Offline
                  pmh4514
                  wrote on last edited by pmh4514
                  #9

                  I copied the DLLs from C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin

                  (I think I also mispoke earlier when I said 2012. been a long weekend...)

                  Still no luck after doing "repair" on the VC redist packages..

                  I do have a /plugins folder present, and a qt.conf file which specifies the path to it

                  edit: how can I tell if a plugin is missing?

                  edit2: I put all plugins folders in my plugins folder, and still no luck..

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pmh4514
                    wrote on last edited by
                    #10

                    ok so I tried this on a 4th PC (3 identical machines are showing the issue.) The 4th PC, no problem. This must have something to do with the filesystem or windows settings then, I really am at a loss! I have commercial license support from Qt, I've reached out to them as well.

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

                      How are you handling these machines ? All systems from a common clone ?

                      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
                      • P Offline
                        P Offline
                        pmh4514
                        wrote on last edited by
                        #12

                        generally we do a common clone, but in this case no. I say "production" but by that I just mean "not my development PC" (no Qt or visual studio installed)- the whole project is still not formally released.

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

                          Ok, did these 4 PCs got setup the same way ? All running Windows 8.1 with the same level of updates ?

                          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
                          • P Offline
                            P Offline
                            pmh4514
                            wrote on last edited by
                            #14

                            I think so but am not sure, a colleague of mine set them up. As far as I know they were all fresh Win8.1 setups, all latest windows updates applied.. I'll have to investigate that further.

                            1 Reply Last reply
                            0
                            • P Offline
                              P Offline
                              pmh4514
                              wrote on last edited by
                              #15

                              Still no luck on this one. I reached out to Qt support, they thought it might be the same as this bug:

                              https://bugreports.qt.io/browse/QTBUG-51065

                              But I verified there were no 3rd party software installed.. Baffling..
                              One one of the PCs that was failing consistently, I updated it to Win10 and the problem went away.

                              This might be workable for me as all "production machines" are still under my control, but it's rather disappointing.

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

                                Any other application that might be using Qt on these systems ?

                                I have used QFileSystemModel with Windows 8.1 without any problem. However I've been in a similar case as described in the bug report so I'd say it's worth to check what may have been installed on these machines.

                                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