The goal of this thesis was to create a software code base for developing Oculus Rift based virtual and augmented reality applications using Qt toolkit and Oculus SDK. In order to make the code base beneficial to a larger amount of developers, only cross-platform tools were used in this work. During the development process, several important topics were investigated, including rendering computer graphics with OpenGL and understanding the inner workings of Oculus SDK. A software solution was developed for building custom applications focused on virtual and augmented realities. Resulting working applications showed, that the goal of the thesis was successfully achieved.