In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what are the ways to build the QtE5.7 compilation environment". In the daily operation, I believe that many people have doubts about the way the QtE5.7 compilation environment is built. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "what is the way to build the QtE5.7 compilation environment?" Next, please follow the editor to study!
1. Use an image that has been set up
If you use the built compilation environment, you can complete the compilation of this chapter after simply modifying the environment variables.
When using the built environment, if the ssh connection fails, you can refer to the section "14.2.1.2" (that is,
Is the next section), configure the ssh service. If you have any problems after modifying the configuration by referring to section "14.2.1.2", please refer to
Subsections 14.2.1.3 and 14.2.1.4, replacement tools used. After testing, when the ssh tool is not available, these two
Tools can still be used.
two。 Build your own environment
Another way is to install the virtual machine, install the Ubuntu16.04 system, and build the environment.
For information about "virtual machine installation", "virtual machine loading ubuntu image", "Ubuntu basic operation", etc., use the
Users can refer to the contents of Chapter 3, these basic operations are common on Ubuntu16.04. There is one special point that needs to be mentioned.
What comes out is that when using Ubuntu16.04, the site used is the site of Tsinghua University. The specific setup process is as follows:
Upper right pinion → System Settings → System → Software & updates
→ Ubuntu Software → Download from Select site
→ chooses Tsinghua site
→ pop-up verification → enter root account password
Replace → with the download point of Tsinghua University
→ apt-get update updates
Use the command "apt-get install vim ssh" to install the vim editor and ssh tools.
When using ssh, you will encounter the problem of ssh connection failure.
Start the ssh service with the command "/ etc/init.d/ssh restart", and then use the command "vim"
/ etc/ssh/sshd_config "opens the configuration file. Add at the end of the configuration file:
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96 md5-96 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org
As shown in the following figure:
Find the following code in the configuration file and modify it as follows.
# Authentication:
LoginGraceTime 120
# PermitRootLogin prohibit-password
PermitRootLogin yes
StrictModes yes
After that, restart the ssh service with the "/ etc/init.d/ssh restart" command, and ssh can connect.
Use the following command in turn to install the library files.
Apt-get install lzop
Apt-get install u-boot-tools
Apt-get install autoconf
Apt-get install automake
Apt-get install libtool
Apt-get install libstdc++6
Apt-get install lib32c-dev
Apt-get install lib32stdc++6
Apt-get install lib32z1
Apt-get install lib32ncurses5
3. The use of putty tools
The SSH tool is described in section 4.2.5 of the user's manual. There is a certain probability that it cannot be used on Ubuntu16.04. This section introduces
Introduce the tool putty that replaces the SSH console.
The putty tool is the toolkit and patch package needed by the iTOP-4412 development board to build the compilation environment.
Under the QtE5.7 compilation environment installation package\ tools required for 03-QtE5.7 compilation environment\ 01-putty console tools directory
The compressed package "putty_cn.zip" is decompressed to get the folder "puttyfile_0.62cn". Enter the folder as follows
As shown in the figure.
Verify that SSH is installed on Ubuntu16.04 and the SSH function is enabled, and the virtual machine is turned on. Author virtual machine
The IP on the is: 192.168.2.23, users need to modify it according to their own actual situation. As shown in the following figure, double "putty.exe"
Open the Putty configuration, as shown in the following figure.
As shown in the above figure, the parts that need to be noted have been marked.
The first step "remote host IP" should be set according to the actual situation; in steps 2-4, you can use the default; and step 5 is guaranteed.
After saving the login settings, if the configuration does not change, you can log in using the default configuration; after the configuration is complete, use step 6 to log in
Land mainframe.
The author configuration is shown in the following figure.
Click Open and the dialog box shown in the following figure pops up.
There are three options, the first option "Yes", which means to log in to the host and save the configuration to the cache; the second option
"No" means to log in to the host, but does not save the configuration; the third option, "cancel", means not logging in and not saving. Choice
The first option, the second login will not pop up the dialog box shown in the following image.
Select "Yes" here, and only the PuTTY interface is left, as shown in the following figure. Enter the account number root and password
Topeet, the default password of the built Ubuntu system is "topeet".
After entering the account number and password, as shown in the following figure, you can control the Ubuntu16.04 system remotely.
4. The use of winscp tools
The SSH tool described in section 4.2.5 of the user's manual will not be used on Ubuntu16.04 with a certain probability.
Introduces winscp, a tool that replaces SSH file transfer.
The winscp tool is the toolkit and patch package needed by the iTOP-4412 development board to build the compilation environment.
QtE5.7 compilation environment installation package\ tools required by the 03-QtE5.7 compilation environment\ 02-WinSCP file transfer tools directory
Under the compressed package "winscp5131.zip", decompressed to get the folder "WinSCP (SFTP client) v5.13.1 Chinese"
Go to the folder, as shown in the following figure.
Double-click "WinSCP.exe" as shown in the following figure. Pop up the landing box.
As shown in the following figure, the host name is the IP address of Ubuntu, and the user name is directly logged into root to build the compilation environment.
The password is topeet, and then click the button "login".
A prompt box pops up as shown in the following figure. There are three options. The first option, "Yes", means to log in to the host and save the configuration.
To the cache; the second option "No" means to log in to the host, but does not save the configuration; the third option "cancel" means no
Log in and do not save. Select the first option and the second login will not pop up the dialog box shown in the following image.
The author chooses "Yes" here, as shown in the following figure, has logged in, with Windows directory on the left and Ubuntu on the right.
Directory, the use of relatively simple, transfer files directly to the corresponding directory can be dragged.
At this point, the study of "what are the ways to build a QtE5.7 compilation environment" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.