Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Reload not working in version 2.18 #1

Open
Light-Wizzard opened this issue Oct 13, 2018 · 2 comments
Open

Live Reload not working in version 2.18 #1

Light-Wizzard opened this issue Oct 13, 2018 · 2 comments

Comments

@Light-Wizzard
Copy link

To reproduce:

Following this article: https://v-play.net/updates/release-2-16-1-live-code-reloading-with-custom-c-and-native-code-for-qt

I am using 2.18 on Arch Linux Manjaro so it should apply to this release.

Using this Project: https://github.com/V-Play/VPlayCppQML-Example

Making the changes that are commented out:

In Main:

#include <VPLiveClient>
//  vplay.setMainQmlFileName(QStringLiteral("qrc:/qml/Main.qml"));
// engine.load(QUrl(vplay.mainQmlFileName()));
VPlayLiveClient client (&engine);

in pro file:

CONFIG += v-play-live

Not sure what they mean by disabling auto start; does that mean you do not use this Live Popup; and instead just hit run debug?

If I hit run->Debug; it comes up with a Connecting box that does not connect, not even to a remote device.

I get the error that com.yourcompany.xyz is not defined; but it complies fine. If I remove the code by toggling the comments and hit run debug; it works fine; so its not the app; but the Live emulator.

I searched for this issue; only found pre 2.16 issues.

This is a very important feature; please help me to resolve this issue.

@alexhvplay
Copy link
Contributor

alexhvplay commented Oct 14, 2018

Hi,

after you build and run the project with the Live Client Module, your application starts with Live Client features. You can press "Connect" to connect it to the Live Server, and use it just like the default Live Client. It sounds as if you have mistaken your application as the new server instead of the new client after building.

Cheers,
Alex

@Light-Wizzard
Copy link
Author

Light-Wizzard commented Oct 14, 2018 via email

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

No branches or pull requests

2 participants