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

Mac OS/macx-g++-32/QtGui compilation error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.0.2
    • 5.0.1
    • GUI: Look'n'Feel
    • None
    • macOS

    Description

      Compilation error:
      objective-c styles/qmacstyle_mac.mm
      compiling ../corelib/global/qt_pch.h
      styles/qmacstyle_mac.mm: In member function ‘virtual void QMacStyle::drawPrimitive(QStyle::PrimitiveElement, const QStyleOption*, QPainter*, const QWidget*) const’:
      styles/qmacstyle_mac.mm:3104: error: conversion from ‘CGRect’ to non-scalar type ‘NSRect’ requested
      styles/qmacstyle_mac.mm: In member function ‘virtual void QMacStyle::drawComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, QPainter*, const QWidget*) const’:
      styles/qmacstyle_mac.mm:5031: error: conversion from ‘NSRect’ to non-scalar type ‘CGRect’ requested
      styles/qmacstyle_mac.mm:5038: error: conversion from ‘CGRect’ to non-scalar type ‘NSRect’ requested
      make[4]: *** [.obj/debug-shared/qmacstyle_mac.o] Error 1
      make[3]: *** [debug-all] Error 2
      make[2]: *** [sub-widgets-make_first] Error 2

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            torokze Zoltán Török
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes