Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED] Viewing debug output for QML imports, VS2008?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Viewing debug output for QML imports, VS2008?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I see in the documentation that I should use the environment variable QML_IMPORT_TRACE=1 to get debug information.

    My application loads a QML scene into a QDeclarativeView.

    Though I set the variable (with a qputenv call), and though I'm compiling in debug, I don't see any of the expected log messages in my output window. Is there something I'm doing wrong?

    Thanks in advance, for any help,
    Frankie

    Update: I managed to get the debug information, I had to move the qputenv call to the constructor before accessing any of my QML related objects. This is though in my app I have later points where I set the objects to null and re-initialize them. For some reason, the environment setting wouldn't actually cause debug info to be issued, unless I set it before any access to these objects.

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved