Help with getting kmymoney working again on ubuntu 18.04

Christoph Adomeit Christoph.Adomeit at gatworks.de
Mon Sep 24 08:59:59 BST 2018


Hi,

I cannot compile from source because of the error:
> cmake:124 (add_library):
>   Target "qsqlcipher" links to target "Qt5::SqlPrivate" but the target was
>   not found.  Perhaps a find_package() call is missing for an IMPORTED
>   target, or an ALIAS target is missing?
>   Call Stack (most recent call first):
>   kmymoney/plugins/sqlcipher/CMakeLists.txt:29 (kcoreaddons_add_plugin)
>
>   -- Generating done
>   -- Build files have been written to: /u/src/kmymoney/build
>
Ubuntu does not have any packages to get this  compiled....

On Fri, Sep 21, 2018 at 10:12:13AM -0600, El Cas wrote:
> Sorry forgot to mention you need to build from the 5.0 branch
> 
> On Fri, Sep 21, 2018, 10:10 El Cas <eaglexboy at gmail.com> wrote:
> 
> > You will need to build from source as there is a bug with the current
> > Ubuntu version.
> >
> > On Fri, Sep 21, 2018, 09:26 Christoph Adomeit <
> > Christoph.Adomeit at gatworks.de> wrote:
> >
> >> Hi there,
> >>
> >> I have used kmymoney 4.x so far (the standard kmymoney binary that came
> >> with ubuntu 16.4)
> >>
> >> All My data is in a mysql database
> >>
> >> Now I updated my ubuntu to 18.04 and it comes witj kmymoney 5.0.
> >>
> >> I cannot open my database anymore.
> >>
> >> When I open my mysql database from kmymoney i get this error:
> >>
> >> Error in function int MyMoneyStorageSql::open(const QUrl&, int, bool) :
> >> opening database
> >> Driver = QMYSQL, Host = localhost, User = root, Database = /KMyMoney
> >> Driver Error: QMYSQL: Unable to connect
> >> Database Error No 1049: Unknown database '/KMyMoney'
> >> Text: Unknown database '/KMyMoney' QMYSQL: Unable to connect
> >> Error type 1
> >> Executed:
> >> Query error No -1:
> >>
> >>
> >> There is a slash to much prepended to the Database name.
> >>
> >> According to Bugtracker this Bug has been fixed in May.
> >>
> >> So I am trying to now to copile master myself on ubuntu 18.04.
> >>
> >> But here I have this error:
> >>
> >> cmake:124 (add_library):
> >>   Target "qsqlcipher" links to target "Qt5::SqlPrivate" but the target was
> >>   not found.  Perhaps a find_package() call is missing for an IMPORTED
> >>   target, or an ALIAS target is missing?
> >>   Call Stack (most recent call first):
> >>   kmymoney/plugins/sqlcipher/CMakeLists.txt:29 (kcoreaddons_add_plugin)
> >>
> >>   -- Generating done
> >>   -- Build files have been written to: /u/src/kmymoney/build
> >>
> >> I dont have any packagesfor SqlPrivate.
> >>
> >> Any idea what I can do ?
> >>
> >> Does anyone have a working package or appimage of kmymoney for ubuntu
> >> 18.04 with mysql databases ?
> >>
> >> Thanks
> >>
> >> Christoph
> >>
> >

-- 
Was macht ein Clown im Büro ? Faxen 
Christoph Adomeit
GATWORKS GmbH
Reststrauch 191
41199 Moenchengladbach
Sitz: Moenchengladbach
Amtsgericht Moenchengladbach, HRB 6303
Geschaeftsfuehrer:
Christoph Adomeit, Hans Wilhelm Terstappen

Christoph.Adomeit at gatworks.de     Internetloesungen vom Feinsten
Fon. +49 2166 9149-32                      Fax. +49 2166 9149-10


More information about the KMyMoney-devel mailing list