Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dorotaphanSiili
Copy link
Collaborator

@dorotaphanSiili dorotaphanSiili commented Mar 17, 2023

Cleanup examples:
client and server are now console applications - with use of qt engine, which is necessary for connections
add few words of documentation to main.cpp
align missing "ws" in connection address

Copy link
Contributor

@w4bremer w4bremer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in one the commits
adddres -> address

{{- end }}


// You can run this client app together with the server side app - eiter also example, simulation,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eiter -> either


// connect your singals here like
{{- if $features.monitor }}
// interfaceInstanceTraced.connect(&interfaceInstanceTraced, &Interface::propertyChanged, [](auto value){ qDebug() << " property changed " << value;});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use real interface names from the API?
Would be great if one of the two versions was actually "uncommented", so that there is always one version working there.

#include <iostream>

int main(){
// You can run this server app together with the client side app - eiter also example,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eiter -> either

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the actual change in this file? Looks like nothing changed?

@dorotaphanSiili dorotaphanSiili force-pushed the dphan/fixes branch 2 times, most recently from a6cede4 to 4effea5 Compare March 21, 2023 08:43
Base automatically changed from dphan/fixes to main March 22, 2023 08:39
@dorotaphanSiili dorotaphanSiili force-pushed the dphan/fix-examples branch 5 times, most recently from e2ccfa2 to 5e720b4 Compare March 22, 2023 09:47
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this probably should not have changed. Looks like a new line only change? Or do I miss the real change?

Remove loading non-existing qml
Add documentation
add possible usage in comment
Add using Qt engine without which the connection is not working.
Add documentation
in qml example. The addresses didn't have "ws" part at the and of
address.
@dorotaphanSiili dorotaphanSiili merged commit ff57fe4 into main Mar 22, 2023
@dorotaphanSiili dorotaphanSiili deleted the dphan/fix-examples branch March 22, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants