Skip to content

maply/org-qtmob-material-resolutionfix

Repository files navigation

org-qtmob-material-resolutionfix

A resolution fix for qml-material targeting specific devices

Installation

Within your app's project folder:

git submodule add https://github.com/maply/org-qtmob-material-resolutionfix lib/org/qtmob/material/resolutionfix

Commit to add the submodule's reference permanently to your repo.

When subsequently cloning your repo, just do:

git submodule init
git submodule update

Include the project into your app's .pro file:
include(lib/org/qtmob/material/resolutionfix/org_qtmob_material_resolutionfix.pri)

For autocompletion and syntax highlighting in Qt Creator, add the following to your app's .pro file:
QML_IMPORT_PATH += $$PWD/lib

Usage example

import QtQuick 2.5
import Material 0.1
import org.qtmob.material.resolutionfix 1.0

ApplicationWindow {
    visible: true

    Component.onCompleted: ResolutionFix.fixDensity()

    initialPage: Page {
        title: "My app"
        Button {text: "some text"}
    }
}

About

A resolution fix for qml-material targeting specific devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors