Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to Qt 5.12 / Qt Creator 4.8 #204

Merged
merged 91 commits into from Dec 26, 2018

Conversation

e8johan
Copy link
Member

@e8johan e8johan commented Sep 22, 2018

This is work in progress - do not merge!

The plan is to update the entire contents for Qt 5.12 (which is an LTS) and Qt Creator 4.7. The current checklist follows below. Notice that these are my own notes. Please ask if something is unclear to you.

General

  • Update import statements to latest version
  • Re-grab all screenshots (with shorty)
  • Run all examples
  • Validate all on-line resources (jpl, flickr)

Planned Changes

  • Chapter 1.3 - update available modules
  • Chapter 1.4 - mentions of DIGIA
  • Chapter 2.2 - "Qt Quick UI"
  • Chapter 2.2 - Building from Scratch is outdated
  • Chapter 3 - Revisit with new Qt Creator (screenshots + text)
  • Chapter 4.1 - QtQuick 2.0, should be latest version
  • Chapter 6, ObjectModel and ListModel with functions
  • Chapter 10, native playlist support, audio roles support
  • Chapter 11.6 - OAuth
  • New chapter, QtQuick.Shapes

New stuff based on changelogs

(below is captured in the planned changes above)
(did not look at changelogs from gitorious days, nor bug fix releases)

5.5

  • Q_GADGET visible frm JS
  • BorderImage handles @2x HiDPI border images
  • Camera - more exposure modes

5.6

  • ObjectModel (gt, append, insert, move and remove)
  • qml tool (instead of qmlviewer)
  • JIT
  • removed installTranslatorFunctions (see installExtensions)
  • QQmlComponent PreferSynchronous
  • padding, leftPadding, etc to Text, TextInput, TextEdit
  • Item::layer.textureMirroring, ShaderEffect::textureMirroring
  • Flippable now has an enabled property
  • TextEdit, editingFinished signal
  • QtQuick.Particles, now Turbulence noise source image works from QRC files
  • GraphicalEffects, When defining blur based effects, like Glow, DropShadow and GaussianBlur, prefer to specify 'samples' to be an odd number and let radius be the default. This gives the best effect. Animate the blur by animating 'radius' from 0 to floor(samples/2). Using a 'radius' which is higher than samples/2 will result in artifacts.
  • QtMultimedia, audio role API
  • QtMultimedia, playlist support

5.7

  • PathView, movementDirection controls which direction items move in when setting currentIndex.
  • QtMultimedia, Playlist in qmlviewer

5.8

  • Compiled and cached .qmlc/.jsc created by the QML engine.
  • Shader code can be in files instead of inside the QML
  • Binding has delayed property

5.9

  • nothing?

5.10

  • QtQuick.Shapes

5.11

  • import with same minor as Qt, e.g. import QtQuick.Window 2.11 to reduce confusion
  • Qt Quick Compiler replaced
  • ListModel, can assign function declarations to ListElements => models with actions.

5.12

@mitchcurtis
Copy link

@e8johan e8johan changed the title Updating to Qt 5.12 / Qt Creator 4.7 [WIP] Updating to Qt 5.12 / Qt Creator 4.8 [WIP] Oct 3, 2018
e8johan and others added 21 commits November 16, 2018 10:18
Language review. Also changing import version in a code snippet
to .12 (to reflect LTS version). This allows for the use of
TapHandler instead of MouseArea later on.
Includes updating minor version to .12 and replacing MouseArea with
TapHandler in code snippet.
Includes rephrasing where appropriate to make the text more version
agnostic, and updates to procedures where the Creator UI has changed.
Fix some typos.
Replace "QML elements" with "QML types" throughout.
Clean up modules lists and add links to Qt's all modules page.
…day (as the National Geographic RSS is dead)
Copy link

@tpyssysa tpyssysa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks more 5.12/4.7 compatible now.

Adding a new chapter on Qt Quick Controls 2 as chapter number 6.
Adding new chapter on Python as chapter 18.
…day (as the National Geographic RSS is dead)
@e8johan e8johan merged commit 830ebb6 into qmlbook:master Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants