Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to publish Qt desktop software on snap store?

How to publish Qt desktop software on snap store?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 612 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HeerokNewbieH Offline
    HeerokNewbieH Offline
    HeerokNewbie
    wrote on last edited by
    #1

    I have made a desktop software. And now I want to publish this software on snap store.I have that software inside release folder. build-SimpleApplication-Desktop_Qt_6_2_0_GCC_64bit-Release . Simple Application is the name of my application But i want to know how to publish this application on snap store. Please do tell me what to do next . Which steps do I have to follow? Please do guide me. I have created this application in Ubuntu 20.0 OS.

    Files inside release folder

    main.o
    mainwindow.o
    Makefile
    moc_mainwindow.cpp
    moc_mainwindow.o
    moc_predefs.h
    qrc_imageResource.cpp
    qrc_imageResource.o
    SimpleApplication
    ui_mainwindow.h
    
    JonBJ 1 Reply Last reply
    0
    • HeerokNewbieH HeerokNewbie

      I have made a desktop software. And now I want to publish this software on snap store.I have that software inside release folder. build-SimpleApplication-Desktop_Qt_6_2_0_GCC_64bit-Release . Simple Application is the name of my application But i want to know how to publish this application on snap store. Please do tell me what to do next . Which steps do I have to follow? Please do guide me. I have created this application in Ubuntu 20.0 OS.

      Files inside release folder

      main.o
      mainwindow.o
      Makefile
      moc_mainwindow.cpp
      moc_mainwindow.o
      moc_predefs.h
      qrc_imageResource.cpp
      qrc_imageResource.o
      SimpleApplication
      ui_mainwindow.h
      
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @HeerokNewbie
      Do
      https://snapcraft.io/docs/qt5-kde-applications
      https://community.kde.org/Guidelines_and_HOWTOs/Snap
      help you make a snap from your application?

      1 Reply Last reply
      0
      • HeerokNewbieH Offline
        HeerokNewbieH Offline
        HeerokNewbie
        wrote on last edited by HeerokNewbie
        #3

        No !

        when i run this

        ~/SimpleApplicationSnap$  snapcraft
        

        terminal showing this error

        ~/SimpleApplicationSnap$  Failed to load plugin: properties failed to load for counter: Additional properties are not allowed ('kde-neon-target' was unexpected)
        

        Files inside my SimpleApplicationSnap folder :

        • OnlineNotePadlogo.png
        • SimpleApplication (This is my application)
        • snapcraft.yaml

        Content Inside snapcraft.yaml file

        name: simpleapplication
        version: 1.0.5
        summary: Testing-Application
        description: This is just an testing application
        confinement: strict
        base: core20
        grade: stable
        icon: OnlineNotePadlogo.png
        
        apps:
            counter:
              command: simpleapplication
              extensions: [kde-neon]
        
        parts:
          counter:
           source: .
           plugin: qmake
           kde-neon-target: /home/harsh/SimpleApplication/SimpleApplication/main.cpp
        

        UPDATE :

        now i am getting this error

        An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
        Ensure that 'multipass' is setup correctly and try again.
        

        when i am running "snapcraft" comman on terminal

        i don't have any idea what just happening.

        JonBJ 1 Reply Last reply
        0
        • HeerokNewbieH HeerokNewbie

          No !

          when i run this

          ~/SimpleApplicationSnap$  snapcraft
          

          terminal showing this error

          ~/SimpleApplicationSnap$  Failed to load plugin: properties failed to load for counter: Additional properties are not allowed ('kde-neon-target' was unexpected)
          

          Files inside my SimpleApplicationSnap folder :

          • OnlineNotePadlogo.png
          • SimpleApplication (This is my application)
          • snapcraft.yaml

          Content Inside snapcraft.yaml file

          name: simpleapplication
          version: 1.0.5
          summary: Testing-Application
          description: This is just an testing application
          confinement: strict
          base: core20
          grade: stable
          icon: OnlineNotePadlogo.png
          
          apps:
              counter:
                command: simpleapplication
                extensions: [kde-neon]
          
          parts:
            counter:
             source: .
             plugin: qmake
             kde-neon-target: /home/harsh/SimpleApplication/SimpleApplication/main.cpp
          

          UPDATE :

          now i am getting this error

          An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
          Ensure that 'multipass' is setup correctly and try again.
          

          when i am running "snapcraft" comman on terminal

          i don't have any idea what just happening.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @HeerokNewbie Nor do I, I was just suggesting you use that to achieve your objective.

          HeerokNewbieH 1 Reply Last reply
          0
          • JonBJ JonB

            @HeerokNewbie Nor do I, I was just suggesting you use that to achieve your objective.

            HeerokNewbieH Offline
            HeerokNewbieH Offline
            HeerokNewbie
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved