USE_DATADIR no longer exists, QStandardPaths::standardLocations is used unless NO_SYSTEM_DATAPATH is set.