* Fixed slight error in dependencies installation command (Ubuntu) * Implemented setColumnWidth method for QTreeWidget * Added an example of using setColumnWidth method * Fixed doc error for setColumnWidth method.
1.6 KiB
1.6 KiB
Setup project for development
Development setup and getting started
Make sure you follow the setup guide of Qode so that you have a build environment ready for Qode.
MacOSX:
Requirements
- Node version: > 11
- CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
- Make, GCC v7
- Qt (Optional): Make sure you followed the setup instructions from Qode
Windows:
Requirements
- Node version: > 11
- CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
- Visual Studio Community 2017
- Powershell
- Qt (Optional): Make sure you followed the setup instructions from Qode
Linux:
Supported versions: Ubuntu 17.10 and up
Requirements
- Node version: > 11
- CMake 3.1 and up (Installation instructions can be found here: https://cmake.org/install/)
- Make, GCC v7, pkg-config
- Qt (Optional): Make sure you followed the setup instructions from Qode
On Ubuntu: $ sudo apt-get install pkg-config build-essential should install everything except Qt5.
Note: If you are using your own version of Qt make sure to
export PKG_CONFIG_PATH="<path to qt installation>/5.13.0/gcc_64/lib/pkgconfig"
Common:
- Once you have setup the platform specific stuff as mentioned above, follow these:
git clonethis repo.yarn installyarn build:addonyarn dev
If you want to run with your own version of Qt make sure to pass qt_home_dir variable when building addon.
npm run rebuild:addon [--qt_home_dir=/path/to/qt]