Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Create does not print messages to the console in the C project
Forum Updated to NodeBB v4.3 + New Features

Qt Create does not print messages to the console in the C project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 1 Posters 337 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.
  • 8Observer88 Offline
    8Observer88 Offline
    8Observer8
    wrote on last edited by 8Observer8
    #1

    Hello, I am using SDL3 with Qt Creator 13.0.0 and CMake in C on Windows 10 with MinGW. Qt Creator does not print anything to the debug console using printf when the application is running, but does print everything after closing the executable.

    1 Reply Last reply
    0
    • 8Observer88 Offline
      8Observer88 Offline
      8Observer8
      wrote on last edited by 8Observer8
      #2

      fflush(stdout); helped. Thanks to @Varenx on the Qt discord server!

      1 Reply Last reply
      0
      • 8Observer88 8Observer8 has marked this topic as solved on
      • 8Observer88 Offline
        8Observer88 Offline
        8Observer8
        wrote on last edited by 8Observer8
        #3

        The same for Qt Creator 15.0.0-rc1 (14.0.84) that I've downloaded here: https://github.com/qt-creator/qt-creator/releases

        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