Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
#
include
<
QApplication
>
5
#
include
<
QQuickView
>
6
#
include
<
QQmlContext
>
7
8
//![0]
9
int
main
(
int
argc,
char
*argv[])
10
{
11
QApplication app(argc, argv);
12
13
QQuickView view;
14
view.setSource(QUrl(
"qrc:/main.qml"
));
15
view.show();
16
17
return
app.exec();
18
}
19
//![0]
main
int main(int argc, char *argv[])
[ctor_close]
Definition
src_corelib_animation_qpropertyanimation.cpp:100
qtdeclarative
src
quick
doc
snippets
qmlapp
qtbinding
resources
main.cpp
Generated on
for Qt by
1.14.0