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 Windows Deployment: Application does not start

I have written a c++ application using Qt 5.5.1 compiled with msvc-12.0. Now I want to deploy the Application and I'm using the Qt Windows Deployment tool (windeployqt.exe). Using windeployqt produces a whole bunch of dlls that my application…
sundar
  • 456
  • 2
  • 7
  • 19
2
votes
1 answer

Qt 5.5 using C++, removing and item from ComboBox is removing all items before the item as well

Working on a program where 6 combobox's have relative data, once an index is selected, the others shouldn't be able to select it, hence I'm just removing it from the index on the others, however in practice it is removing the index plus every index…
StackAttack
  • 1,139
  • 1
  • 9
  • 15
2
votes
1 answer

Qt 5.5.1: Cannot find -lGL

I have developed an GUI application on Qt 5.3.1. I am using Qt Creator 3.1.2 (based on Qt 5.3.1) to build my GUI application and am able to build and deploy my application successfully. I wanted to update my qt creator and for that I have installed…
user12345
  • 661
  • 8
  • 34
2
votes
0 answers

How to change Default Build Directory Path via .pro file in QT for removing shadow builds

I am using Qt 5.5.1. I want to configure shadow build (on/off) via the .pro itself since there is an overhead of clicking the shadow build checkbox for each project. Please help me out if you have any solution for the same. I tried various ways to…
user3305763
  • 59
  • 10
2
votes
0 answers

Why am I getting many "RemoteHostClosedError" sending a POST over HTTP?

I am trying to interact with a virtual reality software, NeuroVR. This software has a HTTP server and the user can send data through it. The server can be accessed by the localhost:8888. If access over a browser, there is a form to submit data.…
ANSantana
  • 33
  • 5
2
votes
1 answer

What is the correct way to "stop / shutdown" a QNetworkAccessManager?

I have a QNetworkAccessManager . Let's assume I have a pending request: QNetworkRequest request(url); this->m_networkManager->get(request) Can I shutdown the QNetworkAccessManager at any time? I am asking because I see a write access violation…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
2
votes
1 answer

What is ForwardRenderer in Qt 5.5's Qt3D examples?

Assimp example of Qt3d of Qt 5.5 uses ForwardRenderer. I copied the code, and in main.qml QtCreator shows red line under that name indicating unknown component. Clicking on that word does not take me anywhere. The program is compiling without any…
CoffeeDay
  • 203
  • 1
  • 11
2
votes
1 answer

Qt 5.5 with QOpenGLWidget, invisible triangle in core profile

I have trouble porting the hello triangle from I'm used to do outside of Qt with Glew and GLFW, into Qt 5.5 and the QOpenGlWidget, with the "new" way with things like QSurfaceFormat, QOpenGLfunctions, QOpenGLShaderProgram with Core profile and…
Wall-E
  • 623
  • 5
  • 17
2
votes
1 answer

what's wrong with setSectionResizeMode in qt?

I have used qt 5.1.1 for 2 years on Ubuntu. now I install qt 5.5 on it. (I mean both versions are exist on my Ubuntu) actually this version of Qt framework doesn't work as good as the older one. so I want to use qt 5.1.1 . The problem is here that…
s.m
  • 209
  • 2
  • 7
  • 17
2
votes
0 answers

Debugging C++ in QT creator 3.5.1 and QT 5.5.1

I am trying to debug a very simple C++ code in QT creator 5.5. I have installed MinGW compiler on my Windows 7 machine. Then in the kit for compiler I have chosen MinGW, I set the compiler path as: C:\Program…
TJ1
  • 7,578
  • 19
  • 76
  • 119
2
votes
1 answer

QT Cannot include file QtWebKitWidgets : No such file or directory

In .pro file I have the line: QT += core gui webkitwidgets and: #include But I get: error: C1083: Cannot open include file: 'QtWebKitWidgets': No such file or directory Answers to similar questions on Stackoverflow did not help.…
Good
  • 306
  • 1
  • 17
2
votes
0 answers

Load Unity3D scene on a Qt window

Good evening, In my current project i'm developing a simulator application based on a Qt 5.5 GUI. I want to simulate a 3d world generated by Unity based on orders to the engine from the Qt application. In other words, how could I integrate Unity…
David
  • 27
  • 7
2
votes
1 answer

QT 5.5.1 removed -universal option: no way of creating universal binaries on MAC

Why is -universal option removed from ./configure script? How do i create universal binary from source? I am able to create 32-bit and 64-bit frameworks separately as follows: 1) 64-bit QT framework #Choose platform from qtbase/mkspecs/ ./configure…
JamesWebbTelescopeAlien
  • 3,547
  • 2
  • 30
  • 51
2
votes
1 answer

display text in tableviewcolumn in treeView QtQuick controls 1.4

Im trying to create a simple treeView appeared in Qt 5.5 , the problem is that the text in items of the tree doesn't display, despite the model is full. There is my code : TreeViewPM.qml Qt Code: Switch view import QtQuick 2.2 import…
2
votes
1 answer

Creating a custom QML Button with native look and feel

I would like to create a custom Button by defining my own QML type. This Button type should contain two text fields, one with a single character of a symbol font and the other one the actual button text. That's simple, but how could I use the…
Phidelux
  • 2,043
  • 1
  • 32
  • 50