mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
17 lines
321 B
Python
17 lines
321 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
import os
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
def pytest_configure():
|
|
global app
|
|
|
|
os.add_dll_directory(Path(os.getenv("QT_ROOT")).joinpath("bin"))
|
|
os.add_dll_directory(Path(os.getenv("UIBASE_PATH")))
|
|
|
|
from PyQt6.QtWidgets import QApplication
|
|
|
|
app = QApplication(sys.argv)
|