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. Qt5.3 release build in Linux
Forum Updated to NodeBB v4.3 + New Features

Qt5.3 release build in Linux

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 886 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.
  • H Offline
    H Offline
    helthans
    wrote on last edited by
    #1

    Hi,

    How do I create a release build in Linux? In qtcreator I have selected "Release Build" but I still see my qDebug()'s when I run my executable, which I wouldn't expect to see when built in Release mode.

    In a terminal I have also tried with
    make clean
    qmake -config release
    make

    Also in this case I see the qDebug()'s.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PeerS
      wrote on last edited by
      #2

      The qDebug output will always be shown, whether you compiled in debug or release. In order to suppress the qDebug output you can define QT_NO_DEBUG_OUTPUT for the release build.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        helthans
        wrote on last edited by
        #3

        ahh ok. Didn't know that :) Is there any way to be sure that it has been built in Release mode? (- here I am mostly thinking about when using a terminal)

        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