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

Forums

OverviewFelgo Installation › libFelgoLive.a missing – Android – Felgo 4

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24952

    Allan

    Hello,

    I’m trying to build with the live client.

    I’m on the MVC Architecture Demo App, I removed the comment on theses lines :

    find_package(FelgoLive REQUIRED)
    target_link_libraries(appBasic PRIVATE FelgoLive)

    and changed my main to :

      QApplication app(argc, argv);
    
      FelgoApplication felgo;
    
      // Use platform-specific fonts instead of Felgo's default font
      felgo.setPreservePlatformFonts(true);
    
      QQmlApplicationEngine engine;
      felgo.initialize(&engine);
    
      // Set an optional license key from project file
      // This does not work if using Felgo Live, only for Felgo Cloud Builds and local builds
      felgo.setLicenseKey(PRODUCT_LICENSE_KEY);
    
      // use this during development
      // for PUBLISHING, use the entry point below
      ///felgo.setMainQmlFileName(QStringLiteral("qml/Main.qml"));
    
      // use this instead of the above call to avoid deployment of the qml files and compile them into the binary with qt's resource system qrc
      // this is the preferred deployment option for publishing games to the app stores, because then your qml files and js files are protected
      // to avoid deployment of your qml files and images, also comment the DEPLOYMENTFOLDERS command in the .pro file
      // also see the .pro file for more details
      //felgo.setMainQmlFileName(QStringLiteral("qrc:/qml/Main.qml"));
    
      ///engine.load(QUrl(felgo.mainQmlFileName()));
    
      // to start your project as Live Client, comment (remove) the lines "felgo.setMainQmlFileName ..." & "engine.load ...",
      // and uncomment the line below
      FelgoLiveClient client (&engine);
    
      return app.exec();

    Works good if I’m building for Desktop (Windows), but when I try for Android, I got this error :

    ninja: error: ‘C:/Felgo4/Felgo/android_armv7/lib/libFelgoLive.a’, needed by ‘CMakeFiles/appBasic_autogen_timestamp_deps’, missing and no known rule to make it

     

    Without live, its building and running great on Android.

    Can you help on this one ? Felgo live is really a time saver.

     

    Thanks.

    #24953

    Günther
    Felgo Team

    Hi Allan,

    we already fixed this issue for the new Felgo 4.0.1 update. It was released today and is already available.
    Can you try to update the Felgo SDK with the Maintenance Tool and then rebuild the project?

    Let me know if this fixes the issue for you.

    Best,
    Günther

    #24957

    Allan

    Hi,

    Works perfectly now, thanks.

Viewing 3 posts - 1 through 3 (of 3 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