We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f67a4 commit 3aa73b6Copy full SHA for 3aa73b6
1 file changed
EasyReflectometryApp/main.py
@@ -41,10 +41,8 @@
41
console.debug('Backend class is registered to be accessible from QML via the name PyBackend')
42
43
if INSTALLER:
44
- path_main_qml = QUrl.fromLocalFile(
45
- CURRENT_DIR / 'EasyReflectometryApp' / 'Gui' / 'ApplicationWindow.qml'
46
- ) # Running from installer
47
- engine.addImportPath(QUrl.fromLocalFile(CURRENT_DIR).toString())
+ path_main_qml = QUrl.fromLocalFile(CURRENT_DIR / 'EasyReflectometryApp' / 'Gui' / 'ApplicationWindow.qml')
+ engine.addImportPath(QUrl.fromLocalFile(CURRENT_DIR / 'EasyReflectometryApp').toString())
48
console.debug('Paths added where QML searches for components')
49
else:
50
path_main_qml = path_main_qml = CURRENT_DIR / 'Gui' / 'ApplicationWindow.qml' # Running locally
0 commit comments