Skip to content

Instantly share code, notes, and snippets.

import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.XmlListModel 2.0
GridView {
id: theGrid
signal clicked(string url)
anchors { fill: parent; margins: 10 }
@shaan7
shaan7 / windows_build.sh
Created February 23, 2016 07:44
Build script for Qt-based App using Visual Studio 12.0
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
set QT_PATH=C:\Qt
set QT_TOOLS_PATH=%QT_PATH%\Tools
set QT_MSVC_PATH=%QT_PATH%\5.5\msvc2013
set QT_MSVC_BIN=%QT_MSVC_PATH%\bin
set PATH=%PATH%;%QT_MSVC_BIN%
echo Building
%QT_MSVC_BIN%\qmake CONFIG+="release" || exit /b