Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Test issue
Forum Update on Monday, May 27th 2025

Qt Test issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 123 Views
  • 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.
  • HoMaH Offline
    HoMaH Offline
    HoMa
    wrote on last edited by
    #1

    HI!
    I have some tests in Qt. My test exe has a hand made main, because I wanted to have more then one test class. As I use debug, warning and info logging a lot, I always have to set -maxwarnings 0 in the command line, so that logging does not "explode".
    I would like to have that in code, because I use to forget to adabt the command line from time to time. But the method QTestLog::setMaxWarnings seems not to be available for my code.
    Any idea, how I can set it anyhow?

    Best regards
    Holger

    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