Bug 507657 - app/utils/digikam_globals_bundles.cpp build failled with error
Summary: app/utils/digikam_globals_bundles.cpp build failled with error
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (other bugs)
Version First Reported In: 8.8.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-30 06:11 UTC by pascal lacroix
Modified: 2025-07-30 09:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pascal lacroix 2025-07-30 06:11:15 UTC
***
app/utils/digikam_globals_bundles.cpp build failled with error :

digikam/core/app/utils/digikam_globals_bundles.cpp: In function ‘void Digikam::delayForRemoteDebuging()’:
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-04-03/digikam/core/app/utils/digikam_globals_bundles.cpp:519:9: error: ‘QElapsedTimer’ was not declared in this scope
  519 |         QElapsedTimer etimer;
      |         ^~~~~~~~~~~~~
/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-04-03/digikam/core/app/utils/digikam_globals_bundles.cpp:520:9: error: ‘etimer’ was not declared in this scope; did you mean ‘QTimer’?
  520 |         etimer.start();
      |         ^~~~~~
      |         QTimer
make[2]: *** [core/libs/widgets/CMakeFiles/core_digikamwidgets_obj.dir/build.make:264 : core/libs/widgets/CMakeFiles/core_digikamwidgets_obj.dir/__/__/app/utils/digikam_globals_bundles.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:10027 : core/libs/widgets/CMakeFiles/core_digikamwidgets_obj.dir/all] Erreur 2
make: *** [Makefile:146 : all] Erreur 2

***



SOFTWARE/OS VERSIONS

Linux mint 22.1
Environnement de développement de KDE 
Version 5.115.0
Qt 
Version 5.15.13 (Compilé avec 5.15.13)

ADDITIONAL INFORMATION

Last Build and run fine  :
https://invent.kde.org/graphics/digikam/commit/fafb06504c79d32429c41945cc7fd7fc9933d46d
Comment 1 Maik Qualmann 2025-07-30 06:44:54 UTC
Git commit 6e572356a3d176e9d3f6e3b867fb1bcbeb9a7d0d by Maik Qualmann.
Committed on 30/07/2025 at 06:44.
Pushed by mqualmann into branch 'master'.

try to fix build with Qt5

M  +1    -0    core/app/utils/digikam_globals_p.h

https://invent.kde.org/graphics/digikam/-/commit/6e572356a3d176e9d3f6e3b867fb1bcbeb9a7d0d
Comment 2 caulier.gilles 2025-07-30 07:05:21 UTC
Git commit dd54b555b8de160342d613423f1f180e881a6925 by Gilles Caulier.
Committed on 30/07/2025 at 06:50.
Pushed by cgilles into branch 'master'.

fix broken Qt5 compilation

M  +3    -0    core/app/utils/digikam_globals_p.h

https://invent.kde.org/graphics/digikam/-/commit/dd54b555b8de160342d613423f1f180e881a6925
Comment 3 pascal lacroix 2025-07-30 09:03:26 UTC
Thanks,

https://invent.kde.org/graphics/digikam/commit/cf1f00f8b9391e6606c4a55d53ab442b2ced777c

Builded en runing nicely with QT5 ( Linux Mint )