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
31
votes
1 answer

Error: qt@5.5: unknown version :mountain_lion

Followed this tutorial in installing qt5.5 on a macOS version 10.13.6 High Sierra. Failed when trying to brew install qt@5.5 giving me an error below: Error: qt@5.5: unknown version :mountain_lion Versions: brew Homebrew…
houdinisparks
  • 1,180
  • 1
  • 10
  • 16
28
votes
5 answers

QMAKE_MSC_VER isn't set

After I changed my Qt Version from 5.5.1 to 5.12.0 I get following message while I try to build any project: msvc-version.conf loaded but QMAKE_MSC_VER isn't set I selected the Qt 5.12.0 MSVC2017 32bit Kit instead of the Qt 5.5.1 (msvc 2013)…
Mounty
  • 281
  • 1
  • 3
  • 4
12
votes
1 answer

QT QWebEnginePage::setWebChannel() transport object

I'm using the QT WebEngine framework to display web pages. I'm injecting javascript into a page when it loads, and want to allow the javascript to be able to access a QT object. Apparently, to do this a QWebChannel must exist that establishes some…
mathieujofis
  • 349
  • 3
  • 16
10
votes
4 answers

QWebEngine: print a page?

The migration from QWebKit to QWebEngine seems to be much more complicated than Qt guys claimed. With QWebKit I could print a webpage easily via QWebView->print(&printer); With QWebEngine class QWebEngine view does not provide a method print().…
Elmi
  • 5,899
  • 15
  • 72
  • 143
10
votes
1 answer

After upgrade to qt 5.5.0 I got warning for QML imports

I just upgraded from 5.4.1 to 5.5.0 today. But when I build my android project I get these lines of warning in compile output: Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private Warning: QML import could not…
a.toraby
  • 3,232
  • 5
  • 41
  • 73
8
votes
1 answer

Do I still have to disconnect a lambda from a signal in Qt5.5?

In early Qt 5 versions I have to disconnect lambdas from signals as shown here: "Disconnecting lambda functions in Qt5". Here I found the following statement: There is no automatic disconnection when the 'receiver' is destroyed because it's a…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
7
votes
1 answer

Dynamically change QML Theme at runtime on MouseClick

I have Theme1.js which has the property variables related to Theme 1 styling, Similarly like this I have for Theme 2, Theme2.js Now in main.qml, If I click on the MouseArea, The Theme should toggle between Theme1 to Theme2. I found that conditional…
snehitha
  • 91
  • 1
  • 6
6
votes
1 answer

QPainter::drawPixmap() doesn't look good and has low quality?

I'm trying to draw an icon(.png) inside a QWidget with QPainter::drawPixmap() : QPixmap _source = "/.../.png"; painter.setRenderHint(QPainter::HighQualityAntialiasing); painter.drawPixmap(rect(), _source); but in comparing to QLabel (for example)…
IMAN4K
  • 1,265
  • 3
  • 24
  • 42
6
votes
2 answers

How to display correctly Treeview with QML Qt 5.5

I'm trying to create a correct Treeview with Qml Qt 5.5. I succeed to have a Treeview with a global root. But impossible to find how to add child for row item. For the moment I got something like that : TreeView { id:listTree …
kavaliero
  • 389
  • 1
  • 4
  • 22
5
votes
3 answers

How to get the current value of a QComboBox with a model with two columns?

I have a QComboBox with a QSqlQueryModel as its model. The model is constructed from a database with SELECT type_id, type FROM types where type_id is int and type is a varchar. I set the QComboBox visible column with the setModelColumn(1) function,…
Aba
  • 673
  • 6
  • 11
5
votes
3 answers

How to translate default qsTr fields - e.g. MessageDialog Yes / No buttons

I have a small app that uses a Qt Quick MessageDialog. I created translations files with command lupdate-qt5 ../myapp.pro . In myapp.pro I indicated: lupdate_only { SOURCES += $$PWD/ui/*.qml } and TRANSLATIONS += \ …
MatthiaZ
  • 51
  • 1
  • 5
4
votes
1 answer

QML: MessageDialog , the ordering of standardButtons and setting default button

I have in my main.qml the following code MessageDialog { id: exitDialog title: "Quit" text: "Save before quitting?" icon: StandardIcon.Question standardButtons: StandardButton.Save| StandardButton.Discard | …
4
votes
0 answers

Use Qt 5 Wayland QPA plugin to set window transparency with wl_surface

I have three Qt 5 applications that work fine independently on the BeagleBone X-15 using the Qt 5 Wayland plugin on the TI SDK image. When I launch them, they fill the whole screen so that the first app launched is covered by the second, and the…
PhilBot
  • 748
  • 18
  • 85
  • 173
4
votes
1 answer

LLDB debugger never finishes in QtCreator

I am trying to use Qt Creator 3.5.1 to debug a piece of software I wrote. I noticed that whilst debugging my program would just halt at random points and I mistook these issues for threading problems. However, eventually I found out that even when I…
StanB123
  • 477
  • 5
  • 14
4
votes
1 answer

Force QWebEngine to use software rendering

I'm using QWebEngine to display some webpages. Unfortunately it uses OpenGL internally - which leads to a crash on some graphics adapters (one can see the driver-DLL as the reason for the crash easily). As a second caveat it is not possible to catch…
Elmi
  • 5,899
  • 15
  • 72
  • 143
1
2 3
15 16