Problems Compiling KMM KF5
Brendan Coupe
brendan at coupeware.com
Tue Mar 27 21:45:30 UTC 2018
OK, trying that next.
*----Brendan Coupe*
On Tue, Mar 27, 2018 at 3:41 PM, Andrew Ho <andrewho at animezone.org> wrote:
> Hi,
>
> cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins/kf5
> All the plugins are not shown up.
>
> cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins
> All the plugins are loaded.
>
> Thanks,
>
>
>
> On 3/27/2018 2:05 PM, Thomas Baumgart wrote:
>
>> Hi,
>>
>> On Dienstag, 27. März 2018 10:08:57 CEST Brendan Coupe wrote:
>>
>> >From MASTER Build directory (1.txt):
>>> grep plugins
>>> _
>>> install_manifest.txt
>>> /usr/lib64/plugins/kmymoney/checkprinting.so
>>> /usr/lib64/plugins/kmymoney/csvexporter.so
>>>
>> [...]
>>
>> /usr/lib64/plugins/kmymoney/sqlstorage.so
>>> /usr/share/doc/HTML/en/kmymoney/configure_plugins.png
>>>
>>> >From 5.0.1 tarball build directory (2.txt):
>>> grep plugins install
>>> _
>>> manifest.txt
>>> /usr/lib64/plugins/kmymoney/checkprinting.so
>>> /usr/lib64/plugins/kmymoney/csvexporter.so
>>>
>> [...]
>>
>> /usr/lib64/plugins/kmymoney/reconciliationreport.so
>>> /usr/share/doc/HTML/en/kmymoney/configure_plugins.png
>>>
>>>
>>> diff 1.txt 2.txt
>>> 4d3
>>> < /usr/lib64/plugins/kmymoney/forecastview.so
>>> 9d7
>>> < /usr/lib64/plugins/kmymoney/kcm_forecastview.so
>>> 21d18
>>> < /usr/lib64/plugins/kmymoney/sqlstorage.so
>>>
>> That is OK, since we turned forecast and sql storage into a plugin.
>>
>>
>>> find /usr -name FrameworkIntegrationPlugin.so
>>> /usr/lib64/qt5/plugins/kf5/FrameworkIntegrationPlugin.so
>>>
>> Aha, it's what I thought. You need to install the plugins into a different
>> directory.
>>
>> Proceed as follows:
>>
>> cd your-kmymoney-build-dir
>>
>> # remove current installation to cleanup
>> sudo make uninstall
>>
>> # setup plugin installation directory
>> cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins/kf5
>>
>> // the above step assumes, that your source dir is in ..
>>
>> # build the project
>> make
>>
>> # and install it again
>> sudo make install/fast
>>
>> # now test
>> kmymoney
>>
>> Now your plugins should be loaded.
>>
>> *----Brendan Coupe*
>>>
>>> On Tue, Mar 27, 2018 at 12:20 AM, Thomas Baumgart <thb at net-bembel.de>
>>> wrote:
>>>
>>>> Hi Brendan,
>>>>
>>>> On Montag, 26. März 2018 18:00:30 CEST Brendan Coupe wrote:
>>>>
>>>>> Output from cmake on 5.0.1 tarball (looks more like what I have seen
>>>>> with
>>>>> 4.8). Note it starts off with KMyMoney 5.0.0
>>>>> (maybe related to the issue that made Thomas "Argh" earlier today).
>>>>>
>>>> Yep!
>>>>
>>>> ============================================
>>>>> -------- KMyMoney 5.0.0 --------
>>>>>
>>>>> Configure results (user options):
>>>>> --------------------------------------------
>>>>> GpgME Encryption: yes
>>>>>
>>>>> KDE PIM holidays: yes
>>>>>
>>>>> KDE PIM addressbook: yes
>>>>>
>>>>> OFX plugin: yes
>>>>>
>>>>> OFX supports CLIENTUID: no
>>>>>
>>>>> KBanking plugin: no
>>>>>
>>>>> weboob plugin: no
>>>>>
>>>>> iCalendar export plugin: yes
>>>>>
>>>>> SQLCipher plugin: no
>>>>>
>>>>> QWebEngine: no
>>>>>
>>>>> --------------------------------------------
>>>>> Configure results (developer options):
>>>>> --------------------------------------------
>>>>> Qt-Designer library support: no
>>>>>
>>>>> Generate modeltest code: no
>>>>>
>>>>> Generate API documentation with Doxygen: yes
>>>>>
>>>>> Build type: RelWithDebInfo
>>>>> -- Found PythonInterp: /usr/bin/python (found version "2.7.14")
>>>>> -- Configuring done
>>>>> -- Generating done
>>>>> -- Build files have been written to: /usr/local/src/kmm/kmymoney-5.
>>>>>
>>>> 0.1/build
>>>>
>>>> That looks fine. Can you provide me with the output of the following
>>>> comamnds
>>>>
>>>> please (run them in your build directory):
>>>> grep plugins install_manifest.txt
>>>> find /usr -name FrameworkIntegrationPlugin.so
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>>
>>>> Regards
>>>>
>>>> Thomas Baumgart
>>>>
>>>> https://www.telegram.org/ Telegram, the better WhatsApp
>>>> -------------------------------------------------------------
>>>> Any sufficiently advanced bug is indistinguishable from a feature.
>>>> (Rich Kulawiec)
>>>> -------------------------------------------------------------
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180327/51dd77f1/attachment.html>
More information about the KMyMoney-devel
mailing list