<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>512928</bug_id>
          
          <creation_ts>2025-12-04 07:48:18 +0000</creation_ts>
          <short_desc>The compilation stops with an error in core_itemproperties_obj</short_desc>
          <delta_ts>2025-12-25 10:59:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Portability-Compilation</component>
          <version>9.0.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="pascal lacroix">kikoucalou</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/5ceb4824e3ec1c7a8bcfd4baacf54375ecfa47ed</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2474413</commentid>
    <comment_count>0</comment_count>
    <who name="pascal lacroix">kikoucalou</who>
    <bug_when>2025-12-04 07:48:18 +0000</bug_when>
    <thetext>Build failled with error :

``` txt* make core_itemproperties_obj 2&gt;&amp;1 | grep -A10 -B5 &quot;error:\|Error:\|ERROR:&quot;
                 from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab_p.h:17,
                 from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:16:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here
   78 |     const QPixmap *pixmap() const; // ### Qt 7: Remove function
      |                    ^~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:382:50: error: request for member ‘isNull’ in ‘((Digikam::ItemPropertiesTab::Private*)((Digikam::ItemPropertiesTab*)this)-&gt;Digikam::ItemPropertiesTab::d)-&gt;Digikam::ItemPropertiesTab::Private::labelPick-&gt;QLabel::pixmap()’, which is of pointer type ‘const QPixmap*’ (maybe you meant to use ‘-&gt;’ ?)
  382 |     bool hasPickLabel  = !d-&gt;labelPick-&gt;pixmap().isNull();
      |                                                  ^~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:387:48: warning: ‘const QPixmap* QLabel::pixmap() const’ is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations]
  387 |     bool hasColorLabel = !d-&gt;labelColor-&gt;pixmap().isNull();
      |                           ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here
   78 |     const QPixmap *pixmap() const; // ### Qt 7: Remove function
      |                    ^~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:387:51: error: request for member ‘isNull’ in ‘((Digikam::ItemPropertiesTab::Private*)((Digikam::ItemPropertiesTab*)this)-&gt;Digikam::ItemPropertiesTab::d)-&gt;Digikam::ItemPropertiesTab::Private::labelColor-&gt;QLabel::pixmap()’, which is of pointer type ‘const QPixmap*’ (maybe you meant to use ‘-&gt;’ ?)
  387 |     bool hasColorLabel = !d-&gt;labelColor-&gt;pixmap().isNull();
      |                                                   ^~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:392:49: warning: ‘const QPixmap* QLabel::pixmap() const’ is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations]
  392 |     bool hasRating     = !d-&gt;labelRating-&gt;pixmap().isNull();
      |                           ~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here
   78 |     const QPixmap *pixmap() const; // ### Qt 7: Remove function
      |                    ^~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/core/libs/properties/itempropertiestab.cpp:392:52: error: request for member ‘isNull’ in ‘((Digikam::ItemPropertiesTab::Private*)((Digikam::ItemPropertiesTab*)this)-&gt;Digikam::ItemPropertiesTab::d)-&gt;Digikam::ItemPropertiesTab::Private::labelRating-&gt;QLabel::pixmap()’, which is of pointer type ‘const QPixmap*’ (maybe you meant to use ‘-&gt;’ ?)
  392 |     bool hasRating     = !d-&gt;labelRating-&gt;pixmap().isNull();
      |                                                    ^~~~~~
make[3]: *** [core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/build.make:116 : core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/itempropertiestab.cpp.o] Erreur 1
make[3] : on quitte le répertoire « /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/obj-x86_64-linux-gnu »
make[2]: *** [CMakeFiles/Makefile2:12617 : core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/all] Erreur 2
make[2] : on quitte le répertoire « /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/obj-x86_64-linux-gnu »
make[1]: *** [CMakeFiles/Makefile2:12624 : core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/rule] Erreur 2
make[1] : on quitte le répertoire « /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/mygit/digikam-8.8.0-dev-202512040742/obj-x86_64-linux-gnu »
make: *** [Makefile:1690 : core_itemproperties_obj] Erreur 2
```

Linux mint 22-2

Environnement de développement de KDE 
Version 5.115.0

Qt 
Version 5.15.13 (Compilé avec 5.15.13)

ADDITIONAL INFORMATION

My last nicely build was from december 3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2474419</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2025-12-04 08:56:17 +0000</bug_when>
    <thetext>Git commit 5ceb4824e3ec1c7a8bcfd4baacf54375ecfa47ed by Gilles Caulier.
Committed on 04/12/2025 at 08:55.
Pushed by cgilles into branch &apos;master&apos;.

Fix Qt5 broken compilation
FIXED-IN: 8.9.0

M  +1    -1    NEWS
M  +28   -0    core/libs/properties/itempropertiestab.cpp

https://invent.kde.org/graphics/digikam/-/commit/5ceb4824e3ec1c7a8bcfd4baacf54375ecfa47ed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>