0

Can anybody tell if I can use the Windows APIs in my qt application? If yes can anybody tell me the procedure to do it? I need to use the msdn winapi "GetSystemPowerStatus" in my qt application to show the battery status in my qt GUI based application.

1

1 Answer 1

1

Yes, you can use those APIs (generally speaking), by including the appropriate header files.

It will make your code platform-specific (non-portable), so if there is a cross-platform way of doing so, I would use that.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.