Tag Archives: Windows

Building Qt 5.9.1 on Windows 7/10 with Visual Studio 2017

2017-08-18 5 comments

Time again for an follow-up to my post on Qt’s LTS release, now that Qt 5.9 has been published as a new long-term supported (LTS) release. And since Qt 5.9.1 does not build with Visual Studio 2010 anylonger, this was also a good reason to switch to the freshly released Visual Studio 2017 Community Edition.… »»»

Building Qt 5.6.2 on Windows 7 with Visual Studio 2010

2016-11-28 1 comment

This is an update to my previously published post Building Qt 5.2.1 on Windows 7 with Visual Studio 2010. Not much has changed for me: I’m still running Windows 7 (Windows 10 can wait a bit longer) and Visual Studio 2010 (I’ll probably switch to version “2017” when it’s done — and if it still… »»»

Distributing a Python program to Windows users

2016-07-10

I use Python for several tasks (mostly small routine jobs or one-off scripts; not to devalue the language, I just haven’t used it yet for bigger projects), but since it’s an interpreted language, you can’t easily distribute the scripts to normal users on Microsoft Windows (my main ecosystem), because that platform doesn’t come with any… »»»

SIM Info

2015-05-14

SIM Info is a new small console program for Microsoft Windows to display SIM identification data like ICCID, IMEI and IMSI. It’s actually a bit late (I had a need for it two years ago), but I stumbled today about some documentation for the Windows 7 Mobile Broadband API and had the time and muse… »»»

No QtTools (lupdate/linguist/lrelease) when built as shared libraries

2015-05-12 1 comment

So I’ve built Qt from source and used it successfully in the last year or so. Some time ago I turned my attention to multilanguage support and learned about Qt’s tools: linguist.exe, lupdate.exe and lrelease.exe. Strangely, those files only existed in the “bin” folder of the statically built version, not when I built them as… »»»

Building Qt for static linking

2015-03-31 1 comment

One of the drawbacks of using such a comprehensive framework as Qt is the massively increased size of you program. When my pet project RandFill was only using the plain Win32-API, it was a single executable file of a couple of hundred kilobytes. Now, using dynamically linked Qt, the whole package (with DLLs, MSVC redistributables,… »»»

Map Network Drive: Remove obsolete entries from drop-down menu

2014-11-13

If you want to get rid of obsolete entries in the folder drop-down menu of the “Map Network Drive” dialog, you’ll have to modify the Windows registry. Open RegEdit.exe and go to the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Map Network Drive MRU. The following screenshot was taken after I cleaned up; before, there were also entries named “b” and… »»»

Windows: The tree command

2014-05-04

The tree command graphically displays the directory structure of a drive or path on the command line prompt — nice gimmick; haven’t used this in ages and completely forgot about it, but came in handy recently. TREE [drive:][path] [/F] [/A] /F – Displays the names of the files in each directory. /A – Uses ASCII… »»»

Building a simple Qt application on Windows with Visual Studio

2014-04-12 1 comment

After preparing the Qt framework, I needed to check if everything works; therefore I built a very simple Qt5.2.1 application, the GUI-equivalent of a “Hello-World” program. Building the sample application Open “Visual Studio 2010” and create a new, blank project: File → New → Project… Visual C++ → General → Empty Project Add a source… »»»

Building Qt 5.2.1 on Windows 7 with Visual Studio 2010

2014-04-12 5 comments

For my first steps with Qt, I wanted to use the 64-bit libraries of Qt 5.2.1 on Windows 7 with Visual Studio 2010; unfortunately the project doesn’t offer a binary package download for this combination, so I had to build the framework myself. After some failures at this (mostly due to out of date tutorials… »»»