mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-03-09 15:40:18 +00:00
#10 import OpenGl library on startup, dropped qtbase5-dev dependancy
This commit is contained in:
parent
458108119d
commit
9b2925b428
5 changed files with 11 additions and 4 deletions
|
@ -14,6 +14,13 @@ import argparse
|
|||
from pathlib import Path
|
||||
from enum import Enum
|
||||
from typing import List, Dict, Callable
|
||||
|
||||
# Import OpenGL library for Nvidia driver
|
||||
# https://github.com/Ultimaker/Cura/pull/131#issuecomment-176088664
|
||||
import ctypes
|
||||
from ctypes.util import find_library
|
||||
ctypes.CDLL(find_library('GL'), ctypes.RTLD_GLOBAL)
|
||||
|
||||
# PyQt5 packages
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
from PyQt5.QtCore import QObject, QUrl, Qt, pyqtProperty, pyqtSlot, pyqtSignal, Q_ENUMS
|
||||
|
@ -23,7 +30,6 @@ from PyQt5.QtQml import qmlRegisterType, QQmlApplicationEngine, QQmlListProperty
|
|||
from twisted.internet import protocol, error
|
||||
from netifaces import interfaces, ifaddresses, AF_INET
|
||||
|
||||
|
||||
# -------------------------------------------------------------------------------
|
||||
# file path definitions
|
||||
# -------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue