help build kde-connect kde

Aleix Pol aleixpol at kde.org
Sun May 31 22:11:39 UTC 2015


On Sun, May 31, 2015 at 5:52 PM, Utvikler Konto <kontoforutv at gmail.com> wrote:
> Adding instructions for building to the wiki, is something that really
> should be done, as it considerably lowers the barrier for people picking up
> and messing around with the project.
>
> I recently started looking at it and have built it with Qt Creator, and I
> can add instructions if no one else wants to do it. Only thing is, I'm not
> really familiar with the Qt ecosystem, and I've now run into a problem with
> not managing to debug the KDE side of things (Android side is fine), and it
> gives me this error:
>
> This does not seem to be a "Debug" build.
>
> Setting breakpoints by file name and line number may fail.
>
>
> Section .debug_info: Not found.
>
> Section .debug_abbrev: Not found.
>
> Section .debug_line: Not found.
>
> Section .debug_str: Not found.
>
> Section .debug_loc: Not found.
>
> Section .debug_range: Not found.
>
> Section .gdb_index: Not found.
>
> Section .note.gnu.build-id: Found.
>
> Section .gnu.hash: Found.
>
> Section .gnu_debuglink: Not found.
>
>
>
> And, indeed, there does not seem to be a debug build. How do you guys manage
> to debug things? Are you even using Qt Creator, or is KDevelop the preferred
> IDE?
>
>
> As a last little nag, there's s'posed to be work done on replying to SMS
> from the desktop, anyone know if there's any progress on that?
>
>
>
> Den 09. mai 2015 18:11, skrev Holger Kaelberer:
>
>
>
> On 09.05.2015 15:26, vineet garg wrote:
>
> Hi,
> Qca refers to Qt cryptographic architecture. We are using that for
> encryption purposes. So to build
> kde connect, you need to install that first. There are currently two
> versions of Qca available on
> repository. Make sure to install libqca-qt5-2 package and also it's dev or
> headers package.
> Sometimes an earlier version of Qca is already installed, so you have to
> change the symlink also or
> if it is not present make a new one called libqca.so pointing to
> libqca-qt5.so library, in your
> /usr/libs/x86_64-linux-gnu folder.
> Similarly install any other package and its dev package also like this which
> is shown missing during
> build. Symlink part won't be needed fir any other library they will be
> automatically generated.
>
>
> A good shortcut for debian based distros is often something like
>
> apt-get build-dep  kdeconnect
>
> (if the source you want to build is not too new with respect to the distro's
> version.)
>
> Holger
>
> I hope this will help.
> Cheers
> Vineet
>
> On 09-May-2015 6:37 PM, "Konstantinos Athanasiou" <dinosath0 at gmail.com
> <mailto:dinosath0 at gmail.com>>
> wrote:
>
>     Hello, i have a problem building kde-connect kde master branch in ubuntu
> 15.04. At first cmake
>     couldn't find KF5Config.cmake . after a reply from kver who had the
> exact same problem i
>     installed some dependencies but now i get the following errors:
>
>     CMake Error at CMakeLists.txt:15 (find_package):
>        By not providing "FindQca-qt5.cmake" in CMAKE_MODULE_PATH this
> project has
>        asked CMake to find a package configuration file provided by
> "Qca-qt5", but
>        CMake did not find one.
>
>        Could not find a package configuration file provided by "Qca-qt5"
>        (requested version 2.1.0) with any of the following names:
>
>          Qca-qt5Config.cmake
>          qca-qt5-config.cmake
>
>        Add the installation prefix of "Qca-qt5" to CMAKE_PREFIX_PATH or set
>        "Qca-qt5_DIR" to a directory containing one of the above files. If
>        "Qca-qt5" provides a separate development package or SDK, be sure it
> has
>        been installed.
>
>
>     Can someone add instructions for building kde-connect kde in the readme
> or the kde connect kde
>     community wiki?

Hi,
I'm not really familiar with these QtCreator warnings as I'm using
KDevelop indeed, although it shouldn't make a difference.

Just make sure the build directory is configured with CMAKE_BUILD_TYPE=debug.

Cheers!
Aleix


More information about the KDEConnect mailing list