Using the QT call Calculator

Source: Internet
Author: User

There was a first project, and then soon there would be a second.

This time we're going to call some system functions.

Don't write it from scratch.

Direct write more important places, if you do not know the place to welcome the small note or see the use of

QT Make a HelloWorld


1, double-click widget.ui to the design interface.

2, drag a pushbutton into the middle gray area.

3, right-click pushbutton in the drop-down menu to relay to the slot.

4.after the jump, type:system. (" Calc ");

5, build, run "ctrl+b;ctrl+r"

6. Click pushbutton

Get calculator:

And of course there's a big black box.

Using the QT call Calculator

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: 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.