Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Bug in Qt5 and SOQT
Qt 6.11 is out! See what's new in the release blog

Bug in Qt5 and SOQT

Scheduled Pinned Locked Moved 3rd Party Software
1 Posts 1 Posters 1.6k 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.
  • M Offline
    M Offline
    MarianaB
    wrote on last edited by
    #1

    I am working on a software for surgical planning and use Qt (4), Coin3, and SOQT. However, recently when updating to Qt5, VS 3013 and 64-bit, I get a really weird bug. I have been working on it for 2 weeks now, so any ideas are appreciated!

    So when starting SoExaminerViewer (a viewer provided from SOQT), the screen stops repainting - that means the side bar labels and widgets don't get updated. I somehow solved that by moving this line of code:

    @this->setWindowState(Qt::WindowMaximized | Qt::WindowFullScreen | Qt::WindowActive);@

    from the constructor of QtMainWindow to the main application after showing the main window:

    @mainWindow.show();
    mainWindow.setWindowState(Qt::WindowMaximized | Qt::WindowFullScreen | Qt::WindowActive);@

    It seems the problem is with the WindowFullScreen state - did something with the window states change in Qt5, that I did not notice?

    That solved this problem but I still don't understand why is that happening. Now the ExaminerViewer widget is resized wrong and takes the whole central widget, instead of one forth of it as it should (since I have 4 viewers, axial, coronal, sagittal, and 3D). I imagine the two problems are related and the ugly workaround I did to solve the first problem, does not solve the issue but only one symptom.

    Anyone has any idea?

    Let me know if I should post more details.

    Many thanks,
    Mariana

    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