Discussion:
[KPhotoAlbum] The KPA in Ubuntu 16.04 LTS ...
Andreas Schleth
2017-01-29 17:36:51 UTC
Permalink
Hi everybody,

I just checked the prepackaged KPA for Ubuntu 16.04 LTS (virgin install):

The program comes with a very misleading title ("open in raw editor") -
see screenshot from the sw-center (in german).

When installed KPA comes up OK in version 4.7 compiled with KDE 4.14.16

---

So, now I try to retrace the steps to install KPA manually using the
description in userbase.kde.org:

1. problem: apt-get does not find libkf5kgeomap-dev (no real problem, I
am going to build without kgeomap then )

2. problem: KF5DocTools missing (apt-get install kdoctools kdoctools-dev
fixes that -> Do we need only the *dev or both?)

3. The Final Problem: (same as reported previously):

/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp: In member function
‘void AnnotationDialog::Dialog::loadWindowLayout()’:
/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp:1242:23: error:
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock,
m_descriptionDock},{60,100},
^
/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp:1244:23: error:
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock,
m_previewD
^
CMakeFiles/kphotoalbum.dir/build.make:3374: die Regel fÃŒr Ziel
„CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o]
Fehler 1

---

Andreas
Tobias Leupold
2017-01-29 20:00:03 UTC
Permalink
Hi Andreas,
Post by Andreas Schleth
/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp: In member function
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock,
m_descriptionDock},{60,100},
^
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock,
m_previewD
^
CMakeFiles/kphotoalbum.dir/build.make:3374: die Regel für Ziel
„CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o]
Fehler 1
Could you check the latest git master? We added a compatibility patch that
should solve this issue. Please let us know if there's another problem like
this.

Cheers, Tobias
Andreas Schleth
2017-01-29 20:20:16 UTC
Permalink
Hi Tobias, Johannes,

yes, the latest commit compiles OK in my vbox. We have a running KPA
5.x on 16.04 LTS!

Thanks again - this was a productive weekend.

Andreas
Post by Tobias Leupold
Hi Andreas,
Post by Andreas Schleth
/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp: In member function
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock,
m_descriptionDock},{60,100},
^
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock,
m_previewD
^
CMakeFiles/kphotoalbum.dir/build.make:3374: die Regel für Ziel
„CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o]
Fehler 1
Could you check the latest git master? We added a compatibility patch that
should solve this issue. Please let us know if there's another problem like
this.
Cheers, Tobias
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Johannes Zarl-Zierl
2017-01-29 20:08:55 UTC
Permalink
Hi,
Post by Andreas Schleth
The program comes with a very misleading title ("open in raw editor") -
see screenshot from the sw-center (in german).
I'd wish for packagers to do some basic sanity testing :|
Is there already a bug report on that?
Post by Andreas Schleth
When installed KPA comes up OK in version 4.7 compiled with KDE 4.14.16
Seems fair.
Post by Andreas Schleth
So, now I try to retrace the steps to install KPA manually using the
1. problem: apt-get does not find libkf5kgeomap-dev (no real problem, I
am going to build without kgeomap then )
Thanks for noticing. I added a not on the wiki page...
Post by Andreas Schleth
2. problem: KF5DocTools missing (apt-get install kdoctools kdoctools-dev
fixes that -> Do we need only the *dev or both?)
Thanks for the feedback - I've added this information to the wiki page. You
need both packages, but *-dev packages always depend on their base package, so
installing kdoctools-dev installs both.
Post by Andreas Schleth
/home/as/kpa/kphotoalbum/AnnotationDialog/Dialog.cpp: In member function
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock,
m_descriptionDock},{60,100},
^
‘class QMainWindow’ has no member named ‘resizeDocks’
m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock,
m_previewD
^
CMakeFiles/kphotoalbum.dir/build.make:3374: die Regel für Ziel
„CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/kphotoalbum.dir/AnnotationDialog/Dialog.cpp.o]
Fehler 1
Tobias made that code conditional in the latest master. This part should
compile now...


Now, to the bigger issues:

Q: Do we want to support "old" Qt versions indefinitely?
A: Well, no - not without reason.
If we can't use new features in Qt and KDE frameworks in git master, we might
as well stop adding new features alltogether.

Q: Do we want to support Ubuntu 16.04 LTS?
A: Yes, because I (we?) think it's an important distro regarding our userbase.

Q: Are we able to support Ubuntu 16.04 LTS?
A: Not without your help.

Naturally, the CI infrastructure of the KDE project is geared towards new
versions of Qt and KDE frameworks. This is great for fixing new problems
early, but not at all helping with remaining compatible with older package
versions in distros out there.
A good package maintainer in the distro can reduce some of the strain, but in
this case it wouldn't have helped because KPA 5.1 was not released until well
after 16.04.
We (these days that means mostly Tobias and me) don't have the resources to
test with additional distros.

Therefore: we need your help as a user. I know it might be tedious at times
that things occasionally break. Your feedback is a welcome contribution to
help us provide a good product to you and others!


I hope this clears some of the confusion...

Thanks,
Johannes
Loading...