QT 5.4.1 for Android Ubuntu QtWebView Demo

來源:互聯網
上載者:User

標籤:

QT 5.4.1 for Android Ubuntu QtWebView Demo

                                                          2015-5-15

 

                                                                 目錄

                                                 一、說明: 

                                                 二、參考文章: 

                                                 三、QtWebView Demo在哪裡? 

                                                 四、Qt Creator 3.4.0能開啟QtWebView Demo? 

                                                 五、Qt Creator如何產生AndroidManifest.xml? 

 

一、說明:
  1. 參考文章主要是針對QT 5.4.1 for Android Ubuntu 12.04環境搭建出現的一些問題。
  2. 本文的QtWebView Demo說明都是在Windows環境下做的,Ubuntu下類似。

 

二、參考文章:

    1. Why can‘t I run the android emulator?

        http://stackoverflow.com/questions/3631709/why-cant-i-run-the-android-emulator

    2. How to install libqtwebkit5?

        http://askubuntu.com/questions/378397/how-to-install-libqtwebkit5

    3. Ubuntu SDK Release PPA for Ubuntu 14.04 LTS.

        https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa

    4. [Solved] [Linux] Unknown module(s) in QT: webkitwidgets

        https://forum.qt.io/topic/40378/solved-linux-unknown-module-s-in-qt-webkitwidgets

 

三、QtWebView Demo在哪裡?

    1. 通過QT 5.4.1 for Android自帶的Qt Creator 3.3.1可知,我們安裝的的軟體中有QtWebView的Demo程式,在額外安裝的Qt Creator 3.4.0中是看不到的。

 

    2. 可以在<QT 5.4.1 for Android安裝路徑>/Examples下找到QtWebView的Demo,我自己的路徑是:D:\QT\install\Examples。

 

四、Qt Creator 3.4.0能開啟QtWebView Demo?

    答案是可以開啟,程式也能正常編譯運行,但請盡量不要在原始碼上直接修改,拷貝一份原始碼再進行編譯、修改等工作。

 

五、Qt Creator如何產生AndroidManifest.xml?

    1. 在網上查了些資料,但可能因為QT 5.4.1 for Android版本問題,這個版本和以前的版本不一樣,配置操作:

 

    2. 組建檔案:

 

    3. 接下來就可以在AndroidManifest.xml中配置你想要的的設定,如橫屏之類的。

QT 5.4.1 for Android Ubuntu QtWebView Demo

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.