tjyrinki / qt58

Qt 5.8 (upstream) cloud part
1 stars 1 forks source link

snapcraft error "non unique elements" #1

Open mardy opened 7 years ago

mardy commented 7 years ago

Hi Timo! Trying to use this in an application, I get this:

$ snapcraft
Issue while loading plugin: properties failed to load for qt58: ['-release', '-confirm-license', '-opensource', '-plugin-sql-mysql', '-plugin-sql-odbc', '-plugin-sql-psql', '-plugin-sql-sqlite', '-no-sql-sqlite2', '-plugin-sql-tds', '-system-sqlite', '-platform', 'linux-g++-64', '-system-harfbuzz', '-system-zlib', '-system-libpng', '-system-libjpeg', '-openssl', '-no-rpath', '-verbose', '-optimized-qmake', '-dbus-linked', '-strip', '-qpa', 'xcb', '-xcb', '-glib', '-icu', '-accessibility', '-no-compile-examples', '-no-directfb', '-gstreamer', '1.0', '-opengl', 'desktop', '-nomake', 'examples', '-nomake', 'tests', '-skip', 'qtquick1', '-skip', 'qtwayland', '-skip', 'qtwebengine', '-skip', 'qtwebview', '-skip', 'qtwebkit', '-skip', 'qtwebkit-examples'] has non-unique elements

I get the same for qt 5.7, too.

tjyrinki commented 7 years ago

The description guides the user to see github for an example https://wiki.ubuntu.com/snapcraft/parts

From the example you'll need the plugin that overrides the unique elements requirement, which is unfortunately needed to be able to configure Qt.