Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4.0 Beta4, 6.5
-
None
-
865b1721bd (qt/qtbase/dev) 865b1721bd (qt/tqtc-qtbase/dev) 7bb095f09c (qt/qtbase/6.4) 7bb095f09c (qt/tqtc-qtbase/6.4) fb12a7f9b9 (qt/qtbase/6.4.0) fb12a7f9b9 (qt/tqtc-qtbase/6.4.0)
Description
macOS with qtbase/dev, using ninja. QCoreApplication::applicationName() returns "${PRODUCT_NAME}" unless the application calls setApplicationName(). This is wrong and breaks the behavior promised in the docs: "If not set, the application name defaults to the executable name"
This can have more serious consequences on a number of things, for example consider QStandardPath::CacheLocation: it now returns "/Users/<user>/Library/Caches/${PRODUCT_NAME}" for any application that does not explicitly set a name.