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

qproperty_p.h - QObjectCompatProperty - error during compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Out of scope
    • Affects Version/s: 6.2.0 Beta2
    • Fix Version/s: None
    • Component/s: Core: Object Model
    • Labels:
      None
    • Environment:
    • Platform/s:
      All, Linux/Wayland, Linux/X11, Linux/Yocto

      Description

      Hello,

      For an opensource project, I wanted to compile Qt 6.2 Beta 2 for Raspberry PI 4.

      I am using Linux Mint 20.2 as host and gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf as compiler and the latest version of Raspberry Pi OS Lite.

      I found that qproperty_p.h has compile error as shown in the photo BUG_ONE.png

      The origin of the problem is when you call this macro Q_OBJECT_COMPAT_PROPERTY with Signal=nullptr

      I fixed this problem as shown in the picture BUG_2.png

        Attachments

        1. BUG_ONE.png
          BUG_ONE.png
          1.11 MB
        2. BUG_2.png
          BUG_2.png
          44 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            malek.khlif Malek Khlif
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes