Skip to content

chili-epfl/qml-logger

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
April 27, 2018 13:38
April 4, 2018 17:06
April 27, 2018 13:38
April 27, 2018 13:38
June 15, 2016 09:52

qml-logger

qml-logger is a file logging plugin that enables logging data to given file from QML. It is tested with Qt 5.10.1 on the following:

  • Ubuntu 17.10
  • macOS 10.13.3 with Xcode 9.3
  • Windows 10 (UWP x64 (MSVC 2017)) with Visual Studio 2017 Community (with Universal Windows Platform development and C++ Universal Windows Platform tools)
  • Android 7.1.2 with Ubuntu 17.10 host with Android API 23, Android SDK Tools 25.2.5 and Android NDK r10e

See samples/ for example uses.

See doc/index.html for the API.

build [Linux & macOS]

  $ mkdir build && cd build
  $ qt-install-dir/qt-version/target-platform/bin/qmake ..
  $ make install

This will install the QML plugin inside the Qt sysroot, which you must have write access to. Be aware that this is not a sandboxed installation.

build [Android]

  $ export ANDROID_NDK_ROOT=/path-to-android-ndk/
  $ mkdir build && cd build
  $ qt-install-dir/qt-version/target-platform/bin/qmake ..
  $ make install

This will install the QML plugin inside the Qt sysroot, which you must have write access to. Be aware that this is not a sandboxed installation.

build [Windows]

Run the following in the Developer Command Prompt for VS 2017:

  > "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
  > mkdir build
  > cd build
  > qt-install-root\qt-version\target-platform\bin\qmake ..
  > nmake
  > nmake install

This will install the QML plugin inside the Qt sysroot, which you must have write access to. Be aware that this is not a sandboxed installation.

build documentation

Install dependencies:

  $ apt install doxygen doxyqml

Then, generate the documentation:

  $ doxygen