Questions tagged [qt5.5]

Qt 5.5 is the newest version of Qt which is a cross-platform application framework that is widely used for developing application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications. Tag this only for the issues with Qt 5.5 not other versions.

Qt5.5 New Features:

Qt Bluetooth

  • Bluetooth Low Energy API final release (5.4 was featuring tech preview).
  • Bluetooth Low Energy Support for Android (requires Android v18+) added.
  • Bluetooth Classic and Low Energy support for iOS and OS X.

Qt Core

  • You can now have Q_PROPERTY and Q_INVOKABLE within a Q_GADGET, and there is a way to query the QMetaObject of such gadget using the QMetaTYpe system.
  • Added Q_ENUM to replace Q_ENUMS which allow to get a QMetaEnum at compile time using QMetaEnum::fromType<T>. Such enums are now automatically registered as metatype, and can be converted to string within QVariant, or are printed as string by qDebug()

Qt GUI

  • Windows packages are all built with -opengl dynamic. No OpenGL-only or ANGLE-only builds are provided anymore.
  • On Windows the OpenGL implementation to use can now be configured based on the GPU vendor and driver version using JSON configuration files. This allows shipping fine-grained card and driver blacklists with the apps, when necessary.
  • QOpenGLWidget is now supported in iOS.
  • QImage: 8-bit alpha map and grayscale formats.
  • QImageReader: EXIF orientation can now be read though the transformation method, and applied on read to JPEGs if wanted.

Qt Multimedia

  • GStreamer 1.0 support. Note that the default is still 0.10. 1.0 support can be enabled by configuring Qt with '-gstreamer 1.0'.
  • New video filtering framework to integrate frameworks like OpenCV or compute APIs such as OpenCL or CUDA with VideoOutput elements.
  • New API to control camera viewfinder settings
  • Improved camera support on iOS (focus, zoom, exposure, viewfinder/image settings)
  • The QML MediaPlayer is now rendered in an OpenGL texture on iOS. This means VideoOutput supports advanced transformation, shader effects and doesn't have to be always on top of other items anymore.

Qt NFC

  • Neard based backend for Linux added.

Qt Network

  • New SSL back-end for iOS and OS X based on Secure Transport. Note that in Qt 5.6 this will become the default SSL: back-end on these platforms.
  • Support for libproxy
  • Support for TLS PSK ciphersuites
  • Support for elliptic curve certificates
  • Ability to select specific curves when using elliptic curve ciphersuites.

QPA

  • Added support for the Raspberry Pi 2.
  • Added support for the ODROID-XU3.
  • On supported desktops, the xcb plugin now uses the D-Bus based org.kde.StatusNotifier protocol for system tray icons, and org.freedesktop.Notifications for notifications.
  • KMS/DRM backend for EGLFS. This replaces the now deprecated KMS platform plugin. It allows running apps with eglfs on the console on systems with Mesa and devices that come with drm support.
  • EGLFS has a plugin-based backend mechanism in addition to the existing, statically compiled-in solution. Most compiled-in hooks are converted to be dynamically loaded plugins that are built based on configure time tests. This reduces the reliance on the device makespecs for RPi, i.MX6 and Mali-based devices.
  • Input handling is now unified for EGLFS and LinuxFB, avoiding the need to launch and configure LinuxFB-based apps differently than when using EGLFS.
  • tslib is now better integrated with EGLFS and LinuxFB to provide support for resistive single-touch touchscreens often used in industrial environments.
  • xcb is refactored to move GLX and EGL support into plugins. No more ifdefs, allowing building both backends.
  • Added a TUIO Touch plugin for receiving remote touch events via UDP.
  • Added a libinput plugin.
  • iOS: you can now use QFileDialog to browse system photos using a native image picker dialog by setting directory to QStandardPaths::PicturesLocation. Selected photos can be loaded using QFile.

Qt QML

  • It is now possible to conveniently expose custom C++ value types into the JavaScript environment of QML and QJSEngine.
  • Support for JavaScript typed arrays
  • Various performance improvements, notably QJSValue
  • Added convenience qJsEngine(QObject*) getter function.

Qt Quick

  • Windows now defaults to the threaded Qt Quick render loop when using desktop OpenGL (opengl32.dll).
  • QQuickWidget is now supported in iOS.
  • QQuickRenderControl supports threaded rendering.
  • Improved behavior of Flickable on OS X trackpads using pixel deltas from native gestures.
  • PinchArea handles native pinch gestures when the OS provides them (so far only on OS X). Otherwise it relies on touch events, as before.
  • Added a smart zoom signal to PinchArea to react to that gesture on an OS X trackpad.
  • MouseArea now has a scrollGestureEnabled property to control whether native scroll gestures from the OS will be handled by the wheel signal handler.

Qt Quick Controls

  • Qt Quick Extras (formerly Qt Quick Enterprise Controls) was added under the QtQuick.Extras import.
  • TreeView control for QAbstractItemModel-derived models. Supports QItemSelectionModel selection.

Qt WebEngine

  • WebEngineProfile for control of storage and cache paths and related policies.
  • Added support for javascript Geolocation API with QtLocation as a backend
  • Added API for managing downloading of files
  • Added API for controlling cache and cookie paths and policy
  • Added API for WebEngine settings
  • Various experimental QML API has been promoted to public
  • Added QtWebChannel integration API over Chromium IPC
  • Updated Chromium snapshot to version 40

Qt WebView

  • Added native implementations for Mac OS X.
  • Added API for running JavaScript (Requires API 19+ on Android).
  • Added API for setting the HTML content.
  • Added API for load status notifications.

Reference:

All of the information collected from the official site of qt. Here you would found more information about qt5.5.

226 questions
3
votes
5 answers

Qt QML ComboBox override wheel events

Is there any way to override ComboBox MouseArea to ignore wheel event instead of changing current index? ComboBox itself has no option to change wheel focus behaviour. So far I've tried to override onWheel from CB MouseArea with code like…
Kamil Klimek
  • 12,884
  • 2
  • 43
  • 58
3
votes
1 answer

Using QML with visual studio 2013 and Qt add in for VS

I'm starting an application project using Qt 5.5 with visual studio 2013. I have to create an highly interactive GUI, so I did research, and found that QML would be the best choice to fit my needs. I took the basic .cpp and .qml files from a…
bumblebeez
  • 33
  • 1
  • 3
3
votes
2 answers

Deploying QML external module to IOS

I'm trying to deploy a QML application to IOS, the problem is that this app depend on a external QML module. I added the module path to the QML2_IMPORT_PATH, and it works fine when I run it in the desktop I'm developing on, the problem happens when…
dfranca
  • 5,156
  • 2
  • 32
  • 60
3
votes
2 answers

Qt 5.5 (Q_ENUM causing compile error)

I've just upgraded Qt from 5.3.2 to 5.5.0. A project (which uses QAbstractTableModel) which compiles just fine in 5.3.2 does not compile in 5.5.0, reporting the following error (numerous…
kiss-o-matic
  • 1,111
  • 16
  • 32
3
votes
1 answer

Qt5.5: How can I include Qt's qtpcre.lib and qtharfbuzzng.lib with CMake?

I've just upgraded one of our projects from Qt 5.3.1 to Qt 5.5. We are using a statically built Qt (we build it ourselves) with the win32-msvc2013 make spec. After upgrading, I've received a couple of unresolved externals which I could backtrace to…
Tim Meyer
  • 12,210
  • 8
  • 64
  • 97
3
votes
0 answers

QWebEnginePage::toHtml returns empty string

I want to save a QWebEnginePage before the class is destroyed. On running, the output is: Writing bookmarks... Bookmarks empty! QWebEnginePage::toHtml otherwise returns the proper content of the page, regardless whether or not it was set in a…
Xian Nox
  • 368
  • 2
  • 11
3
votes
3 answers

How to omit the "Binding loop detected for property" warning?

I decided to rewrite this question. I tried to make it clear and short but it didn't work out. What I am trying to achieve is an object I can put on anything (Rectangle, Image and so on) and make it respond to touch gestures. Unfortunately I ran…
Filip Hazubski
  • 1,668
  • 1
  • 17
  • 33
3
votes
1 answer

QWidget Application w/QML and Registered Types

I have a QWidget application that makes use of QML. I have a class that I'm using to expose some of our organizations utility functions. I have boiled the problem down to the following code (I'll explain my problem below the code): First, here is…
Addy
  • 2,414
  • 1
  • 23
  • 43
3
votes
1 answer

Strange binding behavior when using binding on array's element

I have an Item with a property. This property contains an array of JavaScript objects wich in turn contain other properties. When I set binding for one of object's properties to some variable and its (variable) value changes triggering the binding…
geniuss99
  • 101
  • 5
2
votes
1 answer

Grandchild breaks repeater

Why does this work: (works = each delegate text appears below the previous one) Column { Repeater { model: ['test1', 'test2', 'test3'] delegate: Text { text: modelData } } …
Juha Untinen
  • 1,806
  • 1
  • 24
  • 40
2
votes
2 answers

Porting qt5.5 to qt5.9, qtdeclarative module removing

I have project that written in qt5.5 and below and it contains qtdeclarative module, I am trying to port qt5.5+ but my project using qtdeclarative module that is removed. So I added equivalent as this document says but members are removed or moved…
ikaloron
  • 59
  • 8
2
votes
0 answers

QT 5.5 Disable Web Security

Is there any way to disable the web security in a WebPage in order to allow xhr requests on different domain (like for the Google Chrome option '--disable-web-security')?
Lyes Zaiko
  • 130
  • 1
  • 8
2
votes
3 answers

C++ QT5 dynamic property

I am using a widget with Q_PROPERTY entries. Now, I do have an internal map, and for each entry in that list has I'd like to add a dynamic property (name e.g. "entry1Color"). I can add a dynamic property via setProperty("entry1Color", Qt::green);…
wambach
  • 341
  • 3
  • 12
2
votes
0 answers

Static build of Qt - Plugin class name could not be determined for qwayland-egl plugin

$ /opt/Qt5.5/5.5-static/bin/qmake yyyy.pro Project WARNING: Plugin class name could not be determined for qwayland-egl plugin. Project WARNING: Plugin class name could not be determined for qwayland-generic plugin. I statically built Qt 5.5.1. I…
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
2
votes
1 answer

Compilation issue with qt_screen

I have Qt5.5 Installed on Desktop PC On Ubuntu OS. While compiling my program i am getting below error - This is what i got for error ../../work/mainwindow.cpp: In constructor 'MainWindow(QWidget)': ../../work/mainwindow.cpp:63:31: error:…
Tsung-Li Wang
  • 139
  • 10
1 2
3
15 16