Forums

OverviewFelgo 2 Support (Qt 5) › Signals from native utils camera

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18710

    Wojciech

    I take image from camera. In one project it works OK, but in another not: signals from native utils seems to not come (camera starts, but no image shows on photo viewer :

        Connections {
          target: nativeUtils
          onCameraPickerFinished: {
            if(accepted) {
                photo.source = path
            }
            uploadMessage.text = path
          }
        }

     

    How I can get to see any errors from my Android device? Or could I simulate nativeUtils in desktop compilation on Windows?

    Can you advice what could block connections for native utils?

    #18722

    Alex
    Felgo Team

    Hi,

    can you add log output to the onCameraPickerFinished signal to be 100% sure it is not called. Maybe there only is an error in the code that you are trying to run in the signal. If the camera picker starts correctly, everything should be set up just fine.

    Cheers,
    Alex

    #18726

    Wojciech

    I’ve written that onCameraPickerFinished is not invoked, as I change some app text to see any change at its beginning. What’s more: I copied similar page with camera from the other application that is fine – and it is not working here either. Can anything surpress this signal?

    #18732

    Wojciech

    Does it matter which versions of libraries I import?

    On that page with camera usage I have:

    import Felgo 3.0
    import QtQuick 2.9

    But in some other pages I have different versions.

    I have no other ideas at the moment. Looking forward to your advice..

    #18752

    Alex
    Felgo Team

    Hi,

    there is nothing that should suppress the signal.The imports also do not matter here.

    Can you send the project as zip archive to support@felgo.com so we can have a quick look at it?

    Cheers,
    Alex

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

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support