Use resource file

Use Qt resource files, compile it to Python to obtain a window that
has an icon!

Finally!

It is still using the Oxygen icon for Database, since I have nothing
better to use.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2015-09-11 13:57:34 +02:00
parent 0f4cc1ab94
commit 732024de0e
6 changed files with 12 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ if __name__ == "__main__":
import sip # needed on windows
from PyQt5 import QtGui, QtWidgets
try:
from relational_gui import maingui, guihandler, about, surveyForm
from relational_gui import maingui, guihandler, about, surveyForm, resources
except:
print (
"Module relational_gui is missing.\nPlease install relational package.",