Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Creating .XAP or .APPX
Forum Updated to NodeBB v4.3 + New Features

Creating .XAP or .APPX

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.8k Views 1 Watching
  • 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.
  • Sierra117S Offline
    Sierra117S Offline
    Sierra117
    wrote on last edited by
    #1

    Hi

    I have a project that builds and runs on Windows Desktop and Phone. I can also deploy it to the phone when it is connected.

    However, I cannot for the life of me figure out how to create the package (.xap or the new .appx) for the Store. Every time I build with whatever kit, it always creates a .exe file.

    I tried converting the project to a visual studio project. Once I opened the project in VC, another issue came up. It didn't detect the project as a Store project so it wouldn't give me the "Build/Store" menu that is used to create the final package.

    What do I do? I have to say that I cannot understand anything that goes on in the documentation. It is almost exclusively command-line stuff. Most of it has no build up (i.e. go here, then here, because xyz); instead it is just "enter this command". Nonetheless there is nothing about the final xap or appx package creation.

    I have a similar issue with Android where it builds successfully but then says error in building with no explanation. But first, I would really like to understand how to do this packaging business. Sorry if I sound horrible but this is months of fruitless searching, reading and trying things that don't work.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, you have to use Qt for WINRT if you want to publish your application on the Windows Store.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Sierra117S Offline
        Sierra117S Offline
        Sierra117
        wrote on last edited by Sierra117
        #3

        Hi SGaist, thanks for the reply.

        Indeed as I mentioned in my original post, I can compile and run on any Windows device as I compiled for WinRT. However, this only directly installs on the device and leaves no .xap or .appx package file (which is Windows' equivalent of the Android .apk as you know). This means that I cannot send over the file to someone or even take it myself to install the app at a later time. The only time there is a standalone executable is when I compile for desktop. However, my project is a user study for mobile devices so I need the application packaged so that I can pass it along to testers for testing.

        Also, I tried to open in Visual Studio after running qmake and while it opens up in VS, it doesn't treat it as a Store project. How do I do that? Until and unless VS realises it's an app for the Store, it won't let me use the Project -> Store menu which would produce the .xap or .appx package file I'm after.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you check the WinRT platform notes in Qt's documentation ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Sierra117S Offline
            Sierra117S Offline
            Sierra117
            wrote on last edited by
            #5

            Of course.

            The most I got was the Store menu to appear but it was entirely greyed out.

            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