In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Development platform * Xinlingsi SinlinxA33 Development Board Taobao Shop: https://sinlinx.taobao.com/
Embedded linux development board communicates with QQ:641395230Step 1 to install Qt Creator on virtual machine (CentOS7)
Copy qt-creator-opensource-linux-x86_64-3.5.1.run to the virtual machine, double-click install, and click next.
Step 2 Qt Creater Settings
Open Qt Creator (Applications- > Programming- > Qt Creator)
1) add a new device
Click Tools- > Options...- > Devices
Click Add to add a new device, and the configuration is shown in the following figure. Enter the IP, user name root and password sinlinx of the development board at Host name (this is the root password of the linux system of the development board)
2) connect the network cable, set up the development board ip in the serial terminal, and open ssh
# ifconfig eth0 192.168.0.123 netmask 255.255.255.0
# / sinlinx/sshd start
Click the test button, and the following figure appears, indicating the successful connection between the development board and the virtual machine.
3) set compilation and run options
Click Tools- > Options...- > Build&Run
Open the Compilers tab to add a compilation tool, and click Apply to save when you are finished.
Open Qt Versions to add the QT version, and click Apply to save when you are finished.
Open Kits to add configuration. If you do not have cmake, you need to install cmake manually
Yum install cmake
Step 3 wrote the first QT program
Open Qt Creator and create a new Qt Widgets Application
1) add installation path
Open HelloWorld.pro and add the following code at the end:
Target.path = / rootINSTALLS + = target2) add operation parameter-qws
Click Projects- > Run
3) Click run, and the executable file of Hello_World will be generated in the development board / root directory. / Hello_World will run.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.