Update QtQuick versions to match Qt 5.10

This commit is contained in:
Joseph Donofry 2021-01-11 22:17:00 -05:00
parent a8877c39f4
commit 74e32dd96b
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
41 changed files with 84 additions and 78 deletions

View file

@ -8,10 +8,16 @@
set -eu
FILES=$(find src -type f -type f \( -iname "*.cpp" -o -iname "*.h" \))
QML_FILES=$(find resources -type f -iname "*.qml")
for f in $FILES
do
clang-format -i "$f"
done;
for f in $QML_FILES
do
qmlformat -i $f
done;
git diff --exit-code

View file

@ -1,6 +1,6 @@
import "./ui"
import QtGraphicalEffects 1.0
import QtQuick 2.6
import QtQuick 2.10
import QtQuick.Controls 2.3
import im.nheko 1.0

View file

@ -1,7 +1,7 @@
import "./ui"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Popup {

View file

@ -1,5 +1,5 @@
import QtQuick 2.5
import QtQuick.Controls 2.1
import QtQuick 2.10
import QtQuick.Controls 2.3
import im.nheko 1.0
Rectangle {

View file

@ -1,5 +1,5 @@
import "./ui"
import QtQuick 2.3
import QtQuick 2.10
import QtQuick.Controls 2.3
AbstractButton {

View file

@ -1,4 +1,4 @@
import QtQuick 2.5
import QtQuick 2.10
import QtQuick.Controls 2.3
import im.nheko 1.0

View file

@ -1,8 +1,8 @@
import "./voip"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
Rectangle {

View file

@ -1,9 +1,9 @@
import "./delegates"
import QtGraphicalEffects 1.0
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
ListView {

View file

@ -1,6 +1,6 @@
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
BusyIndicator {
id: control

View file

@ -1,5 +1,5 @@
import QtQuick 2.6
import QtQuick.Controls 2.2
import QtQuick 2.10
import QtQuick.Controls 2.3
import im.nheko 1.0
// This class is for showing Reactions in the timeline row, not for

View file

@ -1,7 +1,7 @@
import "./delegates/"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Rectangle {

View file

@ -28,7 +28,7 @@
* qquickwheelarea.cpp in qtquickcontrols
*/
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
MouseArea {

View file

@ -1,5 +1,5 @@
import QtQuick 2.5
import QtQuick.Controls 2.1
import QtQuick 2.10
import QtQuick.Controls 2.3
import im.nheko 1.0
Rectangle {

View file

@ -1,9 +1,9 @@
import "./delegates"
import "./emoji"
import QtQuick 2.6
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
Item {

View file

@ -3,10 +3,10 @@ import "./device-verification"
import "./emoji"
import "./voip"
import QtGraphicalEffects 1.0
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
import im.nheko.EmojiModel 1.0

View file

@ -1,6 +1,6 @@
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Rectangle {

View file

@ -1,6 +1,6 @@
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Item {

View file

@ -1,8 +1,8 @@
import "./device-verification"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.3
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
ApplicationWindow {

View file

@ -1,5 +1,5 @@
import QtQuick 2.6
import QtQuick.Layouts 1.2
import QtQuick 2.10
import QtQuick.Layouts 1.10
import im.nheko 1.0
Item {

View file

@ -1,4 +1,4 @@
import QtQuick 2.6
import QtQuick 2.10
import im.nheko 1.0
Item {

View file

@ -1,4 +1,4 @@
import QtQuick 2.6
import QtQuick 2.10
import im.nheko 1.0
Item {

View file

@ -1,4 +1,4 @@
import QtQuick 2.5
import QtQuick 2.10
import QtQuick.Controls 2.1
Label {

View file

@ -1,7 +1,7 @@
import QtMultimedia 5.6
import QtQuick 2.6
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.2
import QtMultimedia 5.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0
Rectangle {

View file

@ -1,7 +1,7 @@
import QtQuick 2.6
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import QtQuick.Window 2.10
import im.nheko 1.0
Item {

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.10
import QtQuick.Controls 2.10
import QtQuick.Controls 2.3
import QtQuick.Window 2.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
Rectangle {

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
Pane {

View file

@ -1,5 +1,5 @@
import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.10
import im.nheko 1.0

View file

@ -1,6 +1,6 @@
import "../"
import QtQuick 2.10
import QtQuick.Controls 2.1
import QtQuick.Controls 2.3
import im.nheko 1.0
import im.nheko.EmojiModel 1.0

View file

@ -1,8 +1,8 @@
import "../"
import QtGraphicalEffects 1.0
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtQuick.Layouts 1.10
import im.nheko 1.0
import im.nheko.EmojiModel 1.0

View file

@ -1,7 +1,7 @@
import "../"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Rectangle {

View file

@ -1,6 +1,6 @@
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Popup {

View file

@ -1,7 +1,7 @@
import "../"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Rectangle {

View file

@ -1,6 +1,6 @@
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Popup {

View file

@ -1,7 +1,7 @@
import "../"
import QtQuick 2.9
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.10
import im.nheko 1.0
Popup {

View file

@ -1,4 +1,4 @@
import QtQuick 2.9
import QtQuick 2.10
import org.freedesktop.gstreamer.GLVideoItem 1.0
GstGLVideoItem {