Git Product home page Git Product logo

bqt's Introduction

bqt

PyPI version latest tag ⚠️ PyPi version is currently outdated. Install from this repo for latest.

Add QT support to Blender, letting you create custom UI for your addons with PySide2 QtWidgets. custom ui sample

Features

feature description
fully custom UI Instead of feeling limited by N-Panel only UI. Do whatever you want.
cross app Qt widgets run nativaly in Krita, 3ds Max, Maya, … and are great to use in cross dcc pipelines
existing community hundreds of QT widgets on GitHub you can reuse, and lots of stack exchange questions answered regarding qt.
Themed BQT ships with a basic blender theme, so qt widgets will by default look similar to Blender.

Requirements

Blender 2.83or higher. Windows (stable) or Mac (experimental)

Installation

install as addon (recommended)

  1. Download the latest release. You can download the zip from the repo.
  2. Extract the zip and copy the bqt folder to your blender addons folder.
  3. Enable the addon by going to Edit > Preferences > Add-ons and search for qt

PIP install (outdated)

⚠ PIP install is currently outdated, do not use until further notice.

The installation of bqt with automatic setup for Blender requires the usage of the integrated python interpreter found within ../Blender Foundation/<version>/Python/bin

python.exe -m pip install bqt

Installing from Source

If you are installing from a clone of the repository you can easily install by navigating to bqt's root folder and running:

python setup.py install

Develop setup

When working on the bqt code from a repo, to prevent having to reinstall bqt every time you make a change, you can symlink the bqt folder to your blender addons folder to develop bqt. Any updates in the repo are then reflected in blender on restart. e.g.:

mklink /J "C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\bqt" "C:\Users\hanne\OneDrive\Documents\repos\_Blender\bqt\bqt"

Environment variables

  • BQT_DISABLE_STARTUP if set to 1, completely disable bqt
  • BQT_DISABLE_WRAP if set to 1, disable wrapping blender in a QWindow
  • BQT_DISABLE_CLOSE_DIALOGUE if set to 1, use the standard blender close dialogue

Sample code

bqt_demo shows you how to use bqt with several qt demos you can run in Blender

Community

Discuss BQT on

ALternative

bqt's People

Contributors

amatobahn avatar bob-white avatar friedererdmann avatar hannesdelbeke avatar jeffhanna avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.