mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 15:10:31 +02:00
Merge pull request #10999 from birarda/bug/html-path-on-mac-build
fix create tab load on OS X
This commit is contained in:
commit
26be7e1a01
2 changed files with 13 additions and 10 deletions
|
@ -180,7 +180,7 @@ TabView {
|
||||||
|
|
||||||
WebView {
|
WebView {
|
||||||
id: entityListToolWebView
|
id: entityListToolWebView
|
||||||
url: "../../../../../scripts/system/html/entityList.html"
|
url: Paths.defaultScripts + "/system/html/entityList.html"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
|
@ -194,7 +194,7 @@ TabView {
|
||||||
|
|
||||||
WebView {
|
WebView {
|
||||||
id: entityPropertiesWebView
|
id: entityPropertiesWebView
|
||||||
url: "../../../../../scripts/system/html/entityProperties.html"
|
url: Paths.defaultScripts + "/system/html/entityProperties.html"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,7 @@ TabView {
|
||||||
|
|
||||||
WebView {
|
WebView {
|
||||||
id: gridControlsWebView
|
id: gridControlsWebView
|
||||||
url: "../../../../../scripts/system/html/gridControls.html"
|
url: Paths.defaultScripts + "/system/html/gridControls.html"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ TabView {
|
||||||
|
|
||||||
WebView {
|
WebView {
|
||||||
id: particleExplorerWebView
|
id: particleExplorerWebView
|
||||||
url: "../../../../../scripts/system/particle_explorer/particleExplorer.html"
|
url: Paths.defaultScripts + "/system/particle_explorer/particleExplorer.html"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#define hifi_PathUtils_h
|
#define hifi_PathUtils_h
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
|
#include <QtCore/QUrl>
|
||||||
|
|
||||||
#include "DependencyManager.h"
|
#include "DependencyManager.h"
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
|
@ -24,6 +26,7 @@ class PathUtils : public QObject, public Dependency {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
SINGLETON_DEPENDENCY
|
SINGLETON_DEPENDENCY
|
||||||
Q_PROPERTY(QString resources READ resourcesPath)
|
Q_PROPERTY(QString resources READ resourcesPath)
|
||||||
|
Q_PROPERTY(QUrl defaultScripts READ defaultScriptsLocation)
|
||||||
public:
|
public:
|
||||||
static const QString& resourcesPath();
|
static const QString& resourcesPath();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue