Qt 5 Hello World Tutorial using Qt Creator

A simple Qt 5 Hello World tutorial that demonstrates how to use Qt Creator to make a GUI application window. Create a window with two text labels and a button in this easy tutorial for beginners. Program the application in C++. The image below shows the finished Qt GUI window application. When the button is … Continue reading Qt 5 Hello World Tutorial using Qt Creator

How to Install Qt 5 Development Tools in Linux

When starting Qt 5 application development in Linux it is necessary to first install Qt 5 development tools. Qt Creator is the IDE used to develop Qt applications. In order for Qt Creator to be able to build Qt applications, library files, header files and a C++ compiler must be installed. Part 2 of the … Continue reading How to Install Qt 5 Development Tools in Linux

Compiling GLib C Programs

GLib is a utility library required by GTK+, but which can also be used independently in non-GUI applications. This article shows how to compile C programs that use GLib in Linux. It also shows how to install the correct documentation for the version of GLib installed on the system and how to find the version … Continue reading Compiling GLib C Programs

Configure PHP for Local Web Development

When developing PHP on a local computer it is usual to configure PHP to display error and warning messages. Enabling errors and warnings in PHP helps during software development to find bugs and detect potential problems. This article explains how to enable PHP error and warning messages for local web development on a LAMP stack. … Continue reading Configure PHP for Local Web Development

Configure Apache for Local Web Development

How to configure Apache 2 web server on a local Linux computer for local web development. Configure Apache to host multiple local web sites for web development on Linux Mint or Ubuntu. The previous blog post describes how to set up a LAMP stack on a local Linux computer. This post shows how to set … Continue reading Configure Apache for Local Web Development

How to Install a Local LAMP Stack on Linux

How to install a local LAMP stack on a Linux Mint or Ubuntu computer for local PHP and MySQL development or for development on a local WordPress website. Why Install a LAMP Stack? When developing PHP web pages and applications on a local Linux computer it is necessary to install a local web server and … Continue reading How to Install a Local LAMP Stack on Linux

Glade Packing Tutorial

Learn how to use the Glade box container to pack widgets into a window in this Glade packing tutorial. Use widget packing instead of a fixed grid. Part 6 of GTK 3 Programming with C and Glade Tutorial See the full GTK3 tutorial index Glade Fixed Grid Window vs. Glade Packing Window The images below … Continue reading Glade Packing Tutorial

Linux Mint Hash Sum Mismatch During Update

How to fix Linux Mint hash sum mismatch during update of software. The following messages appear after doing an update with sudo apt-get update and also appear in the Linux Mint Update Manager. W: Failed to fetch http://packages.linuxmint.com/dists/rosa/main/binary-i386/Packages Hash Sum mismatch W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Hash … Continue reading Linux Mint Hash Sum Mismatch During Update

How to Install the GCC C++ Compiler on Linux Mint

If you try to compile C++ code on a Linux Mint or Ubuntu computer using gcc, the compile will fail. C++ code needs to be compiled using the g++ compiler which must first be installed. This article explains how to install the GCC C++ compiler on Linux Mint and Ubuntu based systems. Trying to compile … Continue reading How to Install the GCC C++ Compiler on Linux Mint

GTK+ 3 Reference Manual in Devhelp Viewer

The GTK+ 3 Reference Manual can be viewed locally on a Linux computer in a program called Devhelp. When developing GTK+ 3 applications a local copy of the documentation can be very helpful. A previous article explained how to get online and offline help for GTK+ using a web browser. Devhelp is an alternative application … Continue reading GTK+ 3 Reference Manual in Devhelp Viewer