-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add more docs, fix linker error for rustc 1.18
- Loading branch information
Showing
13 changed files
with
135 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
//! Bindings for [QtGui](http://doc.qt.io/qt-5/qtgui-module.html) library. | ||
//! | ||
//! This crate was generated using [cpp_to_rust](https://github.com/rust-qt/cpp_to_rust). | ||
//! | ||
//! This is work in progress, so the API will significantly change in the future. | ||
//! Some methods are missing, and some are inconvenient to use. | ||
//! Some methods are unsafe even though they are not marked as unsafe. | ||
//! Users must carefully track ownership of the objects, as usual Rust guarantees | ||
//! do not take effect. This will hopefully improve in the future. | ||
//! Please report any issues to the | ||
//! [issue tracker](https://github.com/rust-qt/cpp_to_rust/issues). | ||
//! | ||
//! This crate was generated for **Qt {cpp_to_rust.cpp_lib_version}**. | ||
//! If Qt compatibility guarantees take effect, it should be compatible | ||
//! with future minor releases and with past and future patch releases, | ||
//! but API added in future releases won't be available. The crate is not compatible | ||
//! with past minor Qt releases. If you need to use a Qt version incompatible with this crate, | ||
//! use [qt_generator](https://github.com/rust-qt/cpp_to_rust/tree/master/qt_generator/qt_generator) | ||
//! to generate crates for your Qt version. | ||
//! | ||
//! Refer to `qt_core` crate documentation for general information about Qt crates. | ||
//! Note that if you use `qt_widgets`, you should use `qt_widgets::application::Application` | ||
//! as the application object, and if you use `qt_gui` but not `qt_widgets`, you should use | ||
//! `qt_gui::gui_application::GuiApplication`. | ||
|
||
|
||
|
||
include_generated!(); |
18 changes: 18 additions & 0 deletions
18
qt_generator/qt_generator/crate_templates/ui_tools/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
//! Bindings for [QtUiTools](http://doc.qt.io/qt-5/qtuitools-module.html) library. | ||
//! | ||
//! This crate was generated using [cpp_to_rust](https://github.com/rust-qt/cpp_to_rust). | ||
//! | ||
//! This is work in progress, so the API will significantly change in the future. | ||
//! Some methods are missing, and some are inconvenient to use. | ||
//! Some methods are unsafe even though they are not marked as unsafe. | ||
//! Users must carefully track ownership of the objects, as usual Rust guarantees | ||
//! do not take effect. This will hopefully improve in the future. | ||
//! Please report any issues to the | ||
//! [issue tracker](https://github.com/rust-qt/cpp_to_rust/issues). | ||
//! | ||
//! This crate was generated for **Qt {cpp_to_rust.cpp_lib_version}**. | ||
//! If Qt compatibility guarantees take effect, it should be compatible | ||
//! with future minor releases and with past and future patch releases, | ||
//! but API added in future releases won't be available. The crate is not compatible | ||
//! with past minor Qt releases. If you need to use a Qt version incompatible with this crate, | ||
//! use [qt_generator](https://github.com/rust-qt/cpp_to_rust/tree/master/qt_generator/qt_generator) | ||
//! to generate crates for your Qt version. | ||
//! | ||
//! Refer to `qt_core` crate documentation for general information about Qt crates. | ||
|
||
include_generated!(); |
20 changes: 20 additions & 0 deletions
20
qt_generator/qt_generator/crate_templates/widgets/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
//! Bindings for [QtWidgets](http://doc.qt.io/qt-5/qtwidgets-module.html) library. | ||
//! | ||
//! This crate was generated using [cpp_to_rust](https://github.com/rust-qt/cpp_to_rust). | ||
//! | ||
//! This is work in progress, so the API will significantly change in the future. | ||
//! Some methods are missing, and some are inconvenient to use. | ||
//! Some methods are unsafe even though they are not marked as unsafe. | ||
//! Users must carefully track ownership of the objects, as usual Rust guarantees | ||
//! do not take effect. This will hopefully improve in the future. | ||
//! Please report any issues to the | ||
//! [issue tracker](https://github.com/rust-qt/cpp_to_rust/issues). | ||
//! | ||
//! This crate was generated for **Qt {cpp_to_rust.cpp_lib_version}**. | ||
//! If Qt compatibility guarantees take effect, it should be compatible | ||
//! with future minor releases and with past and future patch releases, | ||
//! but API added in future releases won't be available. The crate is not compatible | ||
//! with past minor Qt releases. If you need to use a Qt version incompatible with this crate, | ||
//! use [qt_generator](https://github.com/rust-qt/cpp_to_rust/tree/master/qt_generator/qt_generator) | ||
//! to generate crates for your Qt version. | ||
//! | ||
//! Refer to `qt_core` crate documentation for general information about Qt crates. | ||
//! Note that if you use `qt_widgets`, you should use `qt_widgets::application::Application` | ||
//! as the application object. | ||
|
||
include_generated!(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/// Actual version of `qt_build_tools` crate used as build dependency | ||
pub const QT_BUILD_TOOLS_VERSION: &'static str = "0.2.1"; | ||
|
||
pub const QT_BUILD_TOOLS_VERSION: &'static str = "0.2.0"; | ||
pub const QT_OUTPUT_CRATES_VERSION: &'static str = "0.2.0"; | ||
/// Version of all generated Qt crates | ||
pub const QT_OUTPUT_CRATES_VERSION: &'static str = "0.2.2"; |