Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-15 00:17:16 +00:00
parent 7e8c7b7588
commit 7f2392a93f
5 changed files with 69 additions and 2 deletions

29
tldr/linux/qmake Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`