In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "Ubuntu SDK development tool chain how to install and use", the content is easy to understand, clear, hope to help you solve the doubt, the following let the editor lead you to study and learn "Ubuntu SDK development tool chain how to install and use" this article.
First, install Ubuntu SDK
Software development for mobile devices requires several things: IDE, code editor, online debugger, simulator, and cross-compiler, of which simulators and cross-compilers are not needed for desktop development.
First take a look at how to install Ubuntu SDK.
With Ubuntu14.10 and later versions, you can install it directly:
$sudo apt-get update & & sudo apt-get install ubuntu-sdk
In the case of Ubuntu14.04 and previous versions, first add the installation source to the system by doing the following:
$sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
Then it is ready to run. You can see that the interface is almost exactly the same as QT Creator, but with a lot of engineering templates added.
$ubuntu-sdk
Then you can start the design of a QML program. Here is an example of QML: https://developer.ubuntu.com/zh-cn/apps/qml/tutorials/building-your-first-qml-app/.
II. Scope of Scope interface
Scope is a new interface experience created for mobile applications, which complements the previous Unity interface and provides a new desktop for the device, while Unity can also be used on mobile devices and can be quickly scratched out through the touch screen. Check out the development process of Scope: https://developer.ubuntu.com/zh-cn/scopes/tutorials/scope-development-procedures/
Scope provides content derived from almost any source directly to Ubuntu shell. The user enters a search item in the Scope, Scope generates the content, and the content is displayed, as we can see. Users then select the search results they are interested in and their previews, usually with more data. The user taps or clicks the preview, song or video screen, and related pages will be displayed in the browser, or open the application and take appropriate action.
Scope sends content to users outside of any application. Simple content such as web or database queries, or organizational diversification of content (derived from multiple data sources) with fine-grained access control, will go directly into the user experience. Scope is one of the core features of Ubuntu. So let's start with an overview of the major Scope features that Scope developers are more interested in.
Third, Scope is the presentation of data aggregation
Scope is essentially a query. It provides the results (content) to the customers who call it, as well as the data for the result preview phase. For example, a user might enter a search entry in Ubuntu shell, and shell invokes a Scope. Scope executes the query and presents the results to shell (the location where the query results are presented).
However, Scope doesn't know and doesn't care what called it, which means that Scope can also call Scope. Scope can aggregate data from any data source, including other Scope.
Scope is an automatic query program that returns query results (and preview data) to anything that calls it. Because of this architecture, it is more possible to improve the user experience in Ubuntu shell with rich content that aggregates from a variety of data sources and has an aesthetic display style. Scope can provide content even without an initial query string, allowing rich content to be displayed without user interaction.
IV. Integrated application of QML and JavaScript
Similar to HTML5, QML provides a descriptive interface design language and can support integrated applications with JavaScript, thus providing a content presentation interface similar to web pages. But unlike HTML5, QML has defined a native API calling framework and API, while HTML5 needs to be extended to support native API transfer through the runtime framework layer of value-added developers. In the end, they all provide lightweight, dynamic design with HTML and the powerful capabilities of native API, providing good support for the development of a new generation of "hybrid" App.
However, the hybrid APP framework extended by the third party through HTML5 can support both iOS and Android systems, and Scope can only run on Ubuntu devices at present, because it is theoretically cross-platform based on QT, but it is not known whether Scope will be ported to other platforms, and it will not work if you use the unique features of Ubuntu.
V. practical experience, problems and summary
At present, there are some small Bug in the VirtualBox virtual machine on Ubuntu14.10. After starting with Ubuntu-SDK, the main window will cover the other windows. At this time, select the other toolbar on the left and you can operate normally. It may be the problem with the Welcome window of this version of QTCreator. Running after creating a project, always prompting glx errors, resulting in crash, depressed also!
Next, try to see if there is anything wrong with the stand-alone installation environment.
Install Ubuntu14.10. Download, make a boot flash drive, and execute the following command:
Df-h # take a look at the list of devices sudo diskutil umount / dev/disk3s1 # Uninstall the device, not pop up! If you eject, you can't find the bare device. Sudo dd bs=1m if=ubuntukylin-14.10-desktop-amd64.iso of=/dev/rdisk3 # is written to USB disk, it takes a long time, wait patiently.
A little episode: after making the boot disk according to the above method, Mac OS X will show unrecognized devices (scared me! ), this is true after doing it twice. Put it on the startup machine, and it started normally, and the installation was finished in about ten minutes. ). Then perform the installation of Ubuntu-SDK, which is completely normal, and there are no problems in the virtual machine above. It's probably a problem with VirtualBox's OpenGL driver.
Generally speaking, the combination of QT and Ubuntu creates a development kit that unifies the OS kernel across multiple devices, which is comparable to Microsoft's Virsual Studio+.NET and Apple's xcode+swift, and backed by powerful compilation toolsets such as gnu's gcc. Although the integration still needs to be improved, the various tools available are far more than those of the two ace armies, and they are open source.
The above is all the contents of the article "how to install and use the Ubuntu SDK development tool chain". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.