Remove manual qmlcachegen invocation for internal Qt QML files

It's not safe to always assume we can always precompile everything.
Instead set QML_CACHE_DIR to ensure the files go to our desired location.
This commit is contained in:
Cameron Gutman
2023-09-10 15:03:53 -05:00
parent 87eba9bb89
commit 80062d262e
4 changed files with 16 additions and 9 deletions
+2 -1
View File
@@ -7,8 +7,8 @@ class Path
{
public:
static QString getLogDir();
static QString getBoxArtCacheDir();
static QString getQmlCacheDir();
static QByteArray readDataFile(QString fileName);
static void writeCacheFile(QString fileName, QByteArray data);
@@ -24,4 +24,5 @@ private:
static QString s_CacheDir;
static QString s_LogDir;
static QString s_BoxArtCacheDir;
static QString s_QmlCacheDir;
};