Add qvariant object translation (#189)

* working - translation of any wrapped object

* clang format

* Adds QVariant and Qbject property. Also adds QPixmap fromQVariant

* fixes breaking test cases

* Adds build to prepush hook aswell
This commit is contained in:
Atul R
2019-11-10 20:48:41 +01:00
committed by GitHub
parent 88cd9d430f
commit ece01d3803
20 changed files with 259 additions and 31 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
const { QApplication } = require("../../dist");
const { QApplication } = require('../../dist');
module.exports = async () => {
global.qApp = QApplication.instance();
qApp.setQuitOnLastWindowClosed(false);
global.qApp = QApplication.instance();
qApp.setQuitOnLastWindowClosed(false);
};
+1 -1
View File
@@ -1,3 +1,3 @@
module.exports = async () => {
global.qApp.quit();
global.qApp.quit();
};