Forum
Sign Up

Can't use Office2016 style while disabling AA_DontCreateNativeWidgetSiblings

1 year 1 month ago - 1 year 1 month ago #7 by Adam
If I disable AA_DontCreateNativeWidgetSiblings, the rendering problems go away assuming I have also turned off the Qtitanribbon Office2016 style. If I leave the Office2016 style on and disable AA_DontCreateNativeWidgetSiblings, then the Ribbon UI hangs on startup.

But we have to use the qtitanribbon Office2016 style(or some derivative of it that we create for our specific purposes) to properly display the ribbons.
Last edit: 1 year 1 month ago by Adam.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #8 by Adam
Any updates? I posted a screenshot and answered your questions.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #9 by Developer Machines
Unfortunately, we can't reproduce the issue by your description. We have commented out AA_DontCreateNativeWidgetSiblings here:

MaterialWidget::MaterialWidget(QWidget* parent, Qt::WindowFlags f)
{
...
//qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
}

Office 2016 style works as expected.
Last edit: 1 year 1 month ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #10 by Adam
Thanks for the response. If I disable the creation of our main OpenGL window on startup, the hang goes away. If I later click a button in the UI to create the OpenGL window, everything appears fine. So I know it's related to the creation of the OpenGL window.

We trigger the creation of the OpenGL window on startup via a singleShot QTimer event. It was set to 0 second delay. I changed it to a 10s delay for testing and the hang is still there. There's someting problematic about the singeShot event. Any ideas?

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.248 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • support@devmachines.com

  • license@devmachines.com

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • support@devmachines.com( any questions related to our products or services )
  • license@devmachines.com( questions related to licensing )