Closed ArchangeGabriel closed 5 years ago
Thanks for reporting!
Does building Qt only works? Which version of the KDE frameworks do you have? I assume this might be a missing dependency.
Building Qt only does not work:
In file included from ../ktikz-0.12/common/templatewidget.h:22,
from ../ktikz-0.12/common/templatewidget.cpp:19:
ui/ui_templatewidget.h:18:10: fatal error: ../common/utils/combobox.h: No such file or directory
#include "../common/utils/combobox.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1357: obj/templatewidget.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../ktikz-0.12/common/templatewidget.h:22,
from ../ktikz-0.12/common/tikzpreviewcontroller.cpp:49:
ui/ui_templatewidget.h:18:10: fatal error: ../common/utils/combobox.h: No such file or directory
#include "../common/utils/combobox.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
But that error just means you don’t support building from anywhere, only from a folder that is in the main directory. Changing that led to a successful Qt build. Should I open another issue for this?
But that does not change anything for ktikz. KDE Frameworks are 5.47. I would also bet on some missing docbook dependency, but not sure which one. Any idea?
OK, got it working by adding kdelibs4support
. Maybe you should add this to the dependency list?
(It contains dtd/kdex.dtd
, which was apparently the missing part.)
Maybe I should add it. Maybe I am not building something on my side. When I initially ported I had that framework but then I managed to get rid of it.
I can add it again untill we manage to correctly port this.
Regarding the Qt build you could create an issue but I will probably will not look at it soon. Because it would also affect the KDE build.
But if you create an issue we will be able to tracked it down
The kdelibs4support
is about dtd/kdex.dtd
file being required to build the doc apparently.
Can you send the comple build log including cmake generation. I am able to build it without kdelibs4support. I would like to check what is different about us
Can you try again with the lastest version on master. I looked at porting documentation and made some changes. I do not know if it is enough.
I am reluctant to add kdelibs4support
again as this is bad police. I think we should make the effort to correctly port it to KDE frameworks 5.
The issue with the DocBook documentation was fixed with commit 3b137b2a4f12f74a6bc68f3a6ac093994cc418a0.
I can confirm that this commit allows to remove kdelibs4support
from building dependencies. Congrats on getting rid of it, that effectively the good thing to do!
(And sorry for the long delay in answering…)
When trying to build the KDE version on ArchLinux: