Skip to content
Permalink
Browse files

Add instructions to INSTALL for enabling debug output on Fedora

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 8bfb695be39ac3635d67ebdbdc0ff95de4c3e988
Showing with 15 additions and 0 deletions.
  1. +15 −0 INSTALL
15 INSTALL
@@ -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
======================

5 comments on commit 8bfb695

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied Jun 26, 2017

Thanks. Beat me to it.

@nyalldawson

This comment has been minimized.

Copy link
Collaborator Author

@nyalldawson nyalldawson replied Jun 26, 2017

@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

This comment has been minimized.

Copy link
Member

@3nids 3nids replied Jun 27, 2017

@nyalldawson same here, sorry ;)

@jef-n

This comment has been minimized.

Copy link
Member

@jef-n jef-n replied Jun 27, 2017

INSTALL is a output file...

@m-kuhn

This comment has been minimized.

Copy link
Member

@m-kuhn m-kuhn replied Jun 27, 2017

INSTALL is a output file...

Can it be built in prepare-commit?

Please sign in to comment.
You can’t perform that action at this time.