Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58664

QtWidget Windows Vista Style - MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.7.0, 5.8.0
    • Widgets: Styles
    • Windows 10 Enterprise LTSB 64 Bits

    Description

      I found an error in an if conditional, where it did not return the value of sz.

      Because of this problem I could never compile qtbase-source.

      Error:
      @1872,9
      #ifndef QT_NO_MENUBAR
      case CT_MenuBarItem:
      if (!sz.isEmpty()) //This Error
      sz += QSize(windowsItemHMargin * 5 + 1, 5);
      return sz;
      break;
      #endif

      Solution:

      #ifndef QT_NO_MENUBAR
      case CT_MenuBarItem:
      if (!sz.isEmpty())

      { sz += QSize(windowsItemHMargin * 5 + 1, 5); return sz;}

      break;
      #endif

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mmutz Marc Mutz
            kassane Matheus Catarino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes