On 11 September 2013 20:01, Roman Shchekin <mrqt...@gmail.com> wrote: > Hi all > > So, can I compile my plugin for armhf arch via cmake? I need it for showdown > :) > >
Where is your source code? =) Regards, Dmitrijs. > 2013/9/11 Sergio Schvezov <sergio.schve...@canonical.com> >> >> On Wed, Sep 11, 2013 at 8:22 AM, Dmitrijs Ledkovs <x...@ubuntu.com> wrote: >>> >>> I've written up a quick how-to cross-compiling qml extensions using CMake >>> >>> https://wiki.ubuntu.com/Touch/CrossCompile >>> >>> Apart from cmake choosing DEB_HOST moc, instead of DEB_BUILD moc, it >>> seems to work ok. >>> >>> I've successfully compiled: >>> ./lib/SystemSettings/libSystemSettings.so >>> ./tests/libtest-plugin.so >>> ./plugins/sound/libUbuntuSoundPanel.so >>> ./plugins/example/libexample-plugin.so >>> ./plugins/background/libUbuntuBackgroundPanel.so >>> ./plugins/system-update/libUbuntuUpdatePanel.so >>> ./plugins/security-privacy/diagnostics/libUbuntuDiagnostics.so >>> ./plugins/security-privacy/libUbuntuSecurityPrivacyPanel.so >>> >>> From ubuntu-system-settings project using above method. >>> >>> So if you are using qmake, you can switch to cmake by following this >>> Qml / Ubuntu Touch app: >>> https://code.launchpad.net/~jpakkane/ubuntu-system-settings/cmake >>> >>> And gain, a relatively smooth cross-compilation support. >> >> >> I'm going to piggyback on this and mention that I got this going for most >> of the applications as well (dialer-app et.al.) which are cmake based using >> your previous instructions but adapted to cmake. So thanks >> >> Cheers >> Sergio >> >> -- >> Mailing list: https://launchpad.net/~ubuntu-phone >> Post to : ubuntu-phone@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~ubuntu-phone >> More help : https://help.launchpad.net/ListHelp >> > -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp