Commit Graph

22 Commits

Author SHA1 Message Date
Jussi Pakkanen f72ee8e742 Rewrap long text lines in docs. [skip ci] 2021-01-30 16:19:59 +00:00
Eli Schwartz 478feb39ed qt module: fix error message typo, translation qresource accepts qm not ts
Fixes #7925
2020-11-04 17:23:34 +02:00
Eli Schwartz 1de1cc22e2 qt module: add qresource support to compile_translations
A common pattern in Qt5 applications is to embed translations in the
executable using the qresource system. In this case, the list of
translation files is already available in the .qrc file and there's no
good reason to duplicate this info in meson.build.

Let compile_translations optionally take a qrc input, in which case it
will go straight to generating the relevant translations and
rcc-generated .cpp, and directly return the thing users actually care
about -- the .cpp for linking.
2020-08-25 23:46:45 +03:00
TheQwertiest 96609da8d2 docs: replaced `ninja` with appropriate `meson` commands [skip ci] 2020-06-18 17:47:10 +03:00
Xavier Claessens ecb076ba00 qt5: Add has_tools() method 2020-03-08 13:48:27 +02:00
xiannox 5b3192534c module-qt: add rcc_extra_arguments to pass extra arguments to rcc (#4406) 2018-10-24 19:11:08 +03:00
Salamandar 26a5e9a95f Add support for uic_extra_arguments to qt5 (#4178) 2018-09-28 13:01:27 -07:00
Alexis Jeandet 689d32ecfb [skip ci] Add some documentation for PR #3998
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-09-17 23:35:06 +03:00
Jon Turney 0092e6d908 Mention private_headers keyword in Qt dependency documentation [skip ci]
Also, put discussion of Qt dependencies *before* the example in the Qt5
module documentation.
2018-05-31 13:15:47 +00:00
Alexis Jeandet 7cfe970cef [Qt module] private_headers kwarg documentation reformulation
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-05-27 21:20:42 +02:00
Alexis Jeandet f3a8efc11b Added Added Qt's private header support with pkg-config
Just use the same approach than qmake to generate private headers path

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-30 11:43:54 +02:00
Alexis Jeandet 51868d00e7 [Qt module] Privates headers: added documentation
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-04-28 17:45:23 +02:00
Alexis Jeandet 5462e65c44 [Qt module] Updated Dokerfile, added since 0.44 mention in doc
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 21:20:45 +01:00
Alexis Jeandet 5c5eac3571 [Qt module] Added translation files compilation method
- Added a new compile_translations method since preprocess was already quite
full and translations compilation is quite different from ui, qrc, cpp files
preprocessing.
- Updated translation.
- Updated test case.

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 07:09:07 +01:00
Leif Middelschulte a2478d4dab documentation: adds new keyword usage to the given example. 2017-10-27 08:46:25 +02:00
Leif Middelschulte f720e590b1 adds "since"-note for the new keyword to the documentation 2017-10-27 08:43:26 +02:00
Leif Middelschulte a46d05acf9 updates the documentation to follow the list-style to explain arguments.
As per to @jon-turney's and @jpakanne's suggestion [0], this commit
changes the "prosa" documentation to a list-style one.

[0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
2017-10-27 08:38:15 +02:00
Leif Middelschulte 050a56ad47 Qt5-Module: Add `moc_extra_arguments` keyword support.
This commit adds support for an additional `moc_extra_arguments` keyword.
It becomes especially handy, when `moc`-ed sources conditionally provide
`slots`, depending on compile time macros (i.e. defines).
2017-10-25 21:09:16 +02:00
Alexis Jeandet a9258923fa Added include directory argument for Qt's Moc which is needed to build plugins.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-01 20:12:25 +03:00
Jussi Pakkanen 9b5a5c2e61 Wrapped and alphabetized the remaining modules. 2017-08-21 00:22:33 +03:00
philtherobot 1821598fbb Improve the example by explaining modules (#1981)
* Improve the example by explaining modules

* Refer to Qt documentation for its list of modules

* Add a sweet link to Qt's doc.
2017-06-22 17:17:21 -04:00
Thibault Saunier b371875e02 docs: Import the website and wiki and build with hotdoc
This allows us to more easily have the documentation in sync with
the source code as people will have to document new features etc
right at the time where they implement it.
2017-04-26 17:56:33 +03:00