0

I am developing a Qt application for macos.

That application uses some objective-c++ files. I would like to know if ARC is enabled in the build.

In flag QMAKE_OBJECTIVE_CFLAGS I am neither adding fobjc-arc flag nor fno-objc-arc.

Does it mean I am not using ARC or it is enabled by default?

I am using MacOS 10.14 Mojave

Thanks and Regards

1 Answer 1

1

ARC is disabled by default. You have to enable it via the command line switch.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.