Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F217205
main.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
536 B
Referenced Files
None
Subscribers
None
main.cpp
View Options
#include
<QGuiApplication>
#include
<QQmlApplicationEngine>
#ifdef Q_OS_ANDROID
#include
"./3rdparty/kirigami/src/kirigamiplugin.h"
#endif
int
main
(
int
argc
,
char
*
argv
[])
{
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QGuiApplication
app
(
argc
,
argv
);
QQmlApplicationEngine
engine
;
#ifdef Q_OS_ANDROID
KirigamiPlugin
::
getInstance
().
registerTypes
();
#endif
engine
.
load
(
QUrl
(
QLatin1String
(
"qrc:/qml/main.qml"
)));
if
(
engine
.
rootObjects
().
isEmpty
())
return
-
1
;
return
app
.
exec
();
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Apr 27, 5:37 PM (23 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
153995
Default Alt Text
main.cpp (536 B)
Attached To
Mode
rMANIFOLD Manifold
Attached
Detach File
Event Timeline
Log In to Comment