Solution to ld connection error in QtCreator compilation on Ubuntu8.10

Source: Internet
Author: User
Install Qt of Qt4.5.22009.03 open-source version on Ubuntu8.10, run QtCreator, create a dialog-based project, compile the link, and the following error occurs:/usr/bin/ld: cannotfind-lfreetype requires libfreetype6-dev installation: the following error occurs after the sudoapt-getinstalllibfreetype6-dev is successfully installed:/usr

Install Qt of open-source Qt4.5.2 8.10 on Ubuntu 2009.03, run Qt Creator, create a dialog-based project, compile the link, and the following error occurs:

/Usr/bin/ld: cannot find-lfreetype

Need to install libfreetype6-dev:

Sudo apt-get install libfreetype6-dev

After successful installation, the following error occurs:

/Usr/bin/ld: cannot find-lgobject

After libgtk2.0-dev is installed, the problem is completely solved:

Sudo apt-get install libgtk2.0-dev

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.