mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] main: remove hacks due to a faulty PySide2 installation
This commit is contained in:
parent
07dd8f6bb3
commit
4d265a08e2
1 changed files with 0 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
|||
import PySide2
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
@ -7,9 +6,6 @@ from PySide2.QtQml import QQmlApplicationEngine
|
|||
|
||||
from meshroom.ui.reconstruction import Reconstruction
|
||||
|
||||
# TODO: remove this
|
||||
pysideDir = os.path.dirname(PySide2.__file__)
|
||||
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = pysideDir + '/plugins/platforms'
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -20,7 +16,6 @@ if __name__ == "__main__":
|
|||
r = Reconstruction()
|
||||
engine.rootContext().setContextProperty("_reconstruction", r)
|
||||
|
||||
engine.addImportPath(pysideDir + "/qml/") # TODO: remove this
|
||||
engine.load(os.path.normpath(url))
|
||||
app.exec_()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue