Thursday, December 4, 2014

.NET Framework is becoming open source

As it was announced November 12, .NET Core will be open-source now

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/net-core-is-open-source.aspx

.NET Core is a foundation for future .NET platforms and it is used for by ASP.NET 5 and .NET Native. Microsoft is going to have cross-platform .NET and some community around it.

You probably know about Mono project with its separate code base, now it will be a part of this community:

http://www.mono-project.com/news/

But what is available on GitHub now?

https://github.com/dotnet/corefx

Only small subset of libraries: Immutable Collections, SIMD, Assembly Metadata Reader, XDocument, XmlDocument and that's all. Everything else should be included there until Build 2015. Will be waiting for that!


Monday, December 1, 2014

Installing Qt 5.4 on Mac OS Yosemite

When we are building Qt from sources on Mac OS, we are following this instruction:

http://qt-project.org/doc/qt-4.8/install-mac.html

It worked fine on previous versions of Mac but on Yosemite there is a change related to environment variables. It is not related to Qt actually, just these variables are not visible to GUI applications in Yosemite. See the links below, for example:

http://apple.stackexchange.com/questions/152294/shell-environment-variables-not-available-in-gui-apps-even-if-app-launched-via-c

https://discussions.apple.com/thread/6682752

This is why Qt Creator doesn't have access to PATH variable. We need to add Qt version in it manually, make sure you will use Command-Shift-G in Finder while selecting path to qmake, for example, our path to qmake is

/usr/local/Qt-5.4.0/bin/qmake

and Finder doesn't see it by default.