Cross-platform Gui-QT Acer Aspire on Linux development environment installation configuration (QT + GCC) (original)

Source: Internet
Author: User
Tags acer

Install the QT Development Environment on an Acer ebook today. This is a small-capacity, lite version of Linux, Aspire One Linux, the most encountered problems during the installation process,

First of all, this system does not have a GCC environment. You must install the GCC environment. Otherwise, problems such as "sol_socket undeclare" will be reported during installation,

There are many ways to install GCC. First, I tried to manually translate the installation, download the gcc4.13 unpack configuration, and install it. Unfortunately, it was not successful, I don't have the patience to check whether the yum tool in the RPM package is used to install different Linux systems. It is really a good thing, because Aspire One Linux is modified based on federal Linux, so yum is supported, RPM package tools such as apt-Get are not supported. First, connect the network cable, because you need to obtain the installation content from the Internet.

$ Sudo Yum install glibc -...

$ Sudo Yum install GC ++...

Several minutes OK, very soon

Then download the QT opensource 4.5.0 for Linux. Package. Decompress,

Enter the extract directory. /Configure

Then gmake will not be able to find several header files such as X11/xlib. H, X11/XOS. h X11/xutils. H. This is the fastest way for Linux to release X11 Development kits, of course yum.

$ Sudo Yum install X11libs-dev

When qmake continues,/usr/local/ld: Can't Find-lxext will appear again. This is the solution to the ext extension package without installing X11:

$ SunDo Yum install x11ext. Dev

Qtestcase. cpp: 1490 callgrindchildexitcode undeclare solution will appear soon after qmake continues

Open the qtestcase. cpp file and move the definition of callgrindchildexitcode to the beginning of the qexec function.

This is a bug in this version. Will this problem happen? I can't believe it. OK

Will qmake continue? I don't know. I'm going to go home after reading tomorrow's compilation results. (Note: Some of the sudo command lines in it are written by memory. Several parameters may be inaccurate)

Contact Us

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.

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.