com.paulon.quicknative

Native components for QML

version 0.2.0

To install:

❯ qpm install com.paulon.quicknative

The goal of quick native is to provide native user experience in components that require a fine integration in both Android and IOS. Also, this library is inspired by how RectNative extensions work which briefly means to provide an abstracted interface that's platform independent.

One of the main reasons to use QML/Qt is the fact that apps don't need to run in their target platform all the time (through emulators or physical devices), instead they can be executed locally which makes the process of writing mobile apps very convenient, therefore components in this library fallback to Qt's standard ones when the running platform does not have an equivalent native one.

Native Components

Component Native Android Native IOS Desktop
NativeFileDialog Provided By QuickNative Native component provided by Qt Provided By Qt
NativeTextInput coming soon coming soon coming soon

Examples

Image Picker (NativeFileDialog)

  • This component has been successfully tested accross different android versions and devices
  • Follows the same api as FileDialog:
import QuickNative 0.1

...

NativeFileDialog {
    selectMultiple: true
    folder: shortcuts.pictures

    Component.onCompleted: {
        open()
    }

    onFileUrlsChanged: {
        console.log(fileUrls)
    }
}

...

Result:

Android IOS Desktop

Installation

This library is available through qpm:

qpm install com.paulon.quicknative

Licensing

QuickNative is free software; you can redistribute it and/or modify it under the terms of the MIT License

Author

Paulo Nogueira

Info
View on Github

License: MIT

Installs
Today 0
This week 0
This month 2
This year 44
Total 44
Dependencies

None.

Versions