A deep understanding of building QT in linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. After a week of hard work, QT was finally put on the shelf, and many detours were taken among them. At the moment of victory, we found that it was so simple.
The simple reason is that laolu gave me the "buw.arm" file and didn't understand anything at first. I just got started with linux systems, what shell, and what environment variable settings are the concept of Mars. the rule in our lab is to learn things from scratch, even if we don't know how to find things by ourselves. the pain is the process of exploration, and the suffering is you!
The topic is back to QT. What exactly is qt? (Qt is a multi-platform C ++ graphic user interface application framework. It provides the functions required for application developers to create an artistic graphical user interface. Qt is fully object-oriented and easily scalable, and allows true component programming .) This Is What Baidu found.
How to Build the environment, said laolu. It was almost a week before the crash. It was very depressing. It was almost killed by four installation packages.
Tmake tool installation package: tmake-1.11.tar.gz
-- Used to generate the Makefile file of the application project;
Z Qt/Embedded Installer: qt-embedded-2.3.7.tar.gz
-- Used for installation of Qt/Embedded;
Z Qt X11 installation package: qt-x11-2.3.2.tar.gz
-- Used to generate some necessary tools.
Z Qtopia installation package: qtopia-free-1.7.0.tar.gz
?? Provides a GUI platform for hosts.
Z provides two script files: buildarm and buildx86 for installing a PC-based or ARM-based Qt Development Environment on your system.
At the beginning, I ignored the script file. The night before, I realized that four packages can be installed successfully! What's even more sad is that Mr. Bai said we are doing embedded things and asked me how to establish a PC-based development environment. Then it's easy. Run "./buw.arm" first, and then set six environment variables:
Save these variables to the set-env folder, and rename makefile. arm in the hello directory to Makefile in local copy. Run ". set-env", make clean in the hello directory, and then make the following.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.