Qwidget wrap fix (#433)
* skip setting up miniqt if customQt is on * adds opengl context * adds NodeWidgetWrap * changed the mode of qode.js to make it executable * 0.15.3
This commit is contained in:
Regular → Executable
+10
-10
@@ -3,12 +3,6 @@
|
||||
const { setupArtifact } = require('@nodegui/artifact-installer');
|
||||
const { miniQt, useCustomQt, qtHome } = require('../config/qtConfig');
|
||||
|
||||
if (!useCustomQt) {
|
||||
console.log(`Minimal Qt ${miniQt.version} setup:`);
|
||||
} else {
|
||||
console.log(`CustomQt detected at ${qtHome} . Hence, skipping Mini Qt installation...`);
|
||||
}
|
||||
|
||||
async function setupQt() {
|
||||
return Promise.all(
|
||||
miniQt.artifacts.map(async artifact =>
|
||||
@@ -22,7 +16,13 @@ async function setupQt() {
|
||||
);
|
||||
}
|
||||
|
||||
setupQt().catch(err => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
});
|
||||
if (!useCustomQt) {
|
||||
console.log(`Minimal Qt ${miniQt.version} setup:`);
|
||||
|
||||
setupQt().catch(err => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
});
|
||||
} else {
|
||||
console.log(`CustomQt detected at ${qtHome} . Hence, skipping Mini Qt installation...`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user