Why does Qt use its own make tool, qmake?

前端 未结 6 1840
栀梦
栀梦 2020-12-08 00:03

I just started using Qt and noticed that it uses its own make tool, qmake.

  • Why does Qt use its own make tool?
  • Is there something special that prevents
6条回答
  •  北海茫月
    2020-12-08 00:46

    qmake is designed to be cross platform and flexible. It can compatible with Microsoft Visual Studio and Xcode.

    You can find it all in the qmake Manual.

    qmake generates a Makefile based on the information in a project file. Project files are created by the developer, and are usually simple, but more sophisticated project files can be created for complex projects. qmake contains additional features to support development with Qt, automatically including build rules for moc and uic. qmake can also generate projects for Microsoft Visual studio without requiring the developer to change the project file.

提交回复
热议问题