在windows直接運行Qt編譯出來的可執行程式出現了如下提示錯誤: this application has requested the runtime to terminate it an unusual way.

來源:互聯網
上載者:User

標籤:style   blog   http   io   os   sp   for   on   檔案   

在windows直接運行Qt編譯出來的可執行程式出現了如下提示錯誤:

this application has requested the runtime to terminate it an unusual way.

please contact the application’s support team for more information.

出現這種情況是因為缺少該程式運行所需要的動態連結程式庫。

解決方案一:修改系統內容變數,在Path中添加Qt的bin路徑就OK了。不過這隻能在本機運行,把可執行程式拿到其他電腦運行就GG了。

解決方案二:當需要在其他電腦運行該程式時,就需要把相關的運行庫放在同一個檔案夾一起複製走。那麼需要哪些運行庫呢?直接啟動並執行時候會有提示,不過還是有些運行庫需要但沒有提示出來的,也會出現上邊的錯誤。

下面是我運行一個程式需要的運行庫支援,可以參考借鑒。。。。。。

 

Qt版本:5.0.1

在windows直接運行Qt編譯出來的可執行程式出現了如下提示錯誤: this application has requested the runtime to terminate it an unusual way.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.