#! /usr/bin/env python3 # -*- coding: utf-8 -*- #Symlink this to root dir as the program name without extension 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