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. How to disable logs while running a qml application
Forum Updated to NodeBB v4.3 + New Features

How to disable logs while running a qml application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 286 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.
  • V Offline
    V Offline
    vamsi1992
    wrote on last edited by
    #1

    I am trying to run a application which has stackview but the screen transition is not smooth i am suspecting that is because of logs on the console,so i'm trying to disable logs while the application running.

    jsulmJ 1 Reply Last reply
    0
    • V vamsi1992

      I am trying to run a application which has stackview but the screen transition is not smooth i am suspecting that is because of logs on the console,so i'm trying to disable logs while the application running.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @vamsi1992 What logs do you mean?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        You can install your own message handler and disable logging there shortly before the transition starts. Docs. But, it's very probable that logs are not the cause of issues here. Try disabling them completely for the whole app and see if that changes anything. Then use a profiler to identify the bottlenecks.

        (Z(:^

        1 Reply Last reply
        3

        • Login

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