Commit graph

23 commits

Author SHA1 Message Date
Ayush Singh e7d20f21ad Updated README. 2021-12-01 19:39:36 +05:30
Ayush Singh 85a102431f Publishing new version
Also merged new deps to docs.rs so docs should work now.
2021-12-01 17:40:58 +05:30
Ayush Singh 38ebb314b8 Refactored KLocalizedContext
Extracted everything from lib.rs
Also extracted all doc tests to integration tests.
2021-12-01 17:34:45 +05:30
Ayush Singh 0470f05c07 Can now specify Include and Lib path.
Using KF5_I18n_INCLUDE_PATH and KF5_I18n_LIBREARY_PATH.
Maybe can improve default detection later.
2021-12-01 07:32:07 +05:30
Ayush Singh 06b13ab5ad Removing macros from qmethobject.
Didn't really help much.
2021-12-01 06:54:07 +05:30
Ayush Singh b8f1cbaed7 Trying out qmetaobject-rs method for docs. 2021-11-13 09:42:03 +05:30
Ayush Singh ce6adf77ca Enabled docs-only feature in cpp_build
Can now generate docs inside container. Dunno if it works in actual
crates.io though.
2021-11-13 09:13:02 +05:30
Ayush Singh d61d5bae1f Trying to fix docs in docs.rs. 2021-11-13 08:56:39 +05:30
Ayush Singh 73e070aa27 Publishing New version.
Bumping version to 1.0.0 since Crates.io is not generating docs for some reason.
2021-11-12 23:16:47 +05:30
Ayush Singh 9a6768a314 Added more methods for KLocalizedContext.
Methods added:
1. setTranslationDomain()
2. translationDomain()
2021-11-12 19:27:08 +05:30
Ayush Singh c1ed08b8ee Publishing new version. 2021-11-09 20:24:43 +05:30
Ayush Singh 6f74d864e3 init_from_engine now returns the object.
Also added method to get the underlying c++ object. Not sure how well it
actually works since not much of KLocalizedContext is actually supposed
to be used from C++.
2021-11-07 12:17:33 +05:30
Ayush Singh dd88341c4d Added license in Cargo.toml
Doesn't seem like license-file option is working in crates.io.
2021-11-07 12:03:23 +05:30
Ayush Singh 06152cce66 Final commit before publish. 2021-11-01 21:42:24 +05:30
Ayush Singh dc8417ba09 Fix Display in github action 2021-11-01 21:35:16 +05:30
Ayush Singh 3137771cbf Ignored the Example in main page. 2021-11-01 21:27:49 +05:30
Ayush Singh 9608d9fd8e Using Qt include path for QtCore.
Would like to avoid having to add Qtcore folder to include seperately
but don't have any solution yet.
2021-11-01 21:21:56 +05:30
Ayush Singh 872e02ae6d Fix Github Action
Install Qt dependencies.
2021-11-01 19:01:15 +05:30
Ayush 991ceb8de3
Create Github Action 2021-11-01 18:04:34 +05:30
Ayush Singh c1b374e09b Added Documentation.
Almost ready for publishing in crates.io.
2021-11-01 18:02:04 +05:30
Ayush Singh 0c350fc91c Added README and LICENSE.
Also added some metadata to the Cargo.toml
2021-11-01 15:53:52 +05:30
Ayush Singh 63025689ce Switched to stable qmetaobject-rs.
Do not need the new methods from the git branch yet.
2021-11-01 15:27:07 +05:30
Ayush Singh 2c6be797a3 Initial Commit. 2021-11-01 15:01:02 +05:30