build error with QT 5.7.1
caulier.gilles at gmail.com
Tue Apr 30 06:29:27 BST 2019
I don't think that problem is relevant of Qt 5.7.1. I know that
Qt5.6.3 still supported.
The checkAmbiguousShortcuts() method is defined in parent class of
... from KF5XmlGui framework. The right question is : which minimal
KF5 version is required to support this method from KF5 ?
The KF5 API doc has this information :
=> 5.3.0. So it's a very old method in fact. We are in KF5::5.57 currently.
So i suspect a linking problem on your computer, as for exemple a
wrong export of this method. here readelf is informative :
[gilles at localhost lib64]$ pwd
[gilles at localhost lib64]$ readelf -Ws libKF5XmlGui.so.5.57.0 | grep
1878: 00000000000cd0c0 2704 FUNC GLOBAL DEFAULT 12
[gilles at localhost lib64]$
So the function is here and available.
Another point is to check if dxmlguiwindow.o is well linked with
libKF5XmlGui.so through digikamwidgetscore object. Here, using "export
VERBOSE=1" before to run make in digikam build directory will be
Le mar. 30 avr. 2019 à 00:39, Simon Frei <freisim93 at gmail.com> a écrit :
> I get the following error trying to build 6.1.0 with qt 5.7.1:
> nview/dxmlguiwindow.cpp: In member function 'void
> .../core/libs/widgets/mainview/dxmlguiwindow.cpp:247:29: error:
> 'checkAmbiguousShortcuts' was not declared in this scope
> recipe for target
> make: ***
> Error 1
> CMakeFiles/Makefile2:2304: recipe for target
> 'core/libs/widgets/CMakeFiles/digikamwidgetscore_src.dir/all' failed
> make: ***
> [core/libs/widgets/CMakeFiles/digikamwidgetscore_src.dir/all] Error 2
> make: *** Waiting for unfinished jobs....
> As far as I am aware 5.7.1 should still be supported, correct? Any idea
> how to fix it?
> Thanks in advance for any help!
More information about the Digikam-devel