Skip to content

Instantly share code, notes, and snippets.

@sazus
sazus / Main.qml
Created December 30, 2018 02:38
Qt QML Simple Layout
import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3
Window {
id: window_
visible: true
visibility: Window.Maximized
title: qsTr("Title")
#!/bin/bash
#This script will download, set up, compile QT5, and set up the SDCard image ready to use.
#Pass -h to use https for git
OPT=~/opt
CC=$OPT/gcc-4.7-linaro-rpi-gnueabihf
CCT=$OPT/cross-compile-tools
MOUNT=/mnt/rasp-pi-rootfs
QTBASE=$OPT/qt5