GH-3234 Add support for custom meta URLs at build time
This is not particularly interesting for non-developers. Also includes some internal restructuring of URL constants in general.
This commit is contained in:
parent
3158082b16
commit
e7f373496e
27 changed files with 75 additions and 99 deletions
|
@ -27,7 +27,7 @@
|
|||
#include "FileSystem.h"
|
||||
#include "net/Download.h"
|
||||
#include "net/ChecksumValidator.h"
|
||||
#include "net/URLConstants.h"
|
||||
#include "BuildConfig.h"
|
||||
|
||||
namespace {
|
||||
QSet<QString> collectPathsFromDir(QString dirPath)
|
||||
|
@ -308,7 +308,7 @@ QString AssetObject::getLocalPath()
|
|||
|
||||
QUrl AssetObject::getUrl()
|
||||
{
|
||||
return URLConstants::RESOURCE_BASE + getRelPath();
|
||||
return BuildConfig.RESOURCE_BASE + getRelPath();
|
||||
}
|
||||
|
||||
QString AssetObject::getRelPath()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue