Fix build of breeze-icons on the Android CI
ClosedPublic

Authored by apol on Oct 12 2017, 1:26 PM.

Details

Summary

At the moment we are compiling the tool against android then trying to
execute it, which obviously doesn't work. Building locally would require
having native Qt available and further changes in the code.

Diff Detail

Repository
R266 Breeze Icons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Oct 12 2017, 1:26 PM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptOct 12 2017, 1:26 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
kfunk requested changes to this revision.Oct 12 2017, 1:47 PM
kfunk added a subscriber: kfunk.
kfunk added inline comments.
CMakeLists.txt
23

Better: GENERATE_ICONS_DEFAULT -> BINARY_ICONS_RESOURCE_OPTION_DEFAULT (consistent naming)

Also add some comment why it's disabled when cross-compiling.

This revision now requires changes to proceed.Oct 12 2017, 1:47 PM
apol updated this revision to Diff 20648.Oct 12 2017, 3:02 PM

Address Kevin's comments

kfunk accepted this revision.Oct 12 2017, 3:36 PM

That comment could be a bit more verbose and better placed (i.e. move it next to set(BINARY_ICONS_RESOURCE_OPTION_DEFAULT OFF) and make it something along "When cross-compiling qrcAlias would be compiled against Embedded Qt, thus disable ... -- TODO: should compile ..."

But okay :)

This revision is now accepted and ready to land.Oct 12 2017, 3:37 PM
This revision was automatically updated to reflect the committed changes.