Tuesday, February 11, 2014

Qt 5: QStandardPaths::DownloadLocation returns Documents folder starting from Vista

In Qt 5 the QStandardPaths provides access to the (guess what?) system standard paths like user's documents path, fonts path, etc.

There is also a Downloads path (QStandardPaths::DownloadLocation) that should return the directory where downloaded files are stored. Starting with Windows Vista there is a special directory for downloads. Before that the Documents directory was used.

However the Qt implementation of QStandardPaths does not make use of this new directory and always returns the Documents (QStandardPaths::DocumentsLocation) when the Downloads location is requested.

This patch fixes this issue, now QStandardPaths::DownloadLocation will correctly return the Downloads directory for Vista (or greater).

The patch has to be applied to file qtbase\src\corelib\io\qstandardpaths_win.cpp
And it is good for both Qt 5.2 and 5.2.1

Thursday, December 12, 2013

MinGW Distro - December 2013 Edition

DISCLAIMER: this is a private, custom build of MinGW. It is neither supported nor sponsored by MinGW.org

Updates: GCC 4.8.2, GDB 7.6.1, Boost 1.55.0, ICU 52.1, SQLite 3.8.1, cURL 7.33.0, wxWidgets 3.0.0, POCO Libraries 1.4.6p2, Apache Portable Runtime 1.5.0, Apache Portable Runtime Utils 1.5.3

MinGW-Distro-Addons.exe - 77 Mb - Full with add-ons
SHA1: 029334806ff1ca1cadc1fd7cdbfeaa5a9fd4f9ad

This is the latest version I will provide. Unfortunately I have no time to keep track of the updates, work on patches and build the packages. In a next post I will make scripts and patches available for anyone that would take them and continue.

Sunday, August 11, 2013

MinGW Distro - August 2013 Edition

DISCLAIMER: this is a private, custom build of MinGW. It is neither supported nor sponsored by MinGW.org

Updates: Boost 1.54.0, cURL 7.31.0, PCRE 8.33, FreeType 2.5.0, wxWidgets 2.9.5, xz 5.0.5

Added: Apache log4cxx 0.10.0, Apache Portable Runtime 1.4.8, Apache Portable Runtime iconv 1.2.1, Apache Portable Runtime Util 1.5.2

The ICU static libraries were removed. Now only ICU DLLs.

MinGW-Distro-Addons.exe - 73 Mb - Full with add-ons
SHA1: a73ddf6141535fd55935b083d86ddbdedcc291de

MinGW-Distro-Core.exe - 16 Mb - Core Components
SHA1: 6be8fd7ec3e65c6f25e4194dec9355d2ce7a9b00

For more information visit MinGW Distro

Saturday, June 08, 2013

CodeLite 5.1 Project Templates for wxWidgets

CodeLite Templates

CodeLite is a nice open-source, cross plataform C and C++ IDE. One of its nicest features is the project templates. With them you can easily create a project from a template.

CodeLite 5.1 includes some templates to create wxWidgets projects. Unfortunately those templates do not work very well with my MinGW Distro.

The June 2013 edition contains the corrected templates. You can find them in the MinGW\ide directory.

Please copy those files to the directory templates\projects of your CodeLite installation.
In the future the Distro will come with additional templates for CodeLite.

Monday, June 03, 2013

MinGW Distro - June 2013 Edition

This release was delayed because of the last minute release of GCC 4.8.1

Updates: GCC 4.8.1, GDB 7.6, GraphicsMagick 1.3.18, SQLite 3.7.17, ICU 51.2, freeglut 2.8.1, libpng 1.6.2, libarchive 3.1.2, grep 2.14, zlib 1.2.8, GLFW 2.7.8, NASM 2.10.07, libxml2 2.9.1, file 5.14, binutils 2.23.2, FreeType 2.4.12

Added: LINQ for C++ 20130203, libharu 2.2.1

MinGW-Distro-Addons.exe - 75 Mb - Full with add-ons
SHA1: 4ab44b4b303f3090489d4bef721728d9f97106fb

MinGW-Distro-Core.exe - 16 Mb - Core Components
SHA1: 51acdd76db532697e53133368df21550898d5623

For more information visit MinGW Distro