[SOLVED]QtCreator 3.3.0 cannot load plugins since botan-1.11

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[SOLVED]QtCreator 3.3.0 cannot load plugins since botan-1.11

Postby neXusPi2 » Sun Feb 22, 2015 2:48 pm

I try to run QtCreator on my raspberry pi2 but without much success. Since the botan package was updated from 1.10 to 1.11, QtCreator cannot load plugins anymore. For example, the libProjectExplorer fails with:

Cannot load library /usr/lib/qtcreator/plugins/libProjectExplorer.so: (libbotan-1.10.so.0: cannot open shared object file: No such file or directory)

Because libbotan 1.11 is not ABI compatible to 1.10 a symlink doesn't help here. QtCreator and/or its plugins must be rebuilt againt libbotan 1.11, I think.
Last edited by neXusPi2 on Wed Feb 25, 2015 8:04 am, edited 1 time in total.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator 3.3.0 cannot load plugins since botan-1.11

Postby neXusPi2 » Tue Feb 24, 2015 7:58 am

I've tried to recompile QtCreator 3.3.0 against botan 1.11 via PKGBUILD. But that fails, because botan 1.11 does no longer contain the header file ui.h. Any idea?

I think, this problem is not ARM related, QtCreator should also be broken on i686 and x86_64.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator 3.3.0 cannot load plugins since botan-1.11

Postby neXusPi2 » Wed Feb 25, 2015 8:03 am

Now, QtCreator 3.3.1 is availabe for i686 and x86_64. I've modified the PKGBUILD file to also support armv7h and tried again to compile QtCreator for my raspberry pi2.

QtCreator 3.3.1 is still not compatible to botan 1.11 but now it defaults to a local implementation of botan in
src/qt-creator/src/libs/3rdparty/botan
instead of the botan system package.

Again, the compilation was still not possible, because the local botan implementation does not properly support the ARM architecture. I've added this patch to botan.h and botan.cpp: https://codereview.qt-project.org/79728 and then I was finally able to build qtcreator, with -j4 it takes 5 hours :-)

Now, I have a qtcreator-3.3.1-1-armv7h.pkg.tar.xz that works fine with all plugins. Once, the arch repo for arm is officially updated to QtCreator 3.3.1, this procedure is no longer necessary.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests