A modern Qt widget library that provides enhanced components with theme support, animations, and a clean API.
简体中文 | English
- pip
pip install QEasyWidgets -i https://pypi.org/simple/
- Qt 6.x or Qt 5.15+
- C++17 compatible compiler
- qmake or CMake
- Using qmake
cd QEasyWidgets
qmake QEasyWidgets.pro
make # Linux/macOS
nmake # Windows (MSVC)
mingw32-make # Windows (MinGW)- Using CMake
cd QEasyWidgets
mkdir build && cd build
cmake ..
cmake --build .The library will be built as a static library:
- Debug:
qeasywidgetsd.lib(Windows) orlibqeasywidgets.a(Unix) - Release:
qeasywidgets.lib(Windows) orlibqeasywidgets.a(Unix)
- Basic Example
#include <QApplication>
#include "QEasyWidgets.h"
#include "Components/Button.h"
#include "Windows/Window.h"
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QEWIns.setTheme(LIGHT); // Initialize QEasyWidgets
WindowBase window; // Create a window
PrimaryButton *button = new PrimaryButton("Click Me", &window); // Create a button
button->setIcon(IconBase::Play);
window.setCentralWidget(button);
window.show();
return app.exec();
}Here are some projects based on QEasyWidgets:
