Forum
Sign Up

QTitanRibbon4.13 with Qt5.10 problem

6 years 3 months ago #1 by Hongsheng Yao
QTitanRibbon4.13 with Qt5.10 has a problem

How to solve this problem.Thank you.


WindowCreationData::create: CreateWindowEx failed
Failed to create platform window for QWidgetWindow(0xc9e3390, name="Qtitan::RibbonBarClassWindow") with flags QFlags<Qt::WindowType>(WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint|WindowFullscreenButtonHint)
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
The program has unexpectedly finished.

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

More
6 years 2 months ago #2 by Ivano Francini
I actually tryed to make a patch in QtnOfficeFrameHelper_win.cpp

I swapped the two lines:

if (msg->message == WM_NCHITTEST)
{
if (m_hwndFrame && msg->hwnd != m_hwndFrame && (m_ribbonBar && m_ribbonBar->testAttribute(Qt::WA_NativeWindow) && msg->hwnd == (HWND)m_ribbonBar->winId()))
{

because else during the winID() creation phase this snippet will call again winId() and resulting in an infinite recursion. By replacing with the code above, the winId() function is created only during the correct message manipulation (and also should be a little more performing)
But, even with this code there are other issues, for instance the title bar does not move when clicked. Surely they will need to enable explicit 5.10 support.

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

More
6 years 2 months ago #3 by Developer Machines
This code will be completely rewritten in QtitanRibbon 5. In the very near future, i will give you an answer what can be done to make this work in QtitanRibbon 4.

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.128 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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )