mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 12:35:34 +02:00
qmake: add page (#15507)
* Create qmake.md * Update pages/linux/qmake.md Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com> * Update qmake.md --------- Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
This commit is contained in:
parent
79bad17e30
commit
be32198fdb
1 changed files with 24 additions and 0 deletions
24
pages/linux/qmake.md
Normal file
24
pages/linux/qmake.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# qmake
|
||||||
|
|
||||||
|
> Generate Makefiles from Qt project files.
|
||||||
|
> More information: <https://doc.qt.io/qt-6/qmake-manual.html>.
|
||||||
|
|
||||||
|
- Generate a `Makefile` from a project file in the current directory:
|
||||||
|
|
||||||
|
`qmake`
|
||||||
|
|
||||||
|
- Specify `Makefile` and project file locations:
|
||||||
|
|
||||||
|
`qmake -o {{path/to/Makefile}} {{path/to/project_file.pro}}`
|
||||||
|
|
||||||
|
- Generate a default project file:
|
||||||
|
|
||||||
|
`qmake -project`
|
||||||
|
|
||||||
|
- Compile a project:
|
||||||
|
|
||||||
|
`qmake && make`
|
||||||
|
|
||||||
|
- Enable debug mode:
|
||||||
|
|
||||||
|
`qmake -d`
|
Loading…
Add table
Reference in a new issue