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. Qt error is printed on the console; how to see where it originates from?

Qt error is printed on the console; how to see where it originates from?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
error
2 Posts 2 Posters 875 Views 2 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.
  • Stefan Monov76S Offline
    Stefan Monov76S Offline
    Stefan Monov76
    wrote on last edited by
    #1

    I'm getting this on the console in a QML app:

    QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
    

    The app is not crashing so I can't use the debugger to get a backtrace for the exception. How do I see where the error originates from?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      Hi! You could install a custom message handler or force your application to die on warnings by defining QT_FATAL_WARNINGS.

      1 Reply Last reply
      2

      • Login

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