Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Custom live client doesn't ask for IP address and port

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24964

    Makoren

    Hi, I’m building a custom live client for iOS through the instructions listed here: https://felgo.com/doc/qml-hot-reload-felgo-live/#c-native-code-build-your-own-live-clients-with-the-felgo-live-module

    The app builds successfully, but unlike with the developer app, my custom app doesn’t open a dialog to ask for the IP and port of the machine the server is running on. This means I can’t connect to my computer to hot reload QML code with my custom Objective-C code.

    Is there a way around this?

    #24979

    Günther
    Felgo Team

    Hi,

    are you using the the latest version of Felgo (4.0.1), or an earlier one?

    There is no difference in the behavior when you build the live client yourself. The connect dialog should show up for all phones using iOS 16 or later.

    Best,
    Günther

    #24980

    Makoren

    I’m using the latest version of Felgo 3 since I’m making games. My phone is on iOS version 16.3.1.

    I’ve tested this in an empty Felgo game project with only these changes (specifically, I’m uncommenting and commenting where the file tells you to):

    1. CONFIG += felgo-live added to the .pro file
    2. #include added to main.cpp
    3. FelgoLiveClient client (&engine); added to main.cpp
    4. felgo.setMainQmlFileName(QStringLiteral("qml/Main.qml")); commented out
    5. engine.load(QUrl(felgo.mainQmlFileName())); commented out

    Again, the app builds successfully, but the native prompt that asks for an IP address and port doesn’t appear.

    #24983

    Günther
    Felgo Team

    Hi,

    thanks for clarification! While the iOS Dev App in the stores is already updated to support the connection dialog on iOS 16, this change is not yet part of the Felgo Live Module that’s bundled with the older Felgo 3.10 release. It will be part of the next Felgo release 3.11.

    As a workaround for your custom Live Client build, you can open the settings, choose “I can’t connect to my Desktop”, scroll down to where the device IP is displayed, and tap the IP number 7-times. This opens a hidden connection dialog where you can enter your server IP and port.

    Hope this helps,
    Günther

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded