By default Qt does not copy fonts along with your application when you deploy them under Linux. I recently faced this issue and none of the texts or labels on my Qt windows showed anything on them. All labels and text were blank and the forms looked completely empty.Continue reading “Qt Application Fonts Missing or Invisible in Linux (Fixed)”
You can use the following function to get current user name is Linux. I have tested this on Ubuntu and CentOS flavors but it should also work with other flavors without any issues.Continue reading “How to Get Current User Name in Qt/C++ (for Linux)”
After installing CentOS 7 you will be forced to enter startx command to go into GUI (Gnome Desktop) mode each time you boot into the system. To overcome this you have to set the default boot option using the following commands:Continue reading “How to Boot Into Graphical User Interface in CentOS 7”
After installing CentOS 7 you need to execute the following commands in order to install Gnome, or in other words have GUI mode of CentOS.
sudo yum groupinstall "Gnome Desktop" startx