[CMake] Deploy Qt based App to WindowsStore using CMake

Nikita Barawade nikita.barawade at einfochips.com
Fri Mar 4 02:28:29 EST 2016



Hi,

Thank you for reply !
Yes , I have the developer mode under Windows 10 activated.
I can see  AppxManifest.xml present inside ,Sample_App\Build\Debug\AppX\

With below link i.e using qmake to covert Qt project to WinRT compatible, I can get App running on both "Remote machine" and "Local Machine" .
But I want it to be done using cmake only.

https://doc-snapshots.qt.io/qt5-5.6/winrt-support.html#building-from-source
Qt for WinRT | Qt 5.6<https://doc-snapshots.qt.io/qt5-5.6/winrt-support.html#building-from-source>
doc-snapshots.qt.io
If you are targeting a remote device, please follow all instructions by Visual Studio to set it up correctly. If you are targeting an emulator for Windows Phone ...






Regards,
​Nikita​


________________________________
From: Roman Wüger <roman.wueger at gmx.at>
Sent: 04 March 2016 01:39 AM
To: Nikita Barawade
Cc: cmake at cmake.org
Subject: Re: [CMake] Deploy Qt based App to WindowsStore using CMake

Do you have the developer mode under Windows 10 activated?
Do you have registered your app (Add-AppxPackage -Register AppxManifest.xml)?
See https://doc-snapshots.qt.io/qt5-5.6/winrt-support.html#building-from-source

Qt for WinRT | Qt 5.6<https://doc-snapshots.qt.io/qt5-5.6/winrt-support.html#building-from-source>
doc-snapshots.qt.io
If you are targeting a remote device, please follow all instructions by Visual Studio to set it up correctly. If you are targeting an emulator for Windows Phone ...



Best regards
Roman

Am 03.03.2016 um 16:53 schrieb Nikita Barawade <nikita.barawade at einfochips.com<mailto:nikita.barawade at einfochips.com>>:




Hi,

I have application based on Qt UI . My aim is to convert this app to run on WindowsStore.

Project has been converted to Universal Windows and building  without errors.
Project is using Qt version 5.6 for WInRT.
Here is a command used ,

cmake .. -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0

Target Architecture is x86.

The problem comes when I try to deploy it on Local or remote machine.
<pastedImage.png>

 i.e Unable to activate Windows Store app ...
The sampleApp.exe process started but the activation request failed with error "The app didn't start"

I have already gone throgh these links :
http://stackoverflow.com/questions/13404315/unable-to-activate-windows-store-app
http://stackoverflow.com/questions/19847563/unable-to-activate-windows-store-app-the-app-didnt-start
http://blogs.technet.com/b/askperf/archive/2013/10/11/what-to-do-if-your-windows-8-modern-app-fails-to-start.aspx
c# - Unable to activate windows store app the app didn't ...<http://stackoverflow.com/questions/19847563/unable-to-activate-windows-store-app-the-app-didnt-start>
stackoverflow.com<http://stackoverflow.com>
First of all I would like to say that I already tried all the solutions I could find on the internet, including Unable to Activate Windows Store App I recently ...



http://irisclasson.com/2012/11/04/problem-unable-to-activate-windows-store-app-the-app1-exe-process-started-but-the-activation-request-failed-with-error-the-app-didnt-start/
Problem: Unable to activate Windows Store app: The App1 ...<http://irisclasson.com/2012/11/04/problem-unable-to-activate-windows-store-app-the-app1-exe-process-started-but-the-activation-request-failed-with-error-the-app-didnt-start/>
irisclasson.com<http://irisclasson.com>
Thanks, this really helped! The other solutions I found weren’t applicable for me, but this was just what I needed.



visual studio - Unable to Activate Windows Store App ...<http://stackoverflow.com/questions/13404315/unable-to-activate-windows-store-app>
stackoverflow.com<http://stackoverflow.com>
I installed a retail version of Windows 8 Pro. I downloaded and installed Visual Studio Express 2012. I asked for and received a developers certificate. Then I tried ...



If anyone has tried it before ? Please guide.


Regards,
Nikita
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************
--

Powered by www.kitware.com<http://www.kitware.com>

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160304/689f902a/attachment-0001.html>


More information about the CMake mailing list