diff --git a/.gitignore b/.gitignore
index d8c2f1a..0d75bf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
.idea/
.DS_Store
temp/
+.vscode/
diff --git a/CQGui/Command.py b/CQGui/Command.py
index 46023c8..f644466 100644
--- a/CQGui/Command.py
+++ b/CQGui/Command.py
@@ -5,7 +5,14 @@
import imp, os, sys, tempfile
import FreeCAD, FreeCADGui
from PySide import QtGui, QtCore
-import ExportCQ, ImportCQ
+try:
+ import ExportCQ
+except:
+ from . import ExportCQ
+try:
+ import ImportCQ
+except:
+ from . import ImportCQ
import module_locator
import Settings
import Shared
diff --git a/CadQuery_rc.py b/CadQuery_rc.py
index 5304724..0d8a978 100644
--- a/CadQuery_rc.py
+++ b/CadQuery_rc.py
@@ -2,16 +2,286 @@
# Resource object code
#
-# Created: Sat Mar 10 22:53:44 2018
-# by: The Resource Compiler for PySide (Qt v4.8.4)
+# Created: Tue Jun 12 00:12:45 2018
+# by: The Resource Compiler for PySide2 (Qt v5.9.1)
#
# WARNING! All changes made in this file will be lost!
-from PySide import QtCore
+try:
+ from PySide2 import QtCore
+except:
+ from PySide import QtCore
+
+qt_resource_data = b"\
+\x00\x00\x0f}\
+<\
+?xml version=\x221.\
+0\x22 encoding=\x22UTF\
+-8\x22 standalone=\x22\
+no\x22?>\x0a\x0a\
+\x0a\x0a\
+"
+
+qt_resource_name = b"\
+\x00\x05\
+\x00o\xa6S\
+\x00i\
+\x00c\x00o\x00n\x00s\
+\x00\x0b\
+\x05r\xb2\xa7\
+\x00C\
+\x00Q\x00_\x00L\x00o\x00g\x00o\x00.\x00s\x00v\x00g\
+"
+
+qt_resource_struct = b"\
+\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
+\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
+\x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
+"
-qt_resource_data = "\x00\x00\x0f}\x0a\x0a\x0a\x0a"
-qt_resource_name = "\x00\x05\x00o\xa6S\x00i\x00c\x00o\x00n\x00s\x00\x0b\x05r\xb2\xa7\x00C\x00Q\x00_\x00L\x00o\x00g\x00o\x00.\x00s\x00v\x00g"
-qt_resource_struct = "\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00"
def qInitResources():
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
diff --git a/Libs/pyqode/core/_forms/pyqode_core_rc.py b/Libs/pyqode/core/_forms/pyqode_core_rc.py
index 6fb05db..46cca83 100644
--- a/Libs/pyqode/core/_forms/pyqode_core_rc.py
+++ b/Libs/pyqode/core/_forms/pyqode_core_rc.py
@@ -5,7 +5,6 @@
# Created by: The Resource Compiler for PyQt5 (Qt v5.5.1)
#
# WARNING! All changes made in this file will be lost!
-
from pyqode.qt import QtCore
qt_resource_data = b"\
diff --git a/Libs/pyqode/python/_forms/pyqode_python_icons_rc.py b/Libs/pyqode/python/_forms/pyqode_python_icons_rc.py
index 51deca9..145f611 100644
--- a/Libs/pyqode/python/_forms/pyqode_python_icons_rc.py
+++ b/Libs/pyqode/python/_forms/pyqode_python_icons_rc.py
@@ -5,7 +5,6 @@
# Created by: The Resource Compiler for PyQt5 (Qt v5.5.1)
#
# WARNING! All changes made in this file will be lost!
-
from pyqode.qt import QtCore
qt_resource_data = b"\