qtcreator啓動顯示 No winrtrunner.exe found.

打開qtcreator ide時General Messages顯示
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
工程編譯與運行一切正常
可是有問題總歸不爽。html

查到如下文獻 https://doc.qt.io/qt-5/winrt-...
Qt for WinRT
Qt for WinRT容許您在支持Windows應用商店API的設備上運行Qt應用程序。這包括Windows 10,Windows 10 Mobile和Windows 10 IoT上的Modern UI應用程序。編程

微軟推出了Windows 8 Modern UI的新設計範例。這種新方法的核心部分是Windows Runtime(WinRT),它支持使用不一樣編程語言進行開發,例如C ++ / CX(組件擴展),C#VB.NET或JavaScript。Qt端口使用C ++功能。雖然WinRT在內部支持組件擴展,但它們不在Qt中使用,您不須要使用它們。出於安全緣由,WinRT應用程序在沙盒環境中運行,並支持不一樣的體系結構,例如ARM和x86。
。。。。
要求
Windows Runtime的開發須要Microsoft Windows開發主機。支持的最低版本是Windows 10。安全

文獻末尾提到:
WinRT Runner Tool
The WinRT Runner Tool can be found in QTDIR/bin/winrtrunner. It is intended to aid in the deployment, launching, and debugging of Qt for WinRT applications. It can be used from the command line, or invoked by the IDE.app

在這個目錄確實沒有找到winrtrunner.exe,可是有一個winrtdebughelper.exe,感受應該是安裝ide時組件選擇有問題,我使用MinGW所以不須要winrt,估計是安裝了winrtdebug相關組件,所以啓動時會有相關檢測,可是工程編譯與運行一切正常編程語言

結論:
是WIN平臺專用的一些東西,使用MinGW時能夠忽略該警告,尚不清楚如何關閉ide

相關文章
相關標籤/搜索