260 Followers
ยท
Follow

There has been a drastic improvements in NodeGui since the last release announcement of v0.2.0 in September 2019. This post aims to summarize some of the major ones.

๐Ÿ‹๏ธโ€โ™€๏ธ Lots of core Qt widgets and features

Image for post
Image for post
Some of the native widgets in NodeGui 0.13.0 and up
List of widget and core features in v0.13.0

โœจ Includes prebuilt binaries: No more compilation step.

Since NodeGui is a library with native Nodejs addon, the C++ part of the library needed to be built on installation. โ€ฆ


Image for post
Image for post

NodeGUI v0.2.0 contains major architectural changes with respect v0.1

Includes a shiny new build system ๐ŸŒŸ

NodeGUI although is a nodejs addon, it no longer uses node-gyp as its build system. This is to enable greater flexibility and stability.
More details on why we changed to cmake here: https://github.com/nodegui/nodegui/pull/103

Includes support for Native plugins for NodeGUI ๐ŸŽ‰

From v0.2.0 anyone can now build third party native plugins for NodeGUI. This is heavily inspired from React Nativeโ€™s architecture.
This will ensure that the core library remains lean and will allow more easy way for contributions. More on this will be added to the docs soon. But if you are really eager to know how it would look you can take a look at https://github.com/nodegui/nodegui-example-plugin

Other changes:

  • Adds QTabWidget
  • QCheckBoxEvents.toggled
  • QIcon.pixmap
  • qtnode addon is now renamed to nodegui_core


Packer is a npm module that allows you to package apps built with NodeGUI or React NodeGUI into a standalone executable. Packer works on Mac, Windows and Linux

https://github.com/nodegui/packer

This is an initial MVP release of the module.

  • On MacOS โ€” Packer will output a dmg file
  • On Linux โ€” Packer will output an AppImage which is something similar to a .app file in MacOS
  • On Windows โ€” Packer outputs a folder containing the executable and all the dlls.

Currently if you need to produce a build you need to run the packer in different OS environments. โ€ฆ

About

Atul

https://blog.atulr.com : I have moved from medium to my personal blog here. Follow me on twitter : https://twitter.com/a7ulr

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store