Questions tagged [qt5.6]

Qt 5.6 is the LTS version of Qt released March 16, 2016. Tag this only for the issues specific for Qt 5.6 and not for other versions.

Qt 5.6 is long-term support (LTS) release - it will be supported for 3 years.

Qt 5.6 has been released March 16, 2016.

New features list can be found here.

Here is Qt 5.6 release plan.

144 questions
56
votes
4 answers

How to get NFC working on Android using Qt 5.6

I'm trying to read NFC tags on my Android phone using the NFC module of Qt. According to this page, Qt will support NFC on Android starting from version 5.6. This version hasn't been released yet, so I built it from source, following the…
Pat
  • 1,726
  • 11
  • 18
25
votes
3 answers

How to use MinGW-64 with Qt Creator

I am aware that there are many post about this, but I honestly didn't understood any of it. So, how do I install a kit for my Qt Creator (open source 5.7)? I already downloaded and installed MSYS2.... don't know what to do with it. I already…
andseg
  • 658
  • 1
  • 9
  • 26
25
votes
4 answers

Error on execution -version `Qt_5' not found required by

On execution of eiskaltdc++ on ubuntu 15.10 ,I get the following error: eiskaltdcpp-qt: /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5: version `Qt_5' not found (required by eiskaltdcpp-qt) eiskaltdcpp-qt: /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5:…
feminkk
  • 1,135
  • 2
  • 14
  • 18
16
votes
1 answer

Style sheets / Qt Designer support for high dpi screens?

Today I have ported my application from Qt5.5 to Qt5.6RC. Running it on my high dpi screen the widgets appeared tiny. After reading this and setting QT_AUTO_SCREEN_SCALE_FACTOR to "1" at least it is usable again. However they say: In the longer…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
14
votes
6 answers

Is there a shorter way to initialize a QByteArray?

In my program I work a lot with serial communication so QByteArray is used very often. I was wondering if there was a shorter way to initialize a QByteArray with specific bytes than: const char test_data[] = { static_cast(0xB1),…
DBedrenko
  • 4,871
  • 4
  • 38
  • 73
10
votes
2 answers

How qml call static method from c++

What I done: validator.h: class UTILSSHARED_EXPORT Validator: public QObject { Q_OBJECT public: Validator(QObject *parent = 0); ~Validator(); Q_INVOKABLE static bool validateMobile(const QString target); }; main.cpp:…
WhatAKitty
  • 338
  • 1
  • 5
  • 17
10
votes
3 answers

Building Qt5.6 or Qt5.7 on Raspberry Pi3 or/and Pi zero

Is there a working guide on how to get Qt5.6 or even 5.5 built on the Raspberry Pi3? I've found a number of guides on Wiki, that all seem incomplete in some way, the last one I tried was: https://wiki.qt.io/RaspberryPi2EGLFS Which was ok until I got…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
9
votes
3 answers

Qt 5.6 Beta Visual Studio 2015

I have installed this http://download.qt.io/development_releases/qt/5.6/5.6.0-beta/qt-opensource-windows-x86-msvc2015-5.6.0-beta.exe.mirrorlist And tried it using this extension on…
SwodniwS
  • 103
  • 1
  • 5
8
votes
2 answers

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"

I'm trying to execute QCamera example on Ubuntu, Qt 5.6. "The camera service is missing" message observed. defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
shevv
  • 81
  • 1
  • 2
8
votes
1 answer

Installing Qt 5.6: Which components should I choose?

I'm planning to start learning Qt (I have no previous knowledge) so I've downloaded the latest stable web installer for Windows and Linux (I've got to machines), following the directions of the Windows's wizard I got to the "Select Components" step…
Anon Dev
  • 1,361
  • 3
  • 14
  • 29
7
votes
1 answer

How to properly save window state in QML

I read the Qt Documentations, I checked out a couple examples provided with the SDK, I build Qt Creator from source to see how the Qt devs do it...still no luck. I am developing a cross platform application for Windows and Mac. On the Mac side I can…
Silex
  • 2,583
  • 3
  • 35
  • 59
6
votes
1 answer

Adjust ColumnLayout when a Repeater's delegate height changes

I've set up a file called test1.qml with the following contents: import QtQuick 2.6 import QtQuick.Layouts 1.3 Rectangle { width: 800; height: 1000; ColumnLayout { anchors.centerIn: parent // Header goes here …
Knute Knudsen
  • 1,049
  • 1
  • 12
  • 24
6
votes
1 answer

Why do I not see the drop indicator in a QTableView?

I use drag and drop in my QTableView (works). However, I do not see any drop indicator. I should see a line where the drop is supposed to be inserted, shouldn't I? At least here they say so. My init is pretty much standard. // see model for…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
6
votes
1 answer

Qt5.6: high DPI support and OpenGL (OpenSceneGraph)

I have a minimal application which uses QOpenGLWidget that integrates an OpenGL wrapper library (OpenSceneGraph). I am trying to figure out how to correctly use the Qt5.6 support for high DPI screens when dealing with OpenGL content like I use. My…
vicrucann
  • 1,703
  • 1
  • 24
  • 34
6
votes
1 answer

Check which OpenGL engine is used by Qt at runtime for release builds

In QML applications there are 3 rendering types: Native OpenGL: "desktop" ANGLE Direct3D: "angle" A software renderer: "software" We use the automatic loading mechanism of the supported type. How can I programmatically determine which rendering…
Simon Warta
  • 10,850
  • 5
  • 40
  • 78
1
2 3
9 10