You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
620 B
19 lines
620 B
3 years ago
|
#! /usr/bin/env python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
#Symlink this to root dir as the program name without extension
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
|
#print (__file__) #this reports the name of the symlink.
|
||
|
os.chdir(os.path.dirname(__file__))
|
||
|
sys.path.insert(0, os.getcwd())
|
||
|
|
||
|
from template import start #Executes various start up checks and sets up our environment likes search paths
|
||
|
|
||
|
from qtgui import mainwindow #which in turn imports the engine and starts the engine
|
||
|
with start.profiler():
|
||
|
mainwindow.MainWindow().qtApp.exec_()
|
||
|
#Program is over. Code here does not get executed. Quit is done via NSM in mainWindow._nsmQuit
|