Presence of private APIs in Qt 6.4.2's QtCore | macOS
-
Qt 6.4.2's QtCore has two private APIs that are causing the rejection of a macOS app from the App Store. The two private APIs responsible are:
_responsibility_get_pid_responsible_for_pid
_responsibility_spawnattrs_setdisclaimThese two were not present in Qt 6.3.2's QtCore.
I used nm to view the APIs used;
nm -a Qt/6.4.2/macos/lib/QtCore.framework/Versions/A/QtCore
I have tried to use macdeployqt but it did not remove the private APIs.
Any ideas on how to get rid of the private APIs?
-
@sidthatsmoi said in Presence of private APIs in Qt 6.4.2's QtCore | macOS:
I have tried to use macdeployqt but it did not remove the private APIs.
How? See -appstore-compliant. Maybe you also have to compile Qt by yourself with the feature "appstore-compliant" set to false.
-
@Christian-Ehrlicher
I have used the -appstore-compliant option on the final .app made with Xcode. I used nm on the .app after using macdeployqt and it still showed the presence of the two APIs within it.I think I will have to make my own custom Qt using the appstore-compliant feature.
Surely you mean I have to compile Qt with the "appstore-compliant" feature turned ON?
I know it is supposed to be turned ON by default for Qt downloaded through the maintenancetool. Maybe the Qt 6.4.2 that's available through the maintenance tool wasn't built with the appstore-compliant feature turned ON?