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

Qt - How to add multiple QGroupBox to a QTabWidget?

I'm going to create multiple tabs with multiple group box inside each tab like below.  _______ ______ |              |            | |  Tab1    |  Tab2   | |              |______|_________________ | |    Group Box 1 |…
Ghasem Pahlavan
  • 661
  • 9
  • 20
2
votes
0 answers

Audio with QML - Unable to play a wav file

3 days I'm stuck with a tricky issue! I've built an image for my embedded device based on a Colibri T20 board, using Yocto. I"ve added Qt5, using X11 (because Tegra20 drivers from nvidia support hw accel only with X11...). At this point, everything…
Zyend
  • 572
  • 1
  • 4
  • 24
2
votes
2 answers

Adding text to existing item of QListWidget

So I wanted to add an additional text to my QListWidget list with code like this: for (int i = 0; i < ui->history->count(); i++ ) { ui->history->item(i)->text().append(QTime::currentTime().toString()); } This does not worked. I've qDebugged all…
2
votes
1 answer

QtQuick - make TableView update its rowCount after its model has changed

I have a TableView that I want to fill dynamically after it is created - i.e. I read a list of strings from my c++ app that I want to set as the model of the TableView. I use a ListModel for that, I fill it with no problems from the…
tomj
  • 1,089
  • 7
  • 17
2
votes
3 answers

Qt Slots and Signals. Get Slot Receiver Object

I have a QLineEdit which I Want to connect to a QLabel so that depending on the validity of the text entered. I have two problems while doing this. QLineEdit *text = new QLineEdit(this); layout->addWidget(text, rowno, 0); QLabel *button = new…
Vasundhara Mehta
  • 278
  • 2
  • 3
  • 16
2
votes
0 answers

Qt EvdevTouch plugin alterning coordinates

I have an embedded Qt application that used to be able to interface with my touch-screen just fine using the EvdevTouch plugin but for some reason it has now started to alter the coordinates received from the driver in a very strange fashion. In…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
2
votes
1 answer

How to access remote MySQL server using Qt5 on Linux?

I need some help in updating remote MySQL database using QT5.I am working on Linux Ubuntu 12.04.I want my app to connect to remote server and write some data to it.Any help will be greatly appreciated.
dilip yadav
  • 123
  • 1
  • 10
2
votes
1 answer

Qt reading XML structure

I am using Qt5.5, I want to read an XML file into memory maintaining the structure and attributes of the nodes and relationships. So far I've been using QXmlStreamReader, however this doesn't really do much and I cannot see any obvious way to build…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
2
votes
1 answer

All MDI windows are active

I am getting a weird issue. I have a few MDI windows in QMainWindow and catching windowStateChanged() in one of MDI to show/hide docking widget. Everything works fine here. But if I try to put one of that window to dock (not adding it to mdiArea())…
Aleksey Kontsevich
  • 4,671
  • 4
  • 46
  • 101
2
votes
0 answers

How to run a QT application in background mode?

I created an application that moves the mouse cursor using keys on keyboard, but when I minimize the window it doesn't work anymore. How to do it so that it works even if the app is minimized and even if I go to another virtual desktop?
Rattrap
  • 295
  • 4
  • 13
2
votes
2 answers

Segfault when accessing QApplication::arguments

While writing a program including qt for gui, I stumbled upon a problem, which can be reproduced with the minimum code below: #include #include #include using namespace std; int main(int argc, char ** argv) { …
Cthulhu
  • 1,379
  • 1
  • 13
  • 25
2
votes
2 answers

QTreeView usage example - how to add a subnode to an existing item?

I'm fairly new to Qt and therefor try to find out how things are working. Especially for QTreeView this seems to be quite difficult: the documentation and the example that come from Qt are (at least for me) more or less cryptic. I'd guess one will…
Elmi
  • 5,899
  • 15
  • 72
  • 143
2
votes
2 answers

libmediainfo: qt5 project undefined symbol errors

I am trying to use libmediainfo with my qt5 project and am getting the following error Undefined symbols for architecture x86_64: "MediaInfoLib::MediaInfo::Open(std::basic_string, std::allocator >…
Neal
  • 197
  • 1
  • 16
2
votes
0 answers

QToolTip::showText disappears after mouse relese

Inside a mousePressEvent I do QToolTip::showText(evt->globalPos(), "Test", this, rect(), 1000); But the tooltip disappears after releasing the mouse button. If I don't release it, the tooltip disappears after that 1000 msecs.
iBent
  • 392
  • 1
  • 2
  • 18
2
votes
2 answers

What is the most formal way to invoke C++ code in response to a QML button?

Using qt 5.5, qt quick controls 1.4 and the below qt creator boilerplate code: what is the most FORMAL way to invoke C++ code in response to a button (just debug text to screen)? // main cpp #include #include…
Raiden Core
  • 1,535
  • 12
  • 13