When i run snap application that i built it with snapcraft… it returns errors…any one can help me?
root@debian:/home/sp/Documents/mysnap/transceiver# snap run transceiver linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown
This application failed to start because it could not find or load the Qt platform plugin “xcb” in “”.
Reinstalling the application may fix this problem. Aborted
my snapcraft.yml file
name: transceiver # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.12' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
transceiver:
command: bin/RadioTransceiver
parts:
transceiver-module:
build-packages: [pkg-config,g++,make,git,sed,libboost-all-dev,gnuradio-dev,hackrf,airspy,gr-osmosdr]
#stage-packages: [libairspy0,libairspyhf0,libasound2,libbladerf1,libboost-date-time1.62-dev,libboost-filesystem1.62-dev,libboost-program-options1.62-dev,libboost-regex1.62-dev,libboost-serialization1.62-dev,libboost-system1.62-dev,libboost-thread1.62-dev,libdouble-conversion1,libfftw3-single3,libfreesrp0,libfreetype6,libgl1,libglvnd0,libglx0,libgnuradio-analog3.7.11,libgnuradio-audio3.7.11,libgnuradio-blocks3.7.11,libgnuradio-fcd3.7.11,libgnuradio-fcdproplus3.7.11,libgnuradio-fft3.7.11,libgnuradio-filter3.7.11,libgnuradio-iqbalance3.7.11,libgnuradio-osmosdr0.1.4,libgnuradio-pmt3.7.11,libgnuradio-runtime3.7.11,libgnuradio-uhd3.7.11,libgraphite2-3,libhackrf0,libharfbuzz0b,libhidapi-libusb0,libicu60,libjack-jackd2-0,liblog4cpp5v5,libmirisdr0,liborc-0.4-0,libosmosdr0,libpng16-16,libportaudio2,libqt5core5a,libqt5gui5,ibqt5dbus5,libqt5widgets5,libqt5network5,libqt5gui5,libqt5core5a,libdouble-conversion1,libxcb-xinerama0,libqt5widgets5,librtlsdr0,libsoapysdr0.6,libuhd003.010.003,libusb-1.0-0,libvolk1.3,libx11-6,libxau6,libxcb1,libxdmcp6]
#stage-packages: [libairspy0,libairspyhf0,libasound2,libbladerf1,libboost-date-time1.62-dev,libxcb1,libxdmcp6,libxau6]
stage-packages:
- libairspy0
- libairspyhf0
- libasound2
- libbladerf1
- libboost-date-time1.65.1
- libboost-filesystem1.65.1
- libboost-program-options1.65.1
- libboost-regex1.65.1
- libboost-serialization1.65.1
- libboost-system1.65.1
- libboost-thread1.65.1
- libdouble-conversion1
- libfftw3-single3
- libfreesrp0
- libfreetype6
- libgl1
- libglvnd0
- libglx0
- libgnuradio-analog3.7.11
- libgnuradio-audio3.7.11
- libgnuradio-blocks3.7.11
- libgnuradio-fcd3.7.11
- libgnuradio-fcdproplus3.7.11
- libgnuradio-fft3.7.11
- libgnuradio-filter3.7.11
- libgnuradio-iqbalance3.7.11
- libgnuradio-osmosdr0.1.4
- libgnuradio-pmt3.7.11
- libgnuradio-runtime3.7.11
- libgnuradio-uhd3.7.11
- libgraphite2-3
- libhackrf0
- libharfbuzz0b
- libhidapi-libusb0
- libicu60
- libjack-jackd2-0
- liblog4cpp5v5
- libmirisdr0
- liborc-0.4-0
- libosmosdr0
- libpng16-16
- libportaudio2
- libqt5core5a
- libqt5gui5
- libqt5widgets5
- librtlsdr0
- libsoapysdr0.6
- libuhd003.010.003
- libusb-1.0-0
- libvolk1.3
- libx11-6
- libxau6
- libxcb1
- libxdmcp6
- libxcb-xinerama0
#extensions:
#- kde-neon
source: https://github.com/stackprogramer/snap-sdr-test/raw/main/radiotransceiver-12.tar.xz
plugin: qmake
desktop-qt5:
plugin: nil
build-packages:
- build-essential
- qtbase5-dev
- dpkg-dev
- qt5-default
stage-packages:
- libqt5gui5
- libqt5core5a
- libqt5widgets5
- libqt5xml5