Qt | 帮助手册学习

目录

QCoreApplication

Header: #include
qmake: QT += core
Inherits: QObject

Public Functions

QCoreApplication(int &argc, char** argv)

Constructs a Qt core application. Core applications are applications without a graphical user interface. Such applications are used at the console or as server processes.
The argc and argv arguments are processed by the application, and made available in a more convenient form by the arguments() function.
Warning: The data referred to by argc and argv must stay valid for the entire lifetime of the QCoreApplication object. In addition, argc must be greater than zero and argv must contain at least one valid character string.

~QCoreApplication()

上一篇:非法优化


下一篇:mysql – 创建计算列