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
1
vote
1 answer

Is there a way to set the linear gradient stepwith in QML

I use a linear gradient to colorize a rectangle. On my Display (480px, EGLFS) i can clearly see 16 color-steps (see picture). Is there a way to increase the number of steps to have a more fluid gradient. bad gradient Rectangle { width: 800 …
Mat
  • 11
  • 2
1
vote
1 answer

qupzilla compile error in yocto krogoth version

When I compile qupzilla 2.0 supports qt5.6 base its giving below error. Project MESSAGE: Using following defines: | Project MESSAGE: QUPZILLA_SHAREDLIBRARY QUPZILLA_VERSION=\"2.0.2\" QT_NO_URL_CAST_FROM_STRING QT_USE_QSTRINGBUILDER …
yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36
1
vote
1 answer

Qt Application becomes windows-old styled after build on a buildbot

I started the migration from Qt 5.6 to 5.10.1 and faced with this problem. On 5.6 ver the style was "windowsvista" and all works well. Now it looks like Qt can't detect this one and use "windows" style. Moreover, on my PC, the build of 5.10.1…
1
vote
1 answer

How to set FileDialog's folder from a UNC path in QML?

I want to store the last used folder in a file dialog in qml (using Qt version 5.6). The way I do it is through QSettings that has a url property lastUsedFolder as such: ///////////// /// myApp.qml ///////////// import QtQuick 2.3 import…
tomj
  • 1,089
  • 7
  • 17
1
vote
1 answer

embedding qquickwindow inside qwidget

how to embed qquickwindow into qwidget ? my code is like this one: mainwindow.cpp #include "mainwindow.h" #include #include #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) :…
user3453753
  • 357
  • 4
  • 15
1
vote
1 answer

Qt Creator 5.6 how to speed up compilation with large number (3000+) of widgets in one project

I'm implementing a qt windows desktop app which has 30+ views. I use a QStackedwidget with 100+ pages in it. And each page contains 100+ QWdiget. Now, when I compile my project, Qt Creator 5.6 (with jom/msvc2013) takes 30+ minutes on my MacBook Pro…
ricky
  • 2,058
  • 4
  • 23
  • 49
1
vote
2 answers

QSslCertificate how to get public Key as displayed in Windows

The public key of a given certificate as displayed by Windows when looking at the certificate details in Chrome differs from what Qt returns in a slot connected to the encrypted signal. auto onEncrypt = [](QNetworkReply* rpl) { auto cert =…
Phoenix
  • 171
  • 2
  • 15
1
vote
1 answer

qt androidextras getMemoryInfo MemoryInfo availMem object field crash from c++

How to call getMemoryInfo from c++ qt 5.6 android? Im not sure about casting from java/lang/Object to android/app/ActivityManager when calling getSystemService api, but I get valid QAndroidJniObject btw. Here is my code so…
user3453753
  • 357
  • 4
  • 15
1
vote
0 answers

PySide2 QtGui.QDesktopServices.openUrl() Error on macOS Seirra

I am Following the steps from PySide2 with Qt5.6 to install PySide2 on macOS sierra 10.12.2. because installing PySide2 through Home-brew is failing. Building and installing the PySide2 works fine. The problem is while importing the class…
Rahul.Shikhare
  • 179
  • 1
  • 16
1
vote
0 answers

Calculate shadow map for te

I have a problem when trying to generate shadow map from the terrain map from my data. I already success to use lighting procedure like show in picture below (directional lighting, azimuth:180', elevation:90'). Eventually I need to apply more…
zufryy
  • 177
  • 2
  • 10
1
vote
0 answers

How to Build Qt to Cross Compile for Raspberry Pi3 on Windows

I have been trying to build qt for raspberry pi3 on windows for 6 months. I have tried lots of tutorials, read lots of forums but there is no successful result. I can build qt on ubuntu 14.04 in virtualbox by following RaspberryPi2EGLFS, it has some…
MIrchhh
  • 19
  • 1
  • 5
1
vote
1 answer

Qt graphic obscured by another, but still causes paint update

I'm using Qt5.6, I have QWidget graphic objects rendered and when other graphics are rendered in front of others this seems to trigger updates of the graphics under the graphics in front. This creates overhead, I would like to determine if the…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
1
vote
3 answers

QWidget background transparent

I have a widget in the main window, the widget has the following styles: background-color:#ffeeeeee;width:100%;height:100%; It is set-up to widget layout and controls auto size to fill the geometry of the widget, but the background of the…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
1
vote
1 answer

Control QLoggingCategory in PyQt 5.6

Some log output from Qt is controlled by the category logging (eg. The JavaScript console output on QWebEnginePage). The QLoggingCategory in C++ can be used for that, but there isn't the same class in PyQt5. Is there any way to control the category…
Licht Takeuchi
  • 103
  • 1
  • 6
1
vote
0 answers

QSqlDatabase: QMYSQL driver not loaded on Xubuntu 16.04 64bits

I'm trying to follow the answer given in QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits on Xubuntu 16.04, where: # ls /usr/lib/x86_64-linux-gnu/libmysql* -ls 5624 -rw-r--r-- 1 root root 5757198 Abr 21 10:30…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136