Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmueb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
KSZK
Schönherz Mátrix
libmueb
Commits
61425c21
Commit
61425c21
authored
4 years ago
by
bodzsoaa
Browse files
Options
Downloads
Patches
Plain Diff
Use QGuiApplication
parent
84275031
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webchannel/CMakeLists.txt
+1
-5
1 addition, 5 deletions
webchannel/CMakeLists.txt
webchannel/main.cc
+2
-2
2 additions, 2 deletions
webchannel/main.cc
with
3 additions
and
7 deletions
webchannel/CMakeLists.txt
+
1
−
5
View file @
61425c21
...
@@ -13,9 +13,5 @@ find_package(
...
@@ -13,9 +13,5 @@ find_package(
COMPONENTS WebChannel WebSockets Widgets
COMPONENTS WebChannel WebSockets Widgets
REQUIRED
)
REQUIRED
)
target_link_libraries
(
target_link_libraries
(
libmueb-webchannel PRIVATE Qt5::Core Qt5::Gui
Qt5::Widgets
Qt5::WebChannel
libmueb-webchannel PRIVATE Qt5::Core Qt5::Gui Qt5::WebChannel
Qt5::WebSockets mueb
)
Qt5::WebSockets mueb
)
target_link_libraries
(
muebwebchannel
PUBLIC Qt5::Core Qt5::Gui
PRIVATE Qt5::WebChannel Qt5::WebSockets mueb
)
This diff is collapsed.
Click to expand it.
webchannel/main.cc
+
2
−
2
View file @
61425c21
#include
<QApplication>
#include
<Q
Gui
Application>
#include
<QWebChannel>
#include
<QWebChannel>
#include
<QWebSocketServer>
#include
<QWebSocketServer>
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#include
"shared/websockettransport.h"
#include
"shared/websockettransport.h"
int
main
(
int
argc
,
char
*
argv
[])
{
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
a
(
argc
,
argv
);
Q
Gui
Application
a
(
argc
,
argv
);
// setup the QWebSocketServer
// setup the QWebSocketServer
QWebSocketServer
server
(
QStringLiteral
(
"QWebChannel libmueb Server"
),
QWebSocketServer
server
(
QStringLiteral
(
"QWebChannel libmueb Server"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment