Linux specific Qt5 port

This commit is contained in:
wmayer
2016-12-13 19:47:32 +01:00
parent 5e375a6238
commit 87f2866884
4 changed files with 63 additions and 5 deletions

View File

@@ -206,6 +206,8 @@ Py::Object PythonWrapper::fromQIcon(const QIcon* icon)
PyObject* pyobj = Shiboken::createWrapper<QIcon>(icon, true);
if (pyobj)
return Py::asObject(pyobj);
#else
Q_UNUSED(icon);
#endif
throw Py::RuntimeError("Failed to wrap icon");
}