Posts Tagged “qt

Statically Linking Qt Applications on Linux

This article constitutes the second part of Building Qt for Static Linking which demonstrates how to actually compile your Qt application statically against the Qt libraries. This part will be relatively straight forward considering that the hard part of configuring Qt for your needs is already done.

When using self-built versions of the Qt libraries you will need to rerun qmake against your project in order for it to create a Makefile which uses your newly generated Qt library. Assuming you are using the default install path, the following set of commands will rebuild your Qt application using your new library.

(more…)

Filed under:
Tags: , , ,

Building Qt for Static Linking on Linux

It is sometimes helpful when writing applications at all, let alone Qt applications, to statically link against the libraries your application depends on. By default Qt only provides a dynamic library, either an SO or a DLL, and thus you must recompile a version of Qt which generates a statically linkable library (usually a .a file). The following instructions show you how to accomplish this on a Linux system, however, a similar process applies for other operating systems including Windows.

The very first thing you must do before doing anything is to obtain the Qt source code. You will want to go to the Qt downloads page and head down to the Qt libraries section. Above the list of available downloads is a small section which mentions the source code packages. Download one and extract the entire tar ball onto your machine. Here is a link to the latest version of the Qt libraries as of this writing. I will assume that if you are reading this guide you know how to extract a tarball and move into the extracted directory via the command line.

(more…)

Filed under:
Tags: , , , ,

QOverclock 0.1

13-08-2008 Alec Hussey 2 Comments

I actually wrote this little application quite a few weeks ago, I was just contemplating whether it was worth posting or not. I had just finished building my new PC and was starting to do a lot of overclocking and tweaking. Frustrated by the fact that there weren’t any Linux or open source alternatives to overclocking calculators, I quickly wrote one up using Qt 4. It simply calculates the resulting clock speed of your CPU given the FSB and the multiplier. Who knows, maybe somebody will find it useful. I was thinking about adding some tray icon functionality to monitor system temps. as well. Although, I am going to sit on that idea for a little while.

Download QOverclock 0.1

Download QOverclock 0.1 (Win32 Binary)

Filed under:
Tags: , ,