Skip to content

Keycode

More flesh, less fluff.

Month: November 2020

Redirect build outputs to a file

make &> build.txt

All build outputs including warnings and errors will be redirected to build.txt. If without &, errors and warnings will not be redirected to the file.

Author pashanhuPosted on 30/11/2020Categories C/C++Tags build, C++, make, redirectLeave a comment on Redirect build outputs to a file

Avoid large ICONs and fonts for Qt5 applications in CentOS

export QA_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCALE_FACTOR=1

These two settings are BOTH required.

Author pashanhuPosted on 30/11/2020Categories QtTags DPI, GUI, qt5, scalingLeave a comment on Avoid large ICONs and fonts for Qt5 applications in CentOS

Recent Posts

  • Check installation path of a package using rpm
  • Check package version using rpm
  • Batch process all files in a folder
  • Count the number of files in a directory
  • Check Linux OS version

Recent Comments

No comments to show.
  • August 2025
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • August 2021
  • November 2020
  • October 2020
  • June 2020
  • May 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • Algorithm
  • Boost
  • C/C++
  • Debug
  • git
  • GitHub
  • Image/Graphics
  • Java
  • Linux
  • Node.js
  • Other
  • Python
  • Qt
  • Swift
Keycode Proudly powered by WordPress