how to deploy qt app to UWP or Windows 10 mobile

exo

I have very simple application in QT. Now I want to test it in my Windows phone. Do you know how can I do it?

I cann not find anything on the internet. I only need a simple description of how to do it.

Thank you.

exo

Ok. There is a way descripted in this video https://www.youtube.com/watch?v=o5Xdt-j3hkA

  1. You create standard QT source (project)
  2. Copy all sources from you project to another directory (mirror)
  3. In the mirror directory run qmake.exe -tp vc CONFIG+=windeployqt
  4. qmake must be from your platform directory. Your platform must be installed. (if you heve no platform, go to the add remove programs and then run remove QT. In next dialog system ask you about remove or add features)
  5. I use qmake from D:\Develop\Qt\5.7\winrt_armv7_msvc2015\bin by add path set path=%path%;D:\Develop\Qt\5.7\winrt_armv7_msvc2015\bin
  6. This command create visual studio project
  7. Go to the visual studio by devenv yourapp.vcxproj
  8. In visual studio I must repair any problems in code (VS debugger is more strict then qt). I must right click to my project and run retarget sdk version. (without this - debuger return some error about bad sdk version 10.0.0.0)
  9. Then I enable develop mode in my WindowsPhone and connect it by usb with PC. Unlock screen on device and confirm usb connection warning (without this - deployment is not possible).
  10. Last step is Run build. Solution configuration = Release; Solution platforms=ARM; Green arrow(build)=Device;

After build into the device, VS connect to my device. Install needed prerequisities and add to mobile menu new item with my application name. Then automaticly run app.

If you have error:

'uuidgen' is not recognized as an internal or external command. uuidgen.exe missing in you path. I added set path=%path%;C:\Program Files (x86)\Windows Kits\10\bin\x64, where is uudigen.exe.

If you have error: Project ERROR: No UCRTVersion found in environment. You must open your .qmake file (some like this .qmake.winrt_uuid_yourapp) and add line WINRT_MANIFEST.minVersion = 10.0.10586.0

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Cannot deploy UWP app to Win 10 Mobile

From Dev

How to deploy Windows Phone 8.1 app to Windows 10 Mobile device?

From Dev

Cannot deploy Windows 10 UWP App to Device

From Dev

Cannot deploy Windows 10 UWP App to Device

From Dev

Windows 10 UWP app: StreamSocket via mobile broadband

From Dev

Error during UWP app launch in Windows 10 mobile

From Dev

Unable to deploy on Windows 10 Mobile

From Dev

How to kill UWP app in Windows 10?

From Dev

How to develop windows 10 uwp on real device (mobile)?

From Dev

how deploy uwp app with settings

From Dev

Logger for Windows 10 UWP app

From Dev

Can't deploy universal app to phone with Windows 10 Mobile Tech Preview

From Dev

ContentDialog Width Fitting on Windows 10 Mobile (UWP)

From Dev

Keyboard Behavior on ContentDialog with Windows 10 Mobile (UWP)

From Dev

Windows 10 mobile UWP - slow back button

From Dev

How to connect to SQL server database from a Windows 10 UWP app

From Dev

How can I give focus to a grid in a Windows 10 UWP app?

From Dev

How do I get telemetry into a Windows 10 UWP App?

From Dev

How to exit or close an UWP app programmatically? (Windows 10)

From Dev

Google Authentication For Existing Windows 10 UWP App Using Azure Mobile Service

From Dev

Windows 10 UWP targeting windows 10 mobile only

From Dev

How to detect that WP8.1 app launched on Windows 10 Mobile?

From Dev

qt5 windows 10 mobile keyboard

From Dev

Icon not displayed in taskbar for Windows 10 UWP app

From Dev

In-App purchase trouble on Windows 10 UWP

From Dev

Changing Theme in Windows 10 UWP App Programmatically

From Dev

ItemsControl and ItemTemplateSelector in Windows 10 UWP app

From Dev

Cordova/UWP Windows Mobile 10 Access Violation on HTML select element

From Dev

System.Threading.Thread replacement in UWP / Windows 10 mobile

Related Related

  1. 1

    Cannot deploy UWP app to Win 10 Mobile

  2. 2

    How to deploy Windows Phone 8.1 app to Windows 10 Mobile device?

  3. 3

    Cannot deploy Windows 10 UWP App to Device

  4. 4

    Cannot deploy Windows 10 UWP App to Device

  5. 5

    Windows 10 UWP app: StreamSocket via mobile broadband

  6. 6

    Error during UWP app launch in Windows 10 mobile

  7. 7

    Unable to deploy on Windows 10 Mobile

  8. 8

    How to kill UWP app in Windows 10?

  9. 9

    How to develop windows 10 uwp on real device (mobile)?

  10. 10

    how deploy uwp app with settings

  11. 11

    Logger for Windows 10 UWP app

  12. 12

    Can't deploy universal app to phone with Windows 10 Mobile Tech Preview

  13. 13

    ContentDialog Width Fitting on Windows 10 Mobile (UWP)

  14. 14

    Keyboard Behavior on ContentDialog with Windows 10 Mobile (UWP)

  15. 15

    Windows 10 mobile UWP - slow back button

  16. 16

    How to connect to SQL server database from a Windows 10 UWP app

  17. 17

    How can I give focus to a grid in a Windows 10 UWP app?

  18. 18

    How do I get telemetry into a Windows 10 UWP App?

  19. 19

    How to exit or close an UWP app programmatically? (Windows 10)

  20. 20

    Google Authentication For Existing Windows 10 UWP App Using Azure Mobile Service

  21. 21

    Windows 10 UWP targeting windows 10 mobile only

  22. 22

    How to detect that WP8.1 app launched on Windows 10 Mobile?

  23. 23

    qt5 windows 10 mobile keyboard

  24. 24

    Icon not displayed in taskbar for Windows 10 UWP app

  25. 25

    In-App purchase trouble on Windows 10 UWP

  26. 26

    Changing Theme in Windows 10 UWP App Programmatically

  27. 27

    ItemsControl and ItemTemplateSelector in Windows 10 UWP app

  28. 28

    Cordova/UWP Windows Mobile 10 Access Violation on HTML select element

  29. 29

    System.Threading.Thread replacement in UWP / Windows 10 mobile

HotTag

Archive