Application of QT custom window plug-in QT creator

Source: Internet
Author: User
Tags qt designer

According to the section "integrate custom widgets with QT designers" in Chapter 5th of C ++ GUI programming with QT 4, second edition, after the components generated by using the plug-in method are compiled using QT creator, the designers in QT creator cannot find them, however, you can find the plug-in by opening QT designer in <setuproot>/QT/bin.

If this plug-in is inserted in QT designer, the compilation in QT Creator will fail.

The reason for this problem is that the window component plug-ins of QT creator and QT designer have different paths. qt designer is in <setuproot>/QT/plugins/designer, while QT creator is in <setuproot>/bin/designer, solution: Copy all the content in <setuproot>/QT/plugins/designer to setuproot>/bin/designer.

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.