qmake -project .
this command creates a new .pro
file as a new project with the same name as the parent folder and it automatically includes the available sources in the given folder too.
How to do the same for a Qt GUI project or a Qt quick one ?
There is no template for a Qt GUI project from qmake
command. If tou want a template you can use Qt Creator.
Note that by default, it's a Qt GUI project, You can specify it in the .pro
file
Qt project :
QT += gui
Non Gui project :
QT -= gui
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.