Qtcreator cannot be debugged in Linux

Source: Internet
Author: User

I am using the Ubuntu Linux operating system. The phenomenon is that when QT creator starts debugging, it prompts "you can't do that without a process to debug ". This problem has plagued me for a long time. Most of the answers on the Internet are to set the program to debug mode, but my program is debug by default. Today I found a similar solution on the English website.
 

In/etc/lD. so. conf. create a new file in the D folder, such as QT. so. conf, add a line of statement, "/opt/QT /.. /lib ", note that you should replace it with the installation path of QT lib on your machine. Do not enclose it in quotation marks and save and exit. Run "sudo ldconfig" on the terminal ". Now let's see if your qtcreator can be debugged.

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.