QtMobility Contacts:How to enable runtime debug messages on maemo5

From Qt Wiki
Jump to navigation Jump to search

Template:ArticleMetaData

Template:Abstract

Switch on the debug messages[edit | edit source]

To enable the debug messages you have to

  1. Open a terminal on your device
  2. Set any value for the QCONTACT_MAEMO5_DEBUG environment variable.
    export QCONTACT_MAEMO5_DEBUG=1
  3. Run the application in the terminal where you set the variable
    run-standalone.sh ./myapps

Switch off the debug messages[edit | edit source]

  1. Clean the QCONTACT_MAEMO5_DEBUG var
    export QCONTACT_MAEMO5_DEBUG=
  2. Run your application as before

Reporting bugs[edit | edit source]

If a bug is found, debug messages should be added when the bug description is filed in the Qt Bug Tracker.