Tested on Ubuntu 16.10
Clone the pyside-setup
repository and init submodules
git clone https://code.qt.io/pyside/pyside-setup.git
cd pyside-setup
git submodule update --init --recursive
# liri-browser installation script | |
# (C) Copyright 2015 by Tim Süberkrüb | |
# Modifications by Joshua Holland | |
set -e # This makes (haha) the script exit when make'ing liri-browser fails, but is good for debugging. | |
# Also, if a command can't complete, we avoid trying to continue and potentially clobbering stuff. | |
echo "Welcome to the liri-browser installer!" | |
mkdir liri-browser-installer && cd liri-browser-installer # Keep files in a separate directory, i.e. don't clog up ~/Downloads/ | |
# Download & install Qt 5.5 | |
echo -n "Is Qt 5.5 already installed? [y/n] " # If so, don't bother downloading the installer. |
#!/bin/bash | |
# Setup Fluid on Ubuntu (https://github.com/lirios/fluid) | |
# Tested on Ubuntu 16.04 and Ubuntu 16.10 with Qt 5.7 | |
# | |
# You may use this script freely if you find it useful. Please note | |
# that it comes with absolutely no warranty though. | |
# | |
# MIT License | |
# |
Tested on Ubuntu 16.10
Clone the pyside-setup
repository and init submodules
git clone https://code.qt.io/pyside/pyside-setup.git
cd pyside-setup
git submodule update --init --recursive
@@ -98,7 +98,7 @@ set(Qt5_DISABLED_FEATURES | |
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>) | |
-set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype) | |
+#set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype) | |
set(QT_VISIBILITY_AVAILABLE "True") | |
#!/usr/bin/python3 | |
import yaml | |
from typing import Dict | |
from collections import OrderedDict | |
# Add YAML representer to handle OrderedDict | |
# See http://stackoverflow.com/a/21912744 | |
def represent_ordereddict(dumper, data): |
#include "childrencontainer.h" | |
ChildrenContainer::ChildrenContainer(QObject *parent) : QObject(parent) | |
{ | |
} | |
QQmlListProperty<QObject> ChildrenContainer::data() | |
{ | |
return QQmlListProperty<QObject>( |
Install Qt == 5.9.X from https://qt.io (or from the archives).
Install required dependencies (See debian packaging: https://github.com/ubports/ubuntu-ui-toolkit/blob/xenial/debian/control).
If you are using Qt from the archives, run:
sudo apt install \
libdbus-1-dev \
libevdev-dev \
diff --git a/qmetaobject/src/qmetatype.rs b/qmetaobject/src/qmetatype.rs | |
index bc20a98..25ff21a 100644 | |
--- a/qmetaobject/src/qmetatype.rs | |
+++ b/qmetaobject/src/qmetatype.rs | |
@@ -258,15 +258,9 @@ impl QMetaType for QVariant { | |
} | |
qdeclare_builtin_metatype!{QModelIndex => 42} | |
-#[cfg(target_pointer_width = "32")] | |
qdeclare_builtin_metatype!{isize => 32} // That's QMetaType::Long |
[build-dependencies] | |
sass-rs = "0.2" | |
walkdir = "2" |