Skip to content

Commit

Permalink
Add instructions to INSTALL for enabling debug output on Fedora
Browse files Browse the repository at this point in the history
By default Fedora hides the useful debug output prints, which
makes debugging unit tests very hard!
  • Loading branch information
nyalldawson committed Jun 26, 2017
1 parent 23ddace commit 8bfb695
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions INSTALL
Expand Up @@ -391,6 +391,21 @@ Or install to your system
make install


3.9.2. Suggested system tweaks
==============================

By default Fedora disables debugging calls from Qt applications. This prevents
the useful debug output which is normally printed when running the unit tests.

To enable debug prints for the current user, execute:

cat > ~/.config/QtProject/qtlogging.ini << EOL
[Rules]
default.debug=true
EOL



4. Building on Windows
======================

Expand Down

5 comments on commit 8bfb695

@NathanW2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Beat me to it.

@nyalldawson
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NathanW2 no problem - i was setting up a build env on a new fedora install and your experience yesterday made me feel bad for not documenting this fix when I first discovered it!

@3nids
Copy link
Member

@3nids 3nids commented on 8bfb695 Jun 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyalldawson same here, sorry ;)

@jef-n
Copy link
Member

@jef-n jef-n commented on 8bfb695 Jun 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INSTALL is a output file...

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on 8bfb695 Jun 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INSTALL is a output file...

Can it be built in prepare-commit?

Please sign in to comment.