Qt5 binding for rust language. (stalled)

Related tags

GUI qt.rs
Overview

Qt5 binding for Rust language.

qt.rs

This project provides bindings that allow the QT Gui toolkit to be used from the Rust Programming language.

Compiling

depends

git clone https://github.com/kitech/qt.inline.git
mkdir qt.inline/build
cd qt.inline/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make && make install

qt.rs

git clone https://github.com/kitech/qt.rs.git
cd qt.rs
cargo build

Examples

cargo build --example button

Supported Qt5 modules

  • Core
  • Gui
  • Widgets
  • Network
  • Qml
  • Quick

TODOS

  • More Qt modules support
  • Global Qt functions support
  • Qt enums support
  • Qt generic container classes support
  • Operator methods support
You might also like...
An easy-to-use, 2D GUI library written entirely in Rust.

Conrod An easy-to-use, 2D GUI library written entirely in Rust. Guide What is Conrod? A Brief Summary Screenshots and Videos Feature Overview Availabl

Rust bindings to Core Foundation and other low level libraries on Mac OS X and iOS

core-foundation-rs Compatibility Targets macOS 10.7 by default. To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To hav

Rust bindings for the FLTK GUI library.
Rust bindings for the FLTK GUI library.

fltk-rs Rust bindings for the FLTK Graphical User Interface library. The FLTK crate is a crossplatform lightweight gui library which can be statically

Build beautiful desktop apps with flutter and rust. 🌠 (wip)
Build beautiful desktop apps with flutter and rust. 🌠 (wip)

flutter-rs Build flutter desktop app in dart & rust. Get Started Install requirements Rust flutter sdk Develop install the cargo flutter command cargo

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust

Relm Asynchronous, GTK+-based, GUI library, inspired by Elm, written in Rust. This library is in beta stage: it has not been thoroughly tested and its

Rust bindings for Dear ImGui
Rust bindings for Dear ImGui

imgui-rs: Rust bindings for Dear ImGui (Recently under new maintenance, things subject to change) Window::new(im_str!("Hello world")) .size([300.0

Clear Coat is a Rust wrapper for the IUP GUI library.

Clear Coat Clear Coat is a Rust wrapper for the IUP GUI library. IUP uses native controls and has Windows and GTK backends. A macOS backend has been o

A simple UI framework for Rust built on top of IUP (http://webserver2.tecgraf.puc-rio.br/iup/)

KISS-UI A UI framework for Rust based on the KISS (Keep It Simple, Stupid!) philosophy. Powered by the IUP GUI library for C by Tecgraf, via the bindi

Rust bindings to the minimalist, native, cross-platform UI toolkit `libui`
Rust bindings to the minimalist, native, cross-platform UI toolkit `libui`

Improved User Interface A cross-platform UI toolkit for Rust based on libui iui: ui-sys: iui is a simple (about 4 kLOC of Rust), small (about 800kb, i

Comments
  • Status

    Status

    Hi,

    I'm looking into using Qt5 (with Rust) for a fairly large project and I would like to know the current status of qt.rs as there hasn't been any updates for a while.

    opened by emoon 4
  • cmake Instruction on README.md Fails

    cmake Instruction on README.md Fails

    Instruction says:

    git clone https://github.com/kitech/qt.inline.git
    mkdir qt.inline/build
    cd qt.inline/build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make && make install
    

    Fails on:

    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    

    Output:

    CMake Warning at CMakeLists.txt:16 (find_package):
      By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Qt5Core", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "Qt5Core" with any
      of the following names:
    
        Qt5CoreConfig.cmake
        qt5core-config.cmake
    
      Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
      "Qt5Core_DIR" to a directory containing one of the above files.  If
      "Qt5Core" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    CMake Warning at CMakeLists.txt:17 (find_package):
      By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Qt5Gui", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "Qt5Gui" with any
      of the following names:
    
        Qt5GuiConfig.cmake
        qt5gui-config.cmake
    
      Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
      "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"
      provides a separate development package or SDK, be sure it has been
      installed.
    
    
    CMake Warning at CMakeLists.txt:18 (find_package):
      By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
      has asked CMake to find a package configuration file provided by
      "Qt5Widgets", but CMake did not find one.
    
      Could not find a package configuration file provided by "Qt5Widgets" with
      any of the following names:
    
        Qt5WidgetsConfig.cmake
        qt5widgets-config.cmake
    
      Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
      "Qt5Widgets_DIR" to a directory containing one of the above files.  If
      "Qt5Widgets" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    CMake Error at CMakeLists.txt:54 (qt5_use_modules):
      Unknown CMake command "qt5_use_modules".
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/erayerdin/Downloads/meh/qt.inline/build/CMakeFiles/CMakeOutput.log".
    

    Environment

    • Xubuntu 16.04
    • rustc 1.7.0 (just in case)
    opened by erayerdin 0
  • error bool * => Vec<i8>

    error bool * => Vec

    about qgraphicsitem.rs:6118 `// proto: QTransform QGraphicsItem::itemTransform(const QGraphicsItem * other, bool * ok);

    impl<'a> /trait/ QGraphicsItem_itemTransform for (&'a QGraphicsItem, Option<&'a mut Vec>) {`

    should be: *mut i8

    opened by kitech 4
Owner
yatsen1
slow net better than no net
yatsen1
LightGBM Rust binding

lightgbm-rs LightGBM Rust binding Require You need an environment that can build LightGBM. # linux apt install -y cmake libclang-dev libc++-dev gcc-mu

vaaaaanquish 43 Jan 4, 2023
A Rust binding of the wxWidgets cross platform toolkit.

wxRust master: / mac(0.10): This is a Rust binding for the wxWidgets cross platform toolkit. API wxRust API documentation How it works The wxRust libr

KENZ 129 Jan 4, 2023
QML (Qt Quick) bindings for Rust language

QML-rust - bindings for Qt Quick Bindings are based on DOtherSide C bindings for QML Library is mostly feature-compliant with other bindings based on

Oak 204 Dec 8, 2022
Windows Native Undocumented API for Rust Language 🔥

Windows Native   The Windows-Native Rust library provides a convenient and safe way to access the native Windows undocumented APIs using the Rust prog

null 3 Aug 22, 2023
An easy to use command line project manager for projects using the ReCT programming language

☢️ A powerful project manager for the ReCT programming language! ☢️ ReCTx makes your projects easier to manage by allowing you to configure everything

Remy 1 Nov 28, 2022
Provides core language-agnostic functionality for LiveView Native across platforms

LiveView Native Core This repository contains an implementation of the LiveView Native core library, which is intended to handle all the details which

LiveView Native 35 Dec 27, 2022
Access German-language public broadcasting live streams and archives on the Linux Desktop

Deutsche Version Televido Televido (“Television” in Esperanto) lets you livestream, search, play and download media from German-language public televi

David C. 10 Nov 4, 2023
A simple, cross-platform GUI automation module for Rust.

AutoPilot AutoPilot is a Rust port of the Python C extension AutoPy, a simple, cross-platform GUI automation library for Python. For more information,

null 271 Dec 27, 2022
A data-first Rust-native UI design toolkit.

Druid A data-first Rust-native UI toolkit. Druid is an experimental Rust-native UI toolkit. Its main goal is to offer a polished user experience. Ther

null 8.2k Dec 31, 2022
The Rust UI-Toolkit.

The Orbital Widget Toolkit is a cross-platform (G)UI toolkit for building scalable user interfaces with the programming language Rust. It's based on t

Redox OS 3.7k Jan 1, 2023