mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Move to VCPKG (#133)
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import cast
|
||||
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
|
||||
|
||||
def pytest_configure():
|
||||
global app
|
||||
|
||||
os.add_dll_directory(str(Path(cast(str, os.getenv("QT_ROOT"))).joinpath("bin")))
|
||||
os.add_dll_directory(str(os.getenv("UIBASE_PATH")))
|
||||
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
Reference in New Issue
Block a user