Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Designer 5.3+ crashes when clicking inside the widget toolbox
Forum Updated to NodeBB v4.3 + New Features

QT Designer 5.3+ crashes when clicking inside the widget toolbox

Scheduled Pinned Locked Moved Qt Creator and other tools
designercrash
4 Posts 2 Posters 2.0k 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.
  • V Offline
    V Offline
    VincentFred
    wrote on last edited by
    #1

    Hello,

    I have a new developpement station that I'm setting up. I install the usual tools (Visual Studio, Vs-Addin, Qt libs etc.) Everything fits with my current computer (same os, Win7 Pro, 64 bit, 32gb ram, libs are installed in the same places).

    I have the weirdest of bug with Qt Designer. Whether I lunch it from inside VS2012 or straight from the /bin directory. It opens up fine, I can open existing ui files, edit properties, etc. But if I click on any widget to drag one, it crashes. I've tried

    Qt 5.3.1 (internal build)
    Qt 5.3.2 (build made by Tver-Soft)
    Qt 5.5.0 (build found on qt.io)

    They all crash as soon as I click in the widget toolbox. Funny thing, if I compile my application (with 5.3.2) it compiles just fine and runs without any problem. The problem only seem related to the Designer itself. It has no plugins installed in any of the versions. Simple vanila Qt.

    Funny enough, I tried Qt 4.7.4 (internal build) and it worked fine. I can edit documents add widgets, etc.

    My feeling thus far is it might be OpenGL/DirectX. This station has a simple on-board video card (Intel HD 4600) while other dev station have an NVidia Geforce GT something... But it seems far fetched.

    Crash report gives nothing interesting. Seems to come from ntdll.

    If anyone has a good idea, I'm willing to try it. Thanks alot!

    Vincent

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

      Hi and welcome to devnet,

      Do you mean that the nVidia powered station don't suffer from that but your with the Intel card does ?

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

        Sorry for the long time to reply. But we found the problem and I figure this might help some people. It was not related to the video driver at all.

        It was Dell Backup software. Apparently they are also Qt5 but install of distributing the dll alongside their application, they register the 32-bit DLL of Qt in the Windows registry. I was not aware, but this apparently preceeds the PATH lookup and even though our DLL where in the same directory as Qt Designer, it was loaded by Designer (x64 version) and would result in a crash.

        I since found similar issue:
        http://en.community.dell.com/support-forums/software-os/f/3526/t/19634253

        Now I'm sort of wondering if there would have been a way to prevent this from happening. Maybe change the DLLs name to a qtModuleName_CompleteVersion_Compiler_platform.dll scheme (like Qt5Core.dll becomes QtCore_5_4_1_MSVC110_x64.dll). We have some library on a similar model (GenICam).

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

          That's one situation that I haven't' see yet…

          AFAIK, you should be able to achieve that using the -qtlibinfix when building Qt yourself

          Thanks for sharing your finding !

          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