Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eskil Abrahamsen-Blomfeldt
VNC Server
Commits
53a63b85
Commit
53a63b85
authored
Apr 28, 2022
by
Eskil Abrahamsen-Blomfeldt
Browse files
Remove unused file
parent
ac4be699
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/quickvnc/main.cpp
deleted
100644 → 0
View file @
ac4be699
#include <QGuiApplication>
#include <QQmlApplicationEngine>
int
main
(
int
argc
,
char
*
argv
[])
{
QGuiApplication
app
(
argc
,
argv
);
QQmlApplicationEngine
engine
;
// const QUrl url(u"qrc:/remote_ui_project/main.qml"_qs);
const
QUrl
url
(
u"qrc:/remote_ui_project/minimal-compositor.qml"
_qs
);
QObject
::
connect
(
&
engine
,
&
QQmlApplicationEngine
::
objectCreated
,
&
app
,
[
url
](
QObject
*
obj
,
const
QUrl
&
objUrl
)
{
if
(
!
obj
&&
url
==
objUrl
)
QCoreApplication
::
exit
(
-
1
);
},
Qt
::
QueuedConnection
);
engine
.
load
(
url
);
return
app
.
exec
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment