|
|
@ -6,8 +6,8 @@ for m_path in sys.path:
|
|
|
|
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
|
|
|
|
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
|
|
|
|
m_sip_dir = os.path.join(m_path, 'sip4_tqt')
|
|
|
|
m_sip_dir = os.path.join(m_path, 'sip4_tqt')
|
|
|
|
tqt_modules.insert(0, m_sip_dir)
|
|
|
|
tqt_modules.insert(0, m_sip_dir)
|
|
|
|
if os.path.exists(os.path.join(m_path, 'python_tqt')):
|
|
|
|
if os.path.exists(os.path.join(m_path, 'PyTQt')):
|
|
|
|
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
|
|
|
|
m_pyqt_dir = os.path.join(m_path, 'PyTQt')
|
|
|
|
tqt_modules.insert(0, m_pyqt_dir)
|
|
|
|
tqt_modules.insert(0, m_pyqt_dir)
|
|
|
|
for m_path in tqt_modules:
|
|
|
|
for m_path in tqt_modules:
|
|
|
|
sys.path.insert(0, m_path)
|
|
|
|
sys.path.insert(0, m_path)
|
|
|
@ -49,4 +49,4 @@ if is_module_available('qtgl'):
|
|
|
|
__all__.append('qtgl')
|
|
|
|
__all__.append('qtgl')
|
|
|
|
|
|
|
|
|
|
|
|
# Import namespaces
|
|
|
|
# Import namespaces
|
|
|
|
from python_tqt import *
|
|
|
|
from PyTQt import *
|
|
|
|